summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-10-07 14:50:06 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-10-07 14:50:06 -0600
commitbe3c070b6a86255feb752b7574daff8cb6091b96 (patch)
treef939ac3f7be051d9a2bfc1b8aeb20a50047a7652 /src
parent44799c3b7e0e4260b93e68a5da5a03c9279ac26a (diff)
cell: memset() key to zero
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_state_emit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_state_emit.c b/src/gallium/drivers/cell/ppu/cell_state_emit.c
index b00c41f47d..69c1e4d342 100644
--- a/src/gallium/drivers/cell/ppu/cell_state_emit.c
+++ b/src/gallium/drivers/cell/ppu/cell_state_emit.c
@@ -49,6 +49,7 @@ lookup_fragment_ops(struct cell_context *cell)
/*
* Build key
*/
+ memset(&key, 0, sizeof(key));
key.blend = *cell->blend;
key.dsa = *cell->depth_stencil;