diff options
author | Matt Turner <[email protected]> | 2013-08-15 11:05:57 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-08-21 22:47:02 -0700 |
commit | 1a45db97058d63b742993d0fcf0e5df44e2aa1c6 (patch) | |
tree | 93ce3506647faa94593467d8f55f6c34bc3323f0 /src/glsl/glsl_parser.yy | |
parent | 9d08756ac7d27b5a392d17c2a91a55cec6edab5d (diff) |
glsl: Rename ubo_qualifiers_valid to ubo_qualifiers_allowed.
The variable means that UBO qualifiers are allowed in a particular
context (e.g., not allowed in a struct field declaration), rather than a
particular set of UBO qualifiers are valid.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser.yy')
-rw-r--r-- | src/glsl/glsl_parser.yy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy index e3a57ea0251..0ed34538bc9 100644 --- a/src/glsl/glsl_parser.yy +++ b/src/glsl/glsl_parser.yy @@ -2295,7 +2295,7 @@ member_declaration: $$ = new(ctx) ast_declarator_list(type); $$->set_location(yylloc); - $$->ubo_qualifiers_valid = true; + $$->ubo_qualifiers_allowed = true; $$->declarations.push_degenerate_list_at_head(& $2->link); } |