diff options
author | Dave Airlie <[email protected]> | 2012-09-15 13:00:35 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-09-15 18:02:20 +1000 |
commit | 0b45bd146ad140ba982c27ba4c50c121a8bafe59 (patch) | |
tree | e5d074df8c7b4f58c11cdbc3eedc84835ab6db37 /src/mesa/program/ir_to_mesa.cpp | |
parent | 6f3deeae96efaac246c1e689d960cf1ac5863f2a (diff) |
ir_to_mesa: make some global variable static
nothing outside this file uses these.
Reviewed-by: Matt Turner <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/program/ir_to_mesa.cpp')
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index c9c6db1c73a..4991a551cab 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -325,11 +325,11 @@ public: void *mem_ctx; }; -src_reg undef_src = src_reg(PROGRAM_UNDEFINED, 0, NULL); +static src_reg undef_src = src_reg(PROGRAM_UNDEFINED, 0, NULL); -dst_reg undef_dst = dst_reg(PROGRAM_UNDEFINED, SWIZZLE_NOOP); +static dst_reg undef_dst = dst_reg(PROGRAM_UNDEFINED, SWIZZLE_NOOP); -dst_reg address_reg = dst_reg(PROGRAM_ADDRESS, WRITEMASK_X); +static dst_reg address_reg = dst_reg(PROGRAM_ADDRESS, WRITEMASK_X); static int swizzle_for_size(int size) |