softpipe: Silence uninitialized variable warnings.
authorVinson Lee <vlee@vmware.com>
Sun, 14 Feb 2010 06:51:34 +0000 (22:51 -0800)
committerVinson Lee <vlee@vmware.com>
Sun, 14 Feb 2010 06:51:34 +0000 (22:51 -0800)
src/gallium/drivers/softpipe/sp_tex_sample.c

index 824d8d12b025e7c3d914d33a849f7d8fa9a4b6b5..ecd6b39863c7ac4c4f121e1176cf3cb51f1245bc 100644 (file)
@@ -1682,6 +1682,9 @@ sample_cube(struct tgsi_sampler *tgsi_sampler,
          break;
       default:
          assert(0 && "bad cube face");
+         sc = 0.0F;
+         tc = 0.0F;
+         ma = 0.0F;
       }
 
       {