diff options
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index 90230e8705a..bf0724b9a6a 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -169,10 +169,13 @@ struct iris_compiled_shader { uint8_t derived_data[0]; }; +struct iris_const_buffer { + struct pipe_resource *res; + unsigned offset; +}; + struct iris_shader_state { - struct pipe_constant_buffer constbuf[PIPE_MAX_CONSTANT_BUFFERS]; - struct pipe_resource *const_resources[PIPE_MAX_CONSTANT_BUFFERS]; - unsigned const_offset; + struct iris_const_buffer constbuf[PIPE_MAX_CONSTANT_BUFFERS]; }; struct iris_vtable { |