lavapipe: propagate shader access info across libraries
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 26 Sep 2022 19:22:35 +0000 (15:22 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 26 Sep 2022 20:16:18 +0000 (20:16 +0000)
cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18827>

src/gallium/frontends/lavapipe/lvp_pipeline.c

index a6b5eb3..31f2ce8 100644 (file)
@@ -772,6 +772,7 @@ lvp_graphics_pipeline_init(struct lvp_pipeline *pipeline,
             pipeline->line_rectangular = p->line_rectangular;
             pipeline->last_vertex = p->last_vertex;
             memcpy(&pipeline->stream_output, &p->stream_output, sizeof(p->stream_output));
+            memcpy(&pipeline->access, &p->access, sizeof(p->access));
          }
          if (p->stages & VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_SHADER_BIT_EXT)
             pipeline->force_min_sample = p->force_min_sample;