mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 15:40:11 +01:00
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>
This commit is contained in:
parent
45ac0dfad4
commit
4ee638cd78
1 changed files with 3 additions and 0 deletions
|
|
@ -69,6 +69,9 @@ 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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue