glsl/nir: Fill in the Parameters in NIR linker
[mesa.git] / src / mesa / program / prog_parameter.h
index 94aeb5540b503d2f29a33f9985a51e330c1b1083..c91156f623c57c298ad613a56b2035e643d7e755 100644 (file)
@@ -112,6 +112,17 @@ struct gl_program_parameter
     * A sequence of STATE_* tokens and integers to identify GL state.
     */
    gl_state_index16 StateIndexes[STATE_LENGTH];
+
+   /**
+    * Index of this parameter's uniform storage.
+    */
+   uint32_t UniformStorageIndex;
+
+   /**
+    * Index of the first uniform storage that is associated with the same
+    * variable as this parameter.
+    */
+   uint32_t MainUniformStorageIndex;
 };