summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_to_hir.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-03-15 14:09:00 -0700
committerIan Romanick <[email protected]>2013-04-08 15:17:05 -0700
commitcd39ae73944333690d72c4356ac45675fecef958 (patch)
tree6ee89d920f350934a23df18aabc0ee2ba2e3d3ae /src/glsl/ast_to_hir.cpp
parentca9a7d975af228cabb79c3040ec67f26f94f90a2 (diff)
glsl: Make check_build_array_max_size externally visible
A future commit will try to use this function in a different file. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ast_to_hir.cpp')
-rw-r--r--src/glsl/ast_to_hir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 92065f5b730..c9d00b1a63c 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -904,7 +904,7 @@ get_scalar_boolean_operand(exec_list *instructions,
* If name refers to a builtin array whose maximum allowed size is less than
* size, report an error and return true. Otherwise return false.
*/
-static bool
+bool
check_builtin_array_max_size(const char *name, unsigned size,
YYLTYPE loc, struct _mesa_glsl_parse_state *state)
{