diff options
author | Timothy Arceri <[email protected]> | 2015-11-11 06:24:53 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-05-01 23:13:05 +1000 |
commit | 94438578d219d0f701a6324cf294ee23d102a978 (patch) | |
tree | 85a0dd6953381fa82e8f50d4ccf56a9bd6f750fe /src/compiler/glsl/ir.h | |
parent | 2d9936a6862b371adcb48dbda8d521a76ce18871 (diff) |
glsl: validate and store component layout qualifier in GLSL IR
We make use of the existing IR field location_frac used for tracking
component locations.
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir.h')
-rw-r--r-- | src/compiler/glsl/ir.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h index b1a1d5656d1..0c319ea8f27 100644 --- a/src/compiler/glsl/ir.h +++ b/src/compiler/glsl/ir.h @@ -703,6 +703,11 @@ public: unsigned explicit_binding:1; /** + * Was an initial component explicitly set in the shader? + */ + unsigned explicit_component:1; + + /** * Does this variable have an initializer? * * This is used by the linker to cross-validiate initializers of global |