projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ea452d
)
softpipe: Initialize source in blend_quad.
author
Vinson Lee
<vlee@vmware.com>
Sun, 13 Dec 2009 02:34:15 +0000
(18:34 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 13 Dec 2009 02:34:15 +0000
(18:34 -0800)
src/gallium/drivers/softpipe/sp_quad_blend.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_quad_blend.c
b/src/gallium/drivers/softpipe/sp_quad_blend.c
index b1e18805c706bf8912913d60ab6b343863e90d11..43ed4c2494f32d3d0f07c0a5d2a2388812be1a8e 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_quad_blend.c
+++ b/
src/gallium/drivers/softpipe/sp_quad_blend.c
@@
-258,7
+258,8
@@
blend_quad(struct quad_stage *qs, struct quad_header *quad)
/* loop over colorbuffer outputs */
for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) {
- float source[4][QUAD_SIZE], dest[4][QUAD_SIZE];
+ float source[4][QUAD_SIZE] = { { 0 } };
+ float dest[4][QUAD_SIZE];
struct softpipe_cached_tile *tile
= sp_get_cached_tile(softpipe,
softpipe->cbuf_cache[cbuf],