spirv: set variables to restrict by default
[mesa.git] / src / compiler / spirv / vtn_private.h
index 484ab853a821064b338e40b80b21c6db732ec815..059c94494a1ee201ac01c36fc5a8131dc3213e52 100644 (file)
@@ -685,6 +685,9 @@ struct vtn_builder {
 
    /* when a physical memory model is choosen */
    bool physical_ptrs;
+
+   /* memory model specified by OpMemoryModel */
+   unsigned mem_model;
 };
 
 nir_ssa_def *