diff --git a/docs/features.txt b/docs/features.txt index b9976c09a2b..5710d026a37 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -537,7 +537,7 @@ Khronos extensions that are not part of any Vulkan version: VK_EXT_custom_border_color DONE (anv, lvp, radv, tu, v3dv) VK_EXT_debug_marker DONE (radv) VK_EXT_depth_clip_enable DONE (anv, lvp, radv, tu) - VK_EXT_depth_clip_control DONE (lvp, tu) + VK_EXT_depth_clip_control DONE (lvp, radv, tu) VK_EXT_depth_range_unrestricted DONE (radv) VK_EXT_discard_rectangles DONE (radv) VK_EXT_display_control DONE (anv, tu) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index b65de707fca..0b33bc01a4d 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -1,3 +1,4 @@ d3d12 GL4.2 GL_NV_pack_subimage -lavapipe VK_EXT_depth_clip_control, Vulkan 1.3 support +VK_EXT_depth_clip_control on lavapipe and RADV +Vulkan 1.3 support on lavapipe diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 463ecc8b57b..0b240c83b36 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -475,6 +475,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .EXT_conservative_rasterization = device->rad_info.chip_class >= GFX9, .EXT_custom_border_color = true, .EXT_debug_marker = radv_thread_trace_enabled(), + .EXT_depth_clip_control = true, .EXT_depth_clip_enable = true, .EXT_depth_range_unrestricted = true, .EXT_descriptor_indexing = true, @@ -1713,6 +1714,12 @@ radv_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, features->descriptorSetHostMapping = true; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT: { + VkPhysicalDeviceDepthClipControlFeaturesEXT *features = + (VkPhysicalDeviceDepthClipControlFeaturesEXT *)ext; + features->depthClipControl = true; + break; + } default: break; }