OSDN Git Service
(root)
/
android-x86
/
external-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
d2bfb43
..
705ca29
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 );