diff options
author | Dave Airlie <[email protected]> | 2012-09-15 13:14:02 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-09-15 18:03:24 +1000 |
commit | 14b4e727fbea0da506dd8117a43cca2585043fa9 (patch) | |
tree | 7b357c9c429b43b5d23d938f4fd1766b6ab41056 /src | |
parent | 7b10d81fc82db96d642e7d3ea63ec22197ac25a6 (diff) |
glsl: make tex_opcode_strs static
No reason for this to be global from what I can see
Reviewed-by: Matt Turner <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |