radv: Disable NGG culling when conservative overestimation is used.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 30 Jan 2023 14:23:12 +0000 (15:23 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 8 Feb 2023 20:34:44 +0000 (20:34 +0000)
commiteadaef0ffda55d5063d9f076952ae7896865c665
treee056b0a0fd1e1195db17bb86d3f7f0d9323fc7bb
parent9a5bec6695073a894cdc78cbec5b15df16085aee
radv: Disable NGG culling when conservative overestimation is used.

Even when small primitive culling is disabled, the face culling algorithm
in ac_nir_cull can delete tiny triangles when their area is almost zero.

Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20987>
(cherry picked from commit 3508597aa1b88d1b5a6f78ad53d8abcc32cde2c9)
.pick_status.json
src/amd/vulkan/radv_cmd_buffer.c