llvmpipe: Remove dead initialization.
authorVinson Lee <vlee@vmware.com>
Sun, 18 Jul 2010 08:14:36 +0000 (01:14 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 18 Jul 2010 08:14:36 +0000 (01:14 -0700)
src/gallium/drivers/llvmpipe/lp_bld_interp.c

index 90d2b26f9f2fa81d549ab8e1c02c4a08a7d3776e..78744da500bc6495e61d697e5ce615b660323501 100644 (file)
@@ -261,7 +261,7 @@ attribs_update(struct lp_build_interp_soa_context *bld, int quad_index)
       const unsigned interp = bld->interp[attrib];
       for(chan = 0; chan < NUM_CHANNELS; ++chan) {
          if(mask & (1 << chan)) {
-            LLVMValueRef a = coeff_bld->undef;
+            LLVMValueRef a;
             if (interp == LP_INTERP_CONSTANT ||
                 interp == LP_INTERP_FACING) {
                a = bld->a[attrib][chan];