diff options
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_context.h')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_context.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_context.h b/src/gallium/drivers/virgl/virgl_context.h index e8d65c6e97b..d13f9e8a521 100644 --- a/src/gallium/drivers/virgl/virgl_context.h +++ b/src/gallium/drivers/virgl/virgl_context.h @@ -57,6 +57,9 @@ struct virgl_shader_binding_state { struct pipe_constant_buffer ubos[PIPE_MAX_CONSTANT_BUFFERS]; uint32_t ubo_enabled_mask; + + struct pipe_shader_buffer ssbos[PIPE_MAX_SHADER_BUFFERS]; + uint32_t ssbo_enabled_mask; }; struct virgl_context { @@ -83,7 +86,6 @@ struct virgl_context { struct virgl_so_target so_targets[PIPE_MAX_SO_BUFFERS]; unsigned num_so_targets; - struct pipe_resource *ssbos[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_BUFFERS]; struct pipe_resource *images[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_BUFFERS]; uint32_t num_draws, num_compute; |