Revert "softpipe: Don't draw when rasterizer_discard is set"
authorGert Wollny <gert.wollny@collabora.com>
Mon, 29 Jul 2019 16:13:44 +0000 (18:13 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Thu, 1 Aug 2019 05:57:41 +0000 (05:57 +0000)
This was too aggressive and breaks TF (Ilia)

This reverts commit 4ee638cd7826e8a4bed76f51c7b73395a2fcdbbc.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/softpipe/sp_draw_arrays.c

index f0313beb178be5001f056e8823c7e20dff9e2b41..91427348a25732c26a0460d92ea8473b36c0e64a 100644 (file)
@@ -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;