Commit 255c71ec authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

gallium: Make util_copy_image_view handle shader_access

A while back, we added a new field, but failed to update the copier.
I believe iris is the only current user of the new field, and it hasn't
used the copier, so noone noticed.

Fixes: 8b626a22

 st/mesa: Record shader access qualifiers for images
Reviewed-by: Timothy Arceri's avatarTimothy Arceri <>
parent 0d6fc6f0
Pipeline #45290 passed with stages
in 7 minutes and 42 seconds
......@@ -668,11 +668,13 @@ util_copy_image_view(struct pipe_image_view *dst,
pipe_resource_reference(&dst->resource, src->resource);
dst->format = src->format;
dst->access = src->access;
dst->shader_access = src->shader_access;
dst->u = src->u;
} else {
pipe_resource_reference(&dst->resource, NULL);
dst->format = PIPE_FORMAT_NONE;
dst->access = 0;
dst->shader_access = 0;
memset(&dst->u, 0, sizeof(dst->u));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment