cell: Call the correct function to generate blending code
authorIan Romanick <idr@us.ibm.com>
Fri, 21 Mar 2008 00:36:31 +0000 (17:36 -0700)
committerIan Romanick <idr@us.ibm.com>
Fri, 21 Mar 2008 00:37:26 +0000 (17:37 -0700)
Cut-and-paste for the lose. :(

src/gallium/drivers/cell/ppu/cell_pipe_state.c

index 4ca8c15..86fcdcf 100644 (file)
@@ -63,7 +63,7 @@ cell_bind_blend_state(struct pipe_context *pipe, void *state)
    draw_flush(cell->draw);
 
    if ((blend != NULL) && (blend->code.store == NULL)) {
-      cell_generate_depth_stencil_test(blend);
+      cell_generate_alpha_blend(blend, &cell->blend_color);
    }
 
    cell->blend = blend;