tu: Also set SP_FS_MRT_REG for unused attachments
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 7 Sep 2022 15:16:40 +0000 (17:16 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 21 Sep 2022 11:20:15 +0000 (11:20 +0000)
commit382757bb45e61924cef1cd9a01b49f11e0f44326
treeeff71557eb7e29f9cc388a9c119ea1aec3c7d204
parentf4ec8e1ad5290f526e80b66e653ee0f533064b4a
tu: Also set SP_FS_MRT_REG for unused attachments

This fixes some flakes with
dEQP-VK.pipeline.monolithic.multisample.alpha_to_coverage_unused_attachment.samples_2.alpha_opaque
on a650 with some other patches on top. I believe this is also the
source of the flakes on a630.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18554>
src/freedreno/ci/freedreno-a630-flakes.txt
src/freedreno/vulkan/tu_cmd_buffer.c