diff --git a/docs/features.txt b/docs/features.txt index 9892702385f..fb2a707e42d 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -665,7 +665,7 @@ Khronos extensions that are not part of any Vulkan version: VK_ARM_rasterization_order_attachment_access DONE (lvp, tu) VK_EXT_mutable_descriptor_type DONE (anv, lvp, nvk, radv, tu, vn) VK_EXT_swapchain_colorspace DONE (anv, lvp, nvk, radv, tu, v3dv) - VK_EXT_depth_clamp_zero_one DONE (anv, radv, tu) + VK_EXT_depth_clamp_zero_one DONE (anv, radv, tu, v3dv) VK_INTEL_shader_integer_functions2 DONE (anv, hasvk, radv) VK_KHR_map_memory2 DONE (anv, nvk, radv, tu) VK_EXT_map_memory_placed DONE (anv, nvk, radv, tu) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 4a32def70fc..cac55d30235 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -4,3 +4,4 @@ VK_MESA_image_alignment_control on RADV VK_EXT_shader_replicated_composites on ANV, dozen, hasvk, lavapipe, nvk, RADV, and Turnip VK_KHR_maintenance5 on v3dv VK_KHR_maintenance7 on RADV +VK_EXT_depth_clamp_zero_one on v3dv diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index 17108c541ae..8389a4dfb25 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -201,6 +201,7 @@ get_device_extensions(const struct v3dv_physical_device *device, .EXT_border_color_swizzle = true, .EXT_color_write_enable = true, .EXT_custom_border_color = true, + .EXT_depth_clamp_zero_one = device->devinfo.ver >= 71, .EXT_depth_clip_control = true, .EXT_depth_clip_enable = device->devinfo.ver >= 71, .EXT_load_store_op_none = true, @@ -260,6 +261,7 @@ get_features(const struct v3dv_physical_device *physical_device, .multiDrawIndirect = false, .drawIndirectFirstInstance = true, .depthClamp = physical_device->devinfo.ver >= 71, + .depthClampZeroOne = physical_device->devinfo.ver >= 71, .depthBiasClamp = true, .fillModeNonSolid = true, .depthBounds = physical_device->devinfo.ver >= 71,