Mesa (main): radv: remove outdated radv_finishme() in the HW resolve path

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 27 07:46:33 UTC 2021


Module: Mesa
Branch: main
Commit: b05c2023cc4136c1225b7f9513ea92790a0cadd9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b05c2023cc4136c1225b7f9513ea92790a0cadd9

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Aug 26 10:54:53 2021 +0200

radv: remove outdated radv_finishme() in the HW resolve path

Resolving layered MSAA images is actually implemented by the HW
resolve path but never used because the driver uses the compute path.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12556>

---

 src/amd/vulkan/radv_meta_resolve.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/amd/vulkan/radv_meta_resolve.c b/src/amd/vulkan/radv_meta_resolve.c
index e955ddced91..091c0b3edb9 100644
--- a/src/amd/vulkan/radv_meta_resolve.c
+++ b/src/amd/vulkan/radv_meta_resolve.c
@@ -458,9 +458,6 @@ radv_meta_resolve_hardware_image(struct radv_cmd_buffer *cmd_buffer, struct radv
    }
    assert(dst_image->info.samples == 1);
 
-   if (src_image->info.array_size > 1)
-      radv_finishme("vkCmdResolveImage: multisample array images");
-
    unsigned fs_key = radv_format_meta_fs_key(device, dst_image->vk_format);
 
    /* From the Vulkan 1.0 spec:



More information about the mesa-commit mailing list