radv,aco: do not compact MRTs if the pipeline uses a PS epilog
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 13 Sep 2022 12:54:46 +0000 (14:54 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 20 Sep 2022 13:12:49 +0000 (13:12 +0000)
commit19eec024d2acc3bb8c39a7c3ce7ca76e34191c62
tree11fd0363f30784c3cf739bd834e73e888f71b1b6
parent09a0fd6925a5e691d9c6c1a64b9a2a49dd6a8ed2
radv,aco: do not compact MRTs if the pipeline uses a PS epilog

We can't detect color attachment without exports when compiling a PS
epilog, so we can't compact MRTs.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18514>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader_args.c