projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
260ec80
)
softpipe: Silence uninitialized variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Sun, 14 Feb 2010 06:51:34 +0000
(22:51 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 14 Feb 2010 06:51:34 +0000
(22:51 -0800)
src/gallium/drivers/softpipe/sp_tex_sample.c
patch
|
blob
|
history
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;
}
{