radv: use nir_lower_discard_to_demote to work around game bugs
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 4 Mar 2020 16:35:26 +0000 (17:35 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 9 Mar 2020 12:29:32 +0000 (12:29 +0000)
commitbdd7587414441920743fe476270560722b6beb18
treec44d0c39a423b4195924b1eb3b4f6accb1b6cfc7
parent9d64ad2fe791fcdc3c8c8c2115febdea7cd3e1ba
radv: use nir_lower_discard_to_demote to work around game bugs

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4047>
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_shader.c