summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_context.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-04-22 11:27:37 -0700
committerKenneth Graunke <[email protected]>2019-04-23 00:24:08 -0700
commitb45dff1da80c72521235fbf6d1862c13b0fa54d6 (patch)
tree75981b44424fa46e1feb53da833d7613c168c8ab /src/gallium/drivers/iris/iris_context.h
parent2f60850a3f656a053d38384c0ece97e02e3105a0 (diff)
iris: Rework image views to store pipe_image_view.
This will be useful when rebinding images.
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r--src/gallium/drivers/iris/iris_context.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h
index df6531710d2..1b69b256947 100644
--- a/src/gallium/drivers/iris/iris_context.h
+++ b/src/gallium/drivers/iris/iris_context.h
@@ -299,14 +299,7 @@ struct iris_shader_state {
struct iris_state_ref ssbo_surf_state[PIPE_MAX_SHADER_BUFFERS];
/** Shader Storage Images (image load store) */
- struct {
- struct pipe_resource *res;
- struct iris_state_ref surface_state;
- unsigned access;
-
- /** Gen8-only uniform data for image lowering */
- struct brw_image_param param;
- } image[PIPE_MAX_SHADER_IMAGES];
+ struct iris_image_view image[PIPE_MAX_SHADER_IMAGES];
struct iris_state_ref sampler_table;
struct iris_sampler_state *samplers[IRIS_MAX_TEXTURE_SAMPLERS];