summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_info.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-13 15:18:53 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commit54095ed8b9c98701e1fe1e9f8332f9bb34ccdbfa (patch)
treef6e4449a82a3270f63160a50ddc4d0f618ad16b6 /src/compiler/shader_info.h
parent81faead818a0b2fde131df019f5dfb0baef49273 (diff)
compiler: add additional cs metadata fields to shader info
And copy values from GLSL. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r--src/compiler/shader_info.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index a44fcac2388..b4499006f86 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -118,6 +118,11 @@ typedef struct shader_info {
struct {
unsigned local_size[3];
+
+ /**
+ * Size of shared variables accessed by the compute shader.
+ */
+ unsigned shared_size;
} cs;
struct {