Mesa (main): v3dv: expose VK_KHR_copy_commands2

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 21 06:14:51 UTC 2021


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

Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Thu Jun 17 10:26:36 2021 +0200

v3dv: expose VK_KHR_copy_commands2

Relevant CTS tests:
dEQP-VK.api.copy_and_blit.copy_commands2.*

Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11443>

---

 docs/features.txt                 | 2 +-
 src/broadcom/vulkan/v3dv_device.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/features.txt b/docs/features.txt
index a8bcbe6d559..933988be9f2 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -475,7 +475,7 @@ Vulkan 1.2 -- all DONE: anv, vn
 Khronos extensions that are not part of any Vulkan version:
 
   VK_KHR_android_surface                                not started
-  VK_KHR_copy_commands2                                 DONE (anv, lvp, radv)
+  VK_KHR_copy_commands2                                 DONE (anv, lvp, radv, v3dv)
   VK_KHR_deferred_host_operations                       DONE (anv, radv)
   VK_KHR_display                                        DONE (anv, lvp, radv, tu, v3dv)
   VK_KHR_display_swapchain                              not started
diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c
index e04f326c1bc..431bba33ee7 100644
--- a/src/broadcom/vulkan/v3dv_device.c
+++ b/src/broadcom/vulkan/v3dv_device.c
@@ -108,6 +108,7 @@ get_device_extensions(const struct v3dv_physical_device *device,
 {
    *ext = (struct vk_device_extension_table) {
       .KHR_bind_memory2                    = true,
+      .KHR_copy_commands2                  = true,
       .KHR_dedicated_allocation            = true,
       .KHR_device_group                    = true,
       .KHR_descriptor_update_template      = true,



More information about the mesa-commit mailing list