diff options
author | Kenneth Graunke <[email protected]> | 2018-10-02 10:09:26 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:09 -0800 |
commit | 98e8f80e7d0a7b387f5202ed9c1562f43157d6f8 (patch) | |
tree | eb35c37c2bc60e40d266cbf4c85104c15e0dd8c5 /src | |
parent | d9aee25a466ba73a78a47e32f89777179e519931 (diff) |
iris: actually set image access
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |