radeonsi: lower discard to demote when FS_CORRECT_DERIVS_AFTER_KILL is enabled
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 4 Mar 2020 16:22:36 +0000 (17:22 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 9 Mar 2020 12:29:32 +0000 (12:29 +0000)
commit9d64ad2fe791fcdc3c8c8c2115febdea7cd3e1ba
treeea6a38e1af0a45cfe2f48ed450697b688abd7bbf
parentde57ea2a3da2188e1c1d9fb043028c5f823cc755
radeonsi: lower discard to demote when FS_CORRECT_DERIVS_AFTER_KILL is enabled

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4047>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_shader_llvm_ps.c
src/gallium/drivers/radeonsi/si_shader_nir.c
src/gallium/drivers/radeonsi/si_state_shaders.c