[Mesa-dev] [PATCH 05/25] compiler: add additional cs metadata fields to shader info
Timothy Arceri
timothy.arceri at collabora.com
Tue Oct 18 06:12:08 UTC 2016
---
src/compiler/shader_info.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index 502c7c8..66e06ad 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -114,6 +114,16 @@ typedef struct shader_info {
struct {
unsigned local_size[3];
+
+ /**
+ * Size of shared variables accessed by the compute shader.
+ */
+ unsigned shared_size;
+
+ /**
+ * Whether a variable work group size has been specified.
+ */
+ bool local_size_variable;
} cs;
struct {
--
2.7.4
More information about the mesa-dev
mailing list