pvr: Add VK_KHR_copy_commands2
authorMatt Coster <matt.coster@imgtec.com>
Thu, 8 Jun 2023 08:28:56 +0000 (09:28 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 10 Aug 2023 15:38:38 +0000 (15:38 +0000)
We already expose the *2() functions and allow the common vulkan code
to provide the vulkan 1.0 equivalents, so we might as well expose this
extension.

Coverage in dEQP is dEQP-VK.api.copy_and_blit.copy_commands2.*, which
are mostly identical to dEQP-VK.api.copy_and_blit.core.* without
additional extensions.

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24489>

docs/features.txt
src/imagination/vulkan/pvr_device.c

index 649f1cf..80cf38f 100644 (file)
@@ -475,7 +475,7 @@ Vulkan 1.2 -- all DONE: anv, tu, vn
 
 Vulkan 1.3 -- all DONE: anv, radv, tu, lvp, vn
 
-  VK_KHR_copy_commands2                                 DONE (anv, hasvk, lvp, nvk, panvk, radv, tu, v3dv, vn)
+  VK_KHR_copy_commands2                                 DONE (anv, hasvk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn)
   VK_KHR_dynamic_rendering                              DONE (anv, dzn, hasvk, lvp, nvk, radv, tu, vn)
   VK_KHR_format_feature_flags2                          DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn)
   VK_KHR_maintenance4                                   DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn)
index 53f518a..68cf18e 100644 (file)
@@ -154,6 +154,7 @@ static void pvr_physical_device_get_supported_extensions(
 {
    /* clang-format off */
    *extensions = (struct vk_device_extension_table){
+      .KHR_copy_commands2 = true,
       .KHR_external_memory = true,
       .KHR_external_memory_fd = true,
       .KHR_get_memory_requirements2 = true,