projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4363d4d
)
gallivm: rename a var to avoid compiler warnings
author
Brian Paul
<brianp@vmware.com>
Wed, 21 Jul 2010 14:08:12 +0000
(08:08 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 21 Jul 2010 14:08:12 +0000
(08:08 -0600)
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 3515d268f8406880de00ae7189c4dd060f952613..994bc537ce8764b611a6cbf49f0c7e96629a5794 100644
(file)
--- 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;