gallium/draw: Fix rasterizer_discard for wide points/lines.
authorEric Anholt <eric@anholt.net>
Wed, 11 Nov 2020 19:03:57 +0000 (11:03 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 12 Nov 2020 20:27:15 +0000 (20:27 +0000)
commit0b4825c872558b1e21f6b9c6e8256482988ee243
tree7487c0fa1a302478c6f771b76060a60fabcb22ab
parent9edb6e1be0f8ac65496e1f0da6c78376d81d70ff
gallium/draw: Fix rasterizer_discard for wide points/lines.

Fixes the rasterizer_discard failures for softpipe, because the wide paths
(which we hit for points in the CTS) were dropping the discard state when
making the no_cull shadow state.

Cc: mesa-stable
Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7558>
.gitlab-ci/deqp-softpipe-fails.txt
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_aapoint.c
src/gallium/auxiliary/draw/draw_pipe_wide_line.c
src/gallium/auxiliary/draw/draw_pipe_wide_point.c
src/gallium/auxiliary/draw/draw_private.h