From: Kenneth Graunke Date: Tue, 2 Oct 2018 17:09:26 +0000 (-0700) Subject: iris: actually set image access X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98e8f80e7d0a7b387f5202ed9c1562f43157d6f8;p=mesa.git iris: actually set image access --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 51abda759ee..e8a529c7ccc 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1537,6 +1537,8 @@ iris_set_shader_images(struct pipe_context *ctx, if (img->shader_access & PIPE_IMAGE_ACCESS_READ) isl_format = isl_lower_storage_image_format(devinfo, isl_format); + shs->image[start_slot + i].access = img->shader_access; + if (res->base.target != PIPE_BUFFER) { struct isl_view view = { .format = isl_format,