projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
softpipe: Silence uninitialized variable warnings.
[mesa.git]
/
src
/
gallium
/
drivers
/
softpipe
/
sp_tex_sample.c
diff --git
a/src/gallium/drivers/softpipe/sp_tex_sample.c
b/src/gallium/drivers/softpipe/sp_tex_sample.c
index 824d8d12b025e7c3d914d33a849f7d8fa9a4b6b5..ecd6b39863c7ac4c4f121e1176cf3cb51f1245bc 100644
(file)
--- 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;
}
{