aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_quad_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad_pipe.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_quad_pipe.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_pipe.c b/src/gallium/drivers/softpipe/sp_quad_pipe.c
index 6fae7d552f8..d138d417acb 100644
--- a/src/gallium/drivers/softpipe/sp_quad_pipe.c
+++ b/src/gallium/drivers/softpipe/sp_quad_pipe.c
@@ -65,25 +65,16 @@ sp_build_quad_pipeline(struct softpipe_context *sp)
/* Color combine
*/
- sp->quad.first = sp->quad.output;
-
- if (sp->blend->colormask != 0xf) {
- sp_push_quad_first( sp, sp->quad.colormask );
- }
-
- if (sp->blend->blend_enable ||
- sp->blend->logicop_enable) {
- sp_push_quad_first( sp, sp->quad.blend );
- }
+ sp->quad.first = sp->quad.blend;
+ /* Shade/Depth/Stencil/Alpha
+ */
if ((sp->rasterizer->poly_smooth && sp->reduced_prim == PIPE_PRIM_TRIANGLES) ||
(sp->rasterizer->line_smooth && sp->reduced_prim == PIPE_PRIM_LINES) ||
(sp->rasterizer->point_smooth && sp->reduced_prim == PIPE_PRIM_POINTS)) {
sp_push_quad_first( sp, sp->quad.coverage );
}
- /* Shade/Depth/Stencil/Alpha
- */
if (sp->active_query_count) {
sp_push_quad_first( sp, sp->quad.occlusion );
}