From 7fb47195d820cd4de9a311371a079e2577eac966 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Mon, 29 Jul 2019 18:13:44 +0200 Subject: [PATCH] Revert "softpipe: Don't draw when rasterizer_discard is set" This was too aggressive and breaks TF (Ilia) This reverts commit 4ee638cd7826e8a4bed76f51c7b73395a2fcdbbc. Signed-off-by: Gert Wollny Reviewed-by: Roland Scheidegger --- src/gallium/drivers/softpipe/sp_draw_arrays.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_draw_arrays.c b/src/gallium/drivers/softpipe/sp_draw_arrays.c index f0313beb178..91427348a25 100644 --- a/src/gallium/drivers/softpipe/sp_draw_arrays.c +++ b/src/gallium/drivers/softpipe/sp_draw_arrays.c @@ -69,9 +69,6 @@ softpipe_draw_vbo(struct pipe_context *pipe, if (!softpipe_check_render_cond(sp)) return; - if (sp->rasterizer && sp->rasterizer->rasterizer_discard) - return; - if (info->indirect) { util_draw_indirect(pipe, info); return; -- 2.30.2