glsl: make tex_opcode_strs static
authorDave Airlie <airlied@gmail.com>
Sat, 15 Sep 2012 03:14:02 +0000 (13:14 +1000)
committerDave 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

index f59cdd29ab8a98722cbf8054e39a03765207bd10..1c7aadacabf2a3bd99c7554301034659f726d69b 100644 (file)
@@ -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()
 {