From: Dave Airlie Date: Sat, 15 Sep 2012 03:14:02 +0000 (+1000) Subject: glsl: make tex_opcode_strs static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14b4e727fbea0da506dd8117a43cca2585043fa9;p=mesa.git glsl: make tex_opcode_strs static No reason for this to be global from what I can see Reviewed-by: Matt Turner Acked-by: Kenneth Graunke Signed-off-by: Dave Airlie --- diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index f59cdd29ab8..1c7aadacabf 100644 --- 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() {