[Mesa-dev] [PATCH 02/27] glsl: allow component qualifier on varying inputs

Timothy Arceri timothy.arceri at collabora.com
Thu Mar 31 10:57:37 UTC 2016


---
 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 30c9eff..de3fdcc 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.5.5



More information about the mesa-dev mailing list