summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_context.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-07-24 15:54:00 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:07 -0800
commit2d5f545464d9808ed545974cad6a4b60fb786bee (patch)
treec629d544e81e81e94fafd2eae0098fcc7d4d60fc /src/gallium/drivers/iris/iris_context.h
parent541cb60e7ed8543cd7f791a35f106115884f4a53 (diff)
iris: implement set_shader_buffers
for SSBOs/ABOs. We just stream out SURFACE_STATE for now...since it's a set_* API...and the buffer offset may change...not sure where else we'd do it.
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r--src/gallium/drivers/iris/iris_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h
index 3c3c1bd65d0..dd77fda2d59 100644
--- a/src/gallium/drivers/iris/iris_context.h
+++ b/src/gallium/drivers/iris/iris_context.h
@@ -210,6 +210,8 @@ struct iris_const_buffer {
struct iris_shader_state {
struct iris_const_buffer constbuf[PIPE_MAX_CONSTANT_BUFFERS];
+ struct pipe_resource *ssbo[PIPE_MAX_SHADER_BUFFERS];
+ struct iris_state_ref ssbo_surface_state[PIPE_MAX_SHADER_BUFFERS];
};
struct iris_vtable {