projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b7914c
)
gallivm: rename a var: s/val/array_size/
author
Brian Paul
<brianp@vmware.com>
Wed, 19 May 2010 19:26:11 +0000
(13:26 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 20 May 2010 16:27:12 +0000
(10:27 -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 d6e1c478be9b3d470a9a9b5161cbdfdbbc57f859..40ea94c493537f4838c94d0f80eefd8ec68fcf69 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@
-953,10
+953,10
@@
emit_declaration(
case TGSI_FILE_TEMPORARY:
assert(idx < LP_MAX_TGSI_TEMPS);
if (bld->has_indirect_addressing) {
- LLVMValueRef
val
= LLVMConstInt(LLVMInt32Type(),
- last*4 + 4, 0);
+ LLVMValueRef
array_size
= LLVMConstInt(LLVMInt32Type(),
+
last*4 + 4, 0);
bld->temps_array = lp_build_array_alloca(bld->base.builder,
- vec_type,
val
, "");
+ vec_type,
array_size
, "");
} else {
for (i = 0; i < NUM_CHANNELS; i++)
bld->temps[idx][i] = lp_build_alloca(bld->base.builder,