summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r--src/compiler/shader_info.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index 5b229130a11..ef195760acb 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -243,6 +243,15 @@ typedef struct shader_info {
* Size of shared variables accessed by the compute shader.
*/
unsigned shared_size;
+
+
+ /**
+ * pointer size is:
+ * AddressingModelLogical: 0 (default)
+ * AddressingModelPhysical32: 32
+ * AddressingModelPhysical64: 64
+ */
+ unsigned ptr_size;
} cs;
/* Applies to both TCS and TES. */