aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_state_cs.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-12-10 14:53:51 +1000
committerDave Airlie <[email protected]>2019-12-27 13:26:33 +1000
commit264663d55d321225a4962073ce4b7389d3d42287 (patch)
treedd679cf287d1260c042efd075bcc57c066af2687 /src/gallium/drivers/llvmpipe/lp_state_cs.h
parent9630c2ddd86de93405e2541525f4c40733cca806 (diff)
gallivm/llvmpipe: add support for global operations.
Acked-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_cs.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_cs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_cs.h b/src/gallium/drivers/llvmpipe/lp_state_cs.h
index 50f0856832b..8f11889d0ec 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_cs.h
+++ b/src/gallium/drivers/llvmpipe/lp_state_cs.h
@@ -89,6 +89,9 @@ struct lp_compute_shader {
unsigned no;
unsigned variants_created;
unsigned variants_cached;
+
+ int max_global_buffers;
+ struct pipe_resource **global_buffers;
};
struct lp_cs_exec {