aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/ir_uniform.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/ir_uniform.h')
-rw-r--r--mesalib/src/glsl/ir_uniform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesalib/src/glsl/ir_uniform.h b/mesalib/src/glsl/ir_uniform.h
index 7508f795d..3508509d4 100644
--- a/mesalib/src/glsl/ir_uniform.h
+++ b/mesalib/src/glsl/ir_uniform.h
@@ -178,6 +178,12 @@ struct gl_uniform_storage {
* an atomic counter.
*/
int atomic_buffer_index;
+
+ /**
+ * The 'base location' for this uniform in the uniform remap table. For
+ * arrays this is the first element in the array.
+ */
+ unsigned remap_location;
};
#ifdef __cplusplus