panfrost: Remove scissor_culls_everything
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 7 Jun 2021 17:38:45 +0000 (13:38 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Jun 2021 18:06:10 +0000 (18:06 +0000)
commit8d687cb65eabb2ebadb09be6f8e47496af22ec6f
tree55c10b2c3f535f49b29084791029804c46016a9d
parent0186367dc75bde46d495e3e1d3de1a96c889262b
panfrost: Remove scissor_culls_everything

Based on a misunderstanding of how the scissor test works, and in
particular breaks transform feedback and SSBO writes from vertex
shaders.

Replace it with a moral equivalent to rasterizer_discard so vertex
shaders still run.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_job.h