diff options
author | Timothy Arceri <[email protected]> | 2016-03-05 19:55:34 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-05-01 23:13:00 +1000 |
commit | 2d9936a6862b371adcb48dbda8d521a76ce18871 (patch) | |
tree | ff4186895757ef95a93f4f34e2002580c85142e4 /src/compiler | |
parent | daa8df590b68926c3fbde897ebae7d5f0a92bf45 (diff) |
glsl: allow component qualifier on varying inputs
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/glsl/ast_type.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/ast_type.cpp b/src/compiler/glsl/ast_type.cpp index 6d230797ea7..a695b48d04a 100644 --- a/src/compiler/glsl/ast_type.cpp +++ b/src/compiler/glsl/ast_type.cpp @@ -146,6 +146,7 @@ ast_type_qualifier::merge_qualifier(YYLTYPE *loc, input_layout_mask.flags.q.centroid = 1; /* Function params can have constant */ input_layout_mask.flags.q.constant = 1; + input_layout_mask.flags.q.explicit_component = 1; input_layout_mask.flags.q.explicit_location = 1; input_layout_mask.flags.q.flat = 1; input_layout_mask.flags.q.in = 1; |