From de75f43aef7ba59ad33de219d2de8daf00eafcf8 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Wed, 19 May 2021 14:27:28 +0200 Subject: [PATCH] v3dv: expose VK_KHR_maintenance2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't do anything for input attachment aspects read by a subpass since it doesn't have performance implications for us. We also ignore the the new depth stencil layouts because they don't have practical implications for our implementation. We also ignore the new usage info for views since we are not currently making decisions about views based on their usage. Reviewed-by: Alejandro PiƱeiro Part-of: --- 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 318c8b5f776..28eb5ac7fd7 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -436,7 +436,7 @@ Vulkan 1.1 -- all DONE: anv, lvp, radv, tu, vn VK_KHR_get_memory_requirements2 DONE (anv, lvp, radv, tu, vn) VK_KHR_get_physical_device_properties2 DONE (anv, lvp, radv, tu, v3dv, vn) VK_KHR_maintenance1 DONE (anv, lvp, radv, tu, v3dv, vn) - VK_KHR_maintenance2 DONE (anv, lvp, radv, tu, vn) + VK_KHR_maintenance2 DONE (anv, lvp, radv, tu, v3dv, vn) VK_KHR_maintenance3 DONE (anv, lvp, radv, tu, vn) VK_KHR_multiview DONE (anv, lvp, radv, tu, vn) VK_KHR_relaxed_block_layout DONE (anv, lvp, radv, tu, vn) diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index 5d18e695c23..28ec1a4a2e5 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -133,6 +133,7 @@ get_device_extensions(const struct v3dv_physical_device *device, .KHR_external_memory = true, .KHR_external_memory_fd = true, .KHR_maintenance1 = true, + .KHR_maintenance2 = true, #ifdef V3DV_HAS_SURFACE .KHR_swapchain = true, #endif