From 2ba91d1deb41d16862a01224ea7222622f441614 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 17 Jan 2025 10:58:13 +0100 Subject: [PATCH] radv: promote VK_EXT_depth_clamp_zero_one to KHR Signed-off-by: Samuel Pitoiset Part-of: --- docs/relnotes/new_features.txt | 1 + src/amd/vulkan/radv_physical_device.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 3a8a94940c5..80f7854f9cf 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -32,3 +32,4 @@ occlusionQueryPrecise on panvk shaderInt16 on panvk shaderInt64 on panvk imageCubeArray on panvk +VK_KHR_depth_clamp_zero_one on RADV diff --git a/src/amd/vulkan/radv_physical_device.c b/src/amd/vulkan/radv_physical_device.c index 21cd3c8816c..d80f8b82565 100644 --- a/src/amd/vulkan/radv_physical_device.c +++ b/src/amd/vulkan/radv_physical_device.c @@ -543,6 +543,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .KHR_create_renderpass2 = true, .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, @@ -1251,7 +1252,7 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc .deviceFault = true, .deviceFaultVendorBinary = instance->debug_flags & RADV_DEBUG_HANG, - /* VK_EXT_depth_clamp_zero_one */ + /* VK_KHR_depth_clamp_zero_one */ .depthClampZeroOne = true, /* VK_KHR_maintenance6 */