projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a07a17
)
svga: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Sat, 13 Feb 2010 06:33:37 +0000
(22:33 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 13 Feb 2010 06:33:37 +0000
(22:33 -0800)
src/gallium/drivers/svga/svgadump/svga_shader_dump.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svgadump/svga_shader_dump.c
b/src/gallium/drivers/svga/svgadump/svga_shader_dump.c
index d2bfb439f38e56d0b163efd2dcda634b9ea31dfd..705ca29e8f501b34d1ba48bd95f2bc00f4f6d27d 100644
(file)
--- a/
src/gallium/drivers/svga/svgadump/svga_shader_dump.c
+++ b/
src/gallium/drivers/svga/svgadump/svga_shader_dump.c
@@
-360,7
+360,7
@@
dump_dstreg(struct sh_dstreg dstreg,
union {
struct sh_reg reg;
struct sh_dstreg dstreg;
- } u;
+ } u
= { { 0 } }
;
assert( (dstreg.modifier & (SVGA3DDSTMOD_SATURATE | SVGA3DDSTMOD_PARTIALPRECISION)) == dstreg.modifier );