summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ast_type.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-03-05 19:55:34 +1100
committerTimothy Arceri <timothy.arceri@collabora.com>2016-05-01 23:13:00 +1000
commit2d9936a6862b371adcb48dbda8d521a76ce18871 (patch)
treeff4186895757ef95a93f4f34e2002580c85142e4 /src/compiler/glsl/ast_type.cpp
parentdaa8df590b68926c3fbde897ebae7d5f0a92bf45 (diff)
downloadexternal_mesa3d-2d9936a6862b371adcb48dbda8d521a76ce18871.zip
external_mesa3d-2d9936a6862b371adcb48dbda8d521a76ce18871.tar.gz
external_mesa3d-2d9936a6862b371adcb48dbda8d521a76ce18871.tar.bz2
glsl: allow component qualifier on varying inputs
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/compiler/glsl/ast_type.cpp')
-rw-r--r--src/compiler/glsl/ast_type.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/ast_type.cpp b/src/compiler/glsl/ast_type.cpp
index 6d23079..a695b48 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;