From abc0b3a0dd1d3a71b7da2f90e5c630da11de3a9e Mon Sep 17 00:00:00 2001 From: Matt Coster Date: Thu, 8 Jun 2023 09:28:56 +0100 Subject: [PATCH] pvr: Add VK_KHR_copy_commands2 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 Reviewed-by: Karmjit Mahil Part-of: --- docs/features.txt | 2 +- src/imagination/vulkan/pvr_device.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 649f1cf..80cf38f 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -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) diff --git a/src/imagination/vulkan/pvr_device.c b/src/imagination/vulkan/pvr_device.c index 53f518a..68cf18e 100644 --- a/src/imagination/vulkan/pvr_device.c +++ b/src/imagination/vulkan/pvr_device.c @@ -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, -- 2.7.4