softpipe: Don't draw when rasterizer_discard is set
authorGert Wollny <gert.wollny@collabora.com>
Thu, 25 Jul 2019 13:30:09 +0000 (15:30 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Mon, 29 Jul 2019 13:47:34 +0000 (15:47 +0200)
commit4ee638cd7826e8a4bed76f51c7b73395a2fcdbbc
tree42d8974db066f84b3d73592954b64c4a12c244c0
parent45ac0dfad4f614dda4c9e42ac5c3479096a16f9b
softpipe: Don't draw when rasterizer_discard is set

Fixes:
  dEQP-GLES3.functional.rasterizer_discard.basic.write_depth_points
  dEQP-GLES3.functional.rasterizer_discard.basic.write_stencil_points
  dEQP-GLES3.functional.rasterizer_discard.fbo.write_depth_points
  dEQP-GLES3.functional.rasterizer_discard.fbo.write_stencil_points
  dEQP-GLES3.functional.rasterizer_discard.scissor.write_depth_points
  dEQP-GLES3.functional.rasterizer_discard.scissor.write_stencil_points

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