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 <timothy.arceri@collabora.com> Signed-off-by: Andres Gomez <agomez@igalia.com>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user