aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/cell/ppu
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-04 15:06:10 -0700
committerBrian <[email protected]>2008-02-04 15:06:10 -0700
commit7a1d01f2a0d8f0875a265e7d4e31e1348fd82677 (patch)
tree2c466f58cc0da6f531e3d1fbd8c33beb6f29e297 /src/mesa/pipe/cell/ppu
parent8f924e4df06a5d45dda338e7a0a87308e48df57e (diff)
Cell: emit blend state to SPUs
Diffstat (limited to 'src/mesa/pipe/cell/ppu')
-rw-r--r--src/mesa/pipe/cell/ppu/cell_state_emit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_state_emit.c b/src/mesa/pipe/cell/ppu/cell_state_emit.c
index 702184416bf..3b2670f786b 100644
--- a/src/mesa/pipe/cell/ppu/cell_state_emit.c
+++ b/src/mesa/pipe/cell/ppu/cell_state_emit.c
@@ -61,6 +61,12 @@ cell_emit_state(struct cell_context *cell)
fb->height = cell->framebuffer.cbufs[0]->height;
}
+ if (cell->dirty & CELL_NEW_BLEND) {
+ emit_state_cmd(cell, CELL_CMD_STATE_BLEND,
+ cell->blend,
+ sizeof(struct pipe_blend_state));
+ }
+
if (cell->dirty & CELL_NEW_DEPTH_STENCIL) {
emit_state_cmd(cell, CELL_CMD_STATE_DEPTH_STENCIL,
cell->depth_stencil,