summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast.h
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <[email protected]>2015-09-03 09:47:56 +0200
committerSamuel Iglesias Gonsalvez <[email protected]>2015-09-25 08:39:21 +0200
commit9c1f10b1bc548a00482a0b6b789c4cdb12f5302e (patch)
treec0159c9fe19a74ca1ff6993b1c0347bfa1e63182 /src/glsl/ast.h
parent130031168de44e38e84000f279951ef70a99cb66 (diff)
glsl: ignore default qualifier declarations when checking for duplicate layout qualifiers
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r--src/glsl/ast.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index d8c6cea7832..335f426d418 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -639,6 +639,9 @@ struct ast_type_qualifier {
*/
glsl_base_type image_base_type;
+ /** Flag to know if this represents a default value for a qualifier */
+ bool is_default_qualifier;
+
/**
* Return true if and only if an interpolation qualifier is present.
*/