diff options
author | Timothy Arceri <[email protected]> | 2016-03-05 12:16:22 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-03-31 12:49:55 +1100 |
commit | 13f6c788ebc4f9969d2d12c1a8ba64fdcf5dc12e (patch) | |
tree | ce5a9ca03a4948d0b27e14d25a4444f9a3aaf69f /src/compiler/glsl/ast.h | |
parent | 52caeee7e78c2bed0329dcb7a5984826fa5960a6 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast.h')
-rw-r--r-- | src/compiler/glsl/ast.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/glsl/ast.h b/src/compiler/glsl/ast.h index 9f46340e6e2..b144e24de88 100644 --- a/src/compiler/glsl/ast.h +++ b/src/compiler/glsl/ast.h @@ -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 */ |