summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2019-07-29 18:13:44 +0200
committerGert Wollny <[email protected]>2019-08-01 05:57:41 +0000
commit7fb47195d820cd4de9a311371a079e2577eac966 (patch)
treeebdfe93a33c193059eed1d0e4bcc7ca60be8c005 /src
parenta563bb9e28318df30da0b0ab9c8280a8416cd472 (diff)
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 <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/softpipe/sp_draw_arrays.c3
1 files changed, 0 insertions, 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;