diff options
author | Dave Airlie <[email protected]> | 2012-09-15 13:14:27 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-09-15 18:03:30 +1000 |
commit | da86e62d3c582dc3a96e361692d876c956b1fd24 (patch) | |
tree | 1909e6ac559060f90d74ebc15290fbed12ba32a5 /src | |
parent | 14b4e727fbea0da506dd8117a43cca2585043fa9 (diff) |
mesa/ati_fragshader: no need for opcodes to be global.
I can't see these in use anywhere outside this file.
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/atifragshader.h | 2 | ||||
-rw-r--r-- | src/mesa/swrast/s_atifragshader.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/atifragshader.h b/src/mesa/main/atifragshader.h index 90ada212a01..86214d47389 100644 --- a/src/mesa/main/atifragshader.h +++ b/src/mesa/main/atifragshader.h @@ -25,8 +25,6 @@ struct ati_fs_opcode_st GLint num_src_args; }; -extern struct ati_fs_opcode_st ati_fs_opcodes[]; - struct atifragshader_src_register { GLuint Index; diff --git a/src/mesa/swrast/s_atifragshader.c b/src/mesa/swrast/s_atifragshader.c index 394fac50b66..e3b57b72c8e 100644 --- a/src/mesa/swrast/s_atifragshader.c +++ b/src/mesa/swrast/s_atifragshader.c @@ -237,7 +237,7 @@ finish_pass(struct atifs_machine *machine) } } -struct ati_fs_opcode_st ati_fs_opcodes[] = { +static struct ati_fs_opcode_st ati_fs_opcodes[] = { {GL_ADD_ATI, 2}, {GL_SUB_ATI, 2}, {GL_MUL_ATI, 2}, |