projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b45bd1
)
glsl: make builtin_mem_ctx a static
author
Dave Airlie
<airlied@gmail.com>
Sat, 15 Sep 2012 03:02:51 +0000
(13:02 +1000)
committer
Dave Airlie
<airlied@gmail.com>
Sat, 15 Sep 2012 08:02:46 +0000
(18:02 +1000)
This isn't used outside the generated file.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glsl/builtins/tools/generate_builtins.py
patch
|
blob
|
history
diff --git
a/src/glsl/builtins/tools/generate_builtins.py
b/src/glsl/builtins/tools/generate_builtins.py
index 86660a9362c8d7463527d084a5e5e474ab0aa80e..9dc3279dfcc3fa8a55938ec379f70139c247f472 100755
(executable)
--- a/
src/glsl/builtins/tools/generate_builtins.py
+++ b/
src/glsl/builtins/tools/generate_builtins.py
@@
-225,7
+225,7
@@
read_builtins(GLenum target, const char *protos, const char **functions, unsigne
print 'static gl_shader *builtin_profiles[%d];' % len(profiles)
print """
-void *builtin_mem_ctx = NULL;
+
static
void *builtin_mem_ctx = NULL;
void
_mesa_glsl_release_functions(void)