radv: fix multiple resolves in the same subpass
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 24 Nov 2022 14:07:32 +0000 (15:07 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 11 Jan 2023 17:44:20 +0000 (17:44 +0000)
commit052a2a47b3a0b875c0671c4a80655c41582540d2
treeedb5bb5dcef1aa800591a982084caeeebb11b2d1
parentb46d3d7ebb0f2bf6af32e0f74152e109a4230a89
radv: fix multiple resolves in the same subpass

If there is multiple resolves, the driver shouldn't always select the
fragment path because it doesn't work for all images.

Fixes dEQP-VK.pipeline.monolithic.multisample.misc.*

Cc: 22.3 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19986>
(cherry picked from commit 22543653d5b20817d576180060005963c05bca3d)
.pick_status.json
src/amd/vulkan/radv_meta_resolve.c
src/amd/vulkan/radv_meta_resolve_cs.c
src/amd/vulkan/radv_meta_resolve_fs.c
src/amd/vulkan/radv_private.h