diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/glsl_parser.yy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy index 381fa2b5289..ffaf0f3344b 100644 --- a/src/glsl/glsl_parser.yy +++ b/src/glsl/glsl_parser.yy @@ -1375,7 +1375,7 @@ type_qualifier: } $$ = $1; - $$.flags.i |= $2.flags.i; + $$.merge_qualifier(&@1, state, $2); } | layout_qualifier type_qualifier { @@ -1398,7 +1398,7 @@ type_qualifier: } $$ = $1; - $$.flags.i |= $2.flags.i; + $$.merge_qualifier(&@1, state, $2); } | storage_qualifier type_qualifier { @@ -1416,7 +1416,7 @@ type_qualifier: } $$ = $1; - $$.flags.i |= $2.flags.i; + $$.merge_qualifier(&@1, state, $2); } ; |