summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r--src/glsl/ast.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index fcc6b4566ce..3a61f79d71a 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -857,4 +857,8 @@ _mesa_ast_field_selection_to_hir(const ast_expression *expr,
void
emit_function(_mesa_glsl_parse_state *state, ir_function *f);
+extern bool
+check_builtin_array_max_size(const char *name, unsigned size,
+ YYLTYPE loc, struct _mesa_glsl_parse_state *state);
+
#endif /* AST_H */