projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b10d81
)
glsl: make tex_opcode_strs static
author
Dave Airlie
<airlied@gmail.com>
Sat, 15 Sep 2012 03:14:02 +0000
(13:14 +1000)
committer
Dave Airlie
<airlied@gmail.com>
Sat, 15 Sep 2012 08:03:24 +0000
(18:03 +1000)
No reason for this to be global from what I can see
Reviewed-by: Matt Turner <mattst88@gmail.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glsl/ir.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir.cpp
b/src/glsl/ir.cpp
index f59cdd29ab8a98722cbf8054e39a03765207bd10..1c7aadacabf2a3bd99c7554301034659f726d69b 100644
(file)
--- a/
src/glsl/ir.cpp
+++ b/
src/glsl/ir.cpp
@@
-1282,7
+1282,7
@@
ir_dereference::is_lvalue() const
}
-const char *tex_opcode_strs[] = { "tex", "txb", "txl", "txd", "txf", "txs" };
+
static
const char *tex_opcode_strs[] = { "tex", "txb", "txl", "txd", "txf", "txs" };
const char *ir_texture::opcode_string()
{