gallivm: rename a var: s/val/array_size/
authorBrian Paul <brianp@vmware.com>
Wed, 19 May 2010 19:26:11 +0000 (13:26 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 20 May 2010 16:27:12 +0000 (10:27 -0600)
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c

index d6e1c478be9b3d470a9a9b5161cbdfdbbc57f859..40ea94c493537f4838c94d0f80eefd8ec68fcf69 100644 (file)
@@ -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,