From 05b9e0dfed25c0ae74c2b3e9cc6b5209cfe215f8 Mon Sep 17 00:00:00 2001 From: Valentine Burley Date: Mon, 18 Mar 2024 09:11:53 +0000 Subject: [PATCH] tu: Expose VK_KHR_surface_protected_capabilities This is implemented in common code. Signed-off-by: Valentine Burley Part-of: --- docs/features.txt | 2 +- src/freedreno/vulkan/tu_device.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 266d0f8f23b..58ce77a11c7 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -543,7 +543,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_shader_quad_control DONE (radv) VK_KHR_shared_presentable_image not started VK_KHR_surface DONE (anv, dzn, hasvk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) - VK_KHR_surface_protected_capabilities DONE (anv, lvp, nvk, radv, v3dv, vn) + VK_KHR_surface_protected_capabilities DONE (anv, lvp, nvk, radv, tu, v3dv, vn) VK_KHR_swapchain DONE (anv, dzn, hasvk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_KHR_swapchain_mutable_format DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) VK_KHR_vertex_attribute_divisor DONE (anv, nvk, radv, tu, v3dv) diff --git a/src/freedreno/vulkan/tu_device.cc b/src/freedreno/vulkan/tu_device.cc index 2986143ba74..725abfecece 100644 --- a/src/freedreno/vulkan/tu_device.cc +++ b/src/freedreno/vulkan/tu_device.cc @@ -102,6 +102,7 @@ static const struct vk_instance_extension_table tu_instance_extensions_supported .KHR_get_physical_device_properties2 = true, .KHR_get_surface_capabilities2 = TU_HAS_SURFACE, .KHR_surface = TU_HAS_SURFACE, + .KHR_surface_protected_capabilities = TU_HAS_SURFACE, #ifdef VK_USE_PLATFORM_WAYLAND_KHR .KHR_wayland_surface = true, #endif