From: Brian Paul Date: Wed, 21 Jul 2010 14:08:12 +0000 (-0600) Subject: gallivm: rename a var to avoid compiler warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec0e7b16bb6753bedbd611a97062934bfca03aa7;p=mesa.git gallivm: rename a var to avoid compiler warnings --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index 3515d268f84..994bc537ce8 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -463,10 +463,10 @@ static LLVMValueRef emit_fetch( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, - unsigned index, + unsigned src_op, const unsigned chan_index ) { - const struct tgsi_full_src_register *reg = &inst->Src[index]; + const struct tgsi_full_src_register *reg = &inst->Src[src_op]; const unsigned swizzle = tgsi_util_get_full_src_register_swizzle(reg, chan_index); LLVMValueRef res;