From 2d9936a6862b371adcb48dbda8d521a76ce18871 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Sat, 5 Mar 2016 19:55:34 +1100 Subject: [PATCH] glsl: allow component qualifier on varying inputs Reviewed-by: Edward O'Callaghan --- src/compiler/glsl/ast_type.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2