summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_context.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-07-17 17:24:29 +1000
committerDave Airlie <[email protected]>2018-07-24 05:54:21 +1000
commit958b57ac82549a662631ac2d2e2f1654178a8a42 (patch)
tree9b42836ddf8786577bd9958e9630cd534410d1d2 /src/gallium/drivers/virgl/virgl_context.h
parente4d346c86db0ae332fcdf55eac0e075cfb99a7eb (diff)
virgl: add initial shader_storage_buffer_object support. (v2)
This adds the guest side support for ARB_shader_storage_buffer_object. Co-authors: Gurchetan Singh <[email protected]> v2: move to using separate maximums (fixup macros) Reviewed-By: Gert Wollny <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_context.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_context.h b/src/gallium/drivers/virgl/virgl_context.h
index 3492dcfa494..5747654ea82 100644
--- a/src/gallium/drivers/virgl/virgl_context.h
+++ b/src/gallium/drivers/virgl/virgl_context.h
@@ -68,6 +68,8 @@ struct virgl_context {
unsigned num_so_targets;
struct pipe_resource *ubos[PIPE_SHADER_TYPES][PIPE_MAX_CONSTANT_BUFFERS];
+
+ struct pipe_resource *ssbos[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_BUFFERS];
int num_transfers;
int num_draws;
struct list_head to_flush_bufs;