From ff4e1b9ed905439a65d495bf54ba59f474231850 Mon Sep 17 00:00:00 2001 From: Valentine Burley Date: Wed, 11 Feb 2026 11:27:21 +0100 Subject: [PATCH] tu: Advertise VK_KHR_depth_clamp_zero_one This was promoted from EXT. Signed-off-by: Valentine Burley Part-of: --- docs/features.txt | 2 +- src/freedreno/vulkan/tu_device.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index fa998b9cf33..2c89618d716 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -541,7 +541,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_calibrated_timestamps DONE (anv, hk, kk, nvk, panvk/v10+, radv, tu/a750+, vn) VK_KHR_compute_shader_derivatives DONE (anv, lvp, nvk, radv, tu, vn) VK_KHR_cooperative_matrix DONE (anv, nvk/Turing+, radv/gfx11+, vn) - VK_KHR_depth_clamp_zero_one DONE (anv, nvk, panvk, radv, vn) + VK_KHR_depth_clamp_zero_one DONE (anv, nvk, panvk, radv, tu, vn) VK_KHR_deferred_host_operations DONE (anv, hasvk, lvp, radv, tu, vn) VK_KHR_display DONE (anv, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_KHR_display_swapchain not started diff --git a/src/freedreno/vulkan/tu_device.cc b/src/freedreno/vulkan/tu_device.cc index 8ab7cc3c78d..92f2d71a32f 100644 --- a/src/freedreno/vulkan/tu_device.cc +++ b/src/freedreno/vulkan/tu_device.cc @@ -180,6 +180,7 @@ get_device_extensions(const struct tu_physical_device *device, .KHR_create_renderpass2 = true, // tu_has_multiview(device), .KHR_dedicated_allocation = true, .KHR_deferred_host_operations = true, + .KHR_depth_clamp_zero_one = true, .KHR_depth_stencil_resolve = true, .KHR_descriptor_update_template = true, .KHR_device_group = true, @@ -629,7 +630,7 @@ tu_get_features(struct tu_physical_device *pdevice, features->customBorderColors = true; features->customBorderColorWithoutFormat = true; - /* VK_EXT_depth_clamp_zero_one */ + /* VK_KHR_depth_clamp_zero_one */ features->depthClampZeroOne = true; /* VK_EXT_depth_clip_control */