mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
ir_to_mesa: make some global variable static
nothing outside this file uses these. Reviewed-by: Matt Turner <mattst88@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
6f3deeae96
commit
0b45bd146a
1 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue