aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compiler/glsl/glsl_parser.yy2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser.yy b/src/compiler/glsl/glsl_parser.yy
index 09e346da164..3885688d9b8 100644
--- a/src/compiler/glsl/glsl_parser.yy
+++ b/src/compiler/glsl/glsl_parser.yy
@@ -2859,6 +2859,7 @@ layout_in_defaults:
merge_in_qualifier(& @1, state, $1, $$, false)) {
YYERROR;
}
+ $$ = $2;
}
}
| layout_qualifier IN_TOK ';'
@@ -2883,6 +2884,7 @@ layout_out_defaults:
merge_out_qualifier(& @1, state, $1, $$, false)) {
YYERROR;
}
+ $$ = $2;
}
}
| layout_qualifier OUT_TOK ';'