Mesa (master): gallivm: rename a var: s/val/array_size/
Brian Paul
brianp at kemper.freedesktop.org
Thu May 20 16:28:12 UTC 2010
Module: Mesa
Branch: master
Commit: 846b2fccc2a67b08acc6da51f4970fe66ed4559b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=846b2fccc2a67b08acc6da51f4970fe66ed4559b
Author: Brian Paul <brianp at vmware.com>
Date: Wed May 19 13:26:11 2010 -0600
gallivm: rename a var: s/val/array_size/
---
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index d6e1c47..40ea94c 100644
--- 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,
More information about the mesa-commit
mailing list