From 98e8f80e7d0a7b387f5202ed9c1562f43157d6f8 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 2 Oct 2018 10:09:26 -0700 Subject: [PATCH] iris: actually set image access --- src/gallium/drivers/iris/iris_state.c | 2 ++ 1 file changed, 2 insertions(+) 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, -- 2.30.2