From 17dcdb000a24ff9c97c91462a84de74ab7723cc0 Mon Sep 17 00:00:00 2001 From: Ella-0 Date: Sun, 10 Oct 2021 14:42:30 +0000 Subject: [PATCH] v3dv: enable VK_KHR_surface_protected_capabilities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 fbeb0e16a2d..8e20f1af465 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -497,7 +497,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_shader_terminate_invocation DONE (anv, radv, tu) VK_KHR_shared_presentable_image not started VK_KHR_surface DONE (anv, lvp, radv, tu, v3dv, vn) - VK_KHR_surface_protected_capabilities DONE (anv, lvp, radv, vn) + VK_KHR_surface_protected_capabilities DONE (anv, lvp, radv, v3dv, vn) VK_KHR_swapchain DONE (anv, lvp, radv, tu, v3dv, vn) VK_KHR_swapchain_mutable_format DONE (anv, radv, vn) VK_KHR_wayland_surface DONE (anv, lvp, radv, tu, v3dv, vn) diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index 36b723abe5d..586c22338f6 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -94,6 +94,7 @@ static const struct vk_instance_extension_table instance_extensions = { #ifdef V3DV_HAS_SURFACE .KHR_get_surface_capabilities2 = true, .KHR_surface = true, + .KHR_surface_protected_capabilities = true, #endif #ifdef VK_USE_PLATFORM_WAYLAND_KHR .KHR_wayland_surface = true,