summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/nir_spirv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/spirv/nir_spirv.h')
-rw-r--r--src/compiler/spirv/nir_spirv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compiler/spirv/nir_spirv.h b/src/compiler/spirv/nir_spirv.h
index f129a205764..eb7146cb89d 100644
--- a/src/compiler/spirv/nir_spirv.h
+++ b/src/compiler/spirv/nir_spirv.h
@@ -49,6 +49,14 @@ enum nir_spirv_debug_level {
};
struct spirv_to_nir_options {
+ /* Whether or not to lower all workgroup variable access to offsets
+ * up-front. This means you will _shared intrinsics instead of _var
+ * for workgroup data access.
+ *
+ * This is currently required for full variable pointers support.
+ */
+ bool lower_workgroup_access_to_offsets;
+
struct {
bool float64;
bool image_ms_array;