Mesa (main): v3dv: enable VK_KHR_surface_protected_capabilities

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Oct 12 22:32:42 UTC 2021


Module: Mesa
Branch: main
Commit: 17dcdb000a24ff9c97c91462a84de74ab7723cc0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=17dcdb000a24ff9c97c91462a84de74ab7723cc0

Author: Ella-0 <estanforth at igalia.com>
Date:   Sun Oct 10 14:42:30 2021 +0000

v3dv: enable VK_KHR_surface_protected_capabilities

Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13298>

---

 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,



More information about the mesa-commit mailing list