summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_tex_sample.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-02-13 22:51:34 -0800
committerVinson Lee <vlee@vmware.com>2010-02-13 22:51:34 -0800
commit71e750f4822a1cdba24abf1fc48eabeeb77961f8 (patch)
tree8fbd1cb9ece89c9857415ba05eb70607107040b8 /src/gallium/drivers/softpipe/sp_tex_sample.c
parent260ec80f11561f2f9dbb2000d3e72b54b0fe91a5 (diff)
softpipe: Silence uninitialized variable warnings.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_tex_sample.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_tex_sample.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c
index 824d8d12b0..ecd6b39863 100644
--- a/src/gallium/drivers/softpipe/sp_tex_sample.c
+++ b/src/gallium/drivers/softpipe/sp_tex_sample.c
@@ -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;
}
{