diff options
Diffstat (limited to 'src/compiler/glsl/ir_uniform.h')
-rw-r--r-- | src/compiler/glsl/ir_uniform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_uniform.h b/src/compiler/glsl/ir_uniform.h index 9841df8cde1..9545c4930c7 100644 --- a/src/compiler/glsl/ir_uniform.h +++ b/src/compiler/glsl/ir_uniform.h @@ -107,6 +107,11 @@ struct gl_uniform_storage { struct gl_opaque_uniform_index opaque[MESA_SHADER_STAGES]; /** + * Mask of shader stages (1 << MESA_SHADER_xxx) where this uniform is used. + */ + unsigned active_shader_mask; + + /** * Storage used by the driver for the uniform */ unsigned num_driver_storage; |