summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ast.h
diff options
context:
space:
mode:
authorAndres Gomez <[email protected]>2016-10-07 01:52:08 +0300
committerAndres Gomez <[email protected]>2016-11-25 13:18:30 +0200
commit93f90d7795ba414c01ab6fe905f8b3f61eeaf7ef (patch)
tree000792678a152e6810f6f4573860c447aeeb48c3 /src/compiler/glsl/ast.h
parentbe54a58da3ee5485d18c04e1ccc0a1c6137a46a3 (diff)
glsl: simplified ast_type_qualifier::merge_into_[in|out]_qualifier API
Since we modified the way in which multiple repetitions of the same layout-qualifier-name in a single declaration collapse into the ast_type_qualifier class, we can simplify the merge_into_[in|out]_qualifier APIs through removing the create_node parameter. Reviewed-by: Timothy Arceri <[email protected]> Signed-off-by: Andres Gomez <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast.h')
-rw-r--r--src/compiler/glsl/ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/ast.h b/src/compiler/glsl/ast.h
index 7bbb58800a7..e40387b8f65 100644
--- a/src/compiler/glsl/ast.h
+++ b/src/compiler/glsl/ast.h
@@ -767,7 +767,7 @@ struct ast_type_qualifier {
*/
bool merge_into_out_qualifier(YYLTYPE *loc,
_mesa_glsl_parse_state *state,
- ast_node* &node, bool create_node);
+ ast_node* &node);
/**
* Validate current qualifier against the global in one.
@@ -780,7 +780,7 @@ struct ast_type_qualifier {
*/
bool merge_into_in_qualifier(YYLTYPE *loc,
_mesa_glsl_parse_state *state,
- ast_node* &node, bool create_node);
+ ast_node* &node);
bool validate_flags(YYLTYPE *loc,
_mesa_glsl_parse_state *state,