glsl: move process_qualifier_constant() to ast_type.cpp
We will make use of this function being here in the following patch. Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -1205,4 +1205,10 @@ extern void _mesa_ast_process_interface_block(YYLTYPE *locp,
|
||||
ast_interface_block *const block,
|
||||
const struct ast_type_qualifier &q);
|
||||
|
||||
extern bool
|
||||
process_qualifier_constant(struct _mesa_glsl_parse_state *state,
|
||||
YYLTYPE *loc,
|
||||
const char *qual_indentifier,
|
||||
ast_expression *const_expression,
|
||||
unsigned *value);
|
||||
#endif /* AST_H */
|
||||
|
Reference in New Issue
Block a user