diff --git a/docs/features.txt b/docs/features.txt index b64d957137a..9c5c3c3f4e7 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -535,7 +535,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_calibrated_timestamps DONE (anv, hk, nvk, radv, tu/a750+, vn) VK_KHR_compute_shader_derivatives DONE (anv, nvk, radv, tu/a7xx+, vn) VK_KHR_cooperative_matrix DONE (anv, radv/gfx11+) - VK_KHR_depth_clamp_zero_one DONE (vn) + VK_KHR_depth_clamp_zero_one DONE (vn, panvk) VK_KHR_deferred_host_operations DONE (anv, hasvk, lvp, radv, vn) VK_KHR_display DONE (anv, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_KHR_display_swapchain not started @@ -692,7 +692,7 @@ Khronos extensions that are not part of any Vulkan version: VK_ARM_rasterization_order_attachment_access DONE (lvp, tu, vn) VK_EXT_mutable_descriptor_type DONE (anv, hk, lvp, nvk, radv, tu, vn) VK_EXT_swapchain_colorspace DONE (anv, hk, lvp, nvk, radv, tu, v3dv, vn) - VK_EXT_depth_clamp_zero_one DONE (anv, nvk, radv, tu, v3dv/vc7+, vn) + VK_EXT_depth_clamp_zero_one DONE (anv, nvk, panvk, radv, tu, v3dv/vc7+, vn) VK_INTEL_shader_integer_functions2 DONE (anv, hasvk, radv) VK_EXT_map_memory_placed DONE (anv, hk, nvk, radv, tu) VK_MESA_image_alignment_control DONE (anv, nvk, radv) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 00dcce701ba..af233c01d39 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -41,3 +41,5 @@ GL_ARB_shader_clock on panfrost/v6+ VK_EXT_texture_compression_astc_hdr on panvk MSAA with 8 and 16 sample counts on panfrost cl_khr_spirv_queries +VK_EXT_depth_clamp_zero_one on panvk +VK_KHR_depth_clamp_zero_one on panvk diff --git a/src/panfrost/vulkan/panvk_physical_device.c b/src/panfrost/vulkan/panvk_physical_device.c index 44dfd5a1216..6e7f714e9d6 100644 --- a/src/panfrost/vulkan/panvk_physical_device.c +++ b/src/panfrost/vulkan/panvk_physical_device.c @@ -221,6 +221,7 @@ get_device_extensions(const struct panvk_physical_device *device, .KHR_create_renderpass2 = true, .KHR_dedicated_allocation = true, .KHR_descriptor_update_template = true, + .KHR_depth_clamp_zero_one = true, .KHR_depth_stencil_resolve = true, .KHR_device_group = true, .KHR_draw_indirect_count = arch >= 10, @@ -285,6 +286,7 @@ get_device_extensions(const struct panvk_physical_device *device, .EXT_buffer_device_address = true, .EXT_custom_border_color = true, .EXT_depth_bias_control = true, + .EXT_depth_clamp_zero_one = true, .EXT_depth_clip_enable = true, #ifdef VK_USE_PLATFORM_DISPLAY_KHR .EXT_display_control = true, @@ -514,6 +516,9 @@ get_features(const struct panvk_instance *instance, .shaderSubgroupRotate = true, .shaderSubgroupRotateClustered = true, + /* VK_KHR_depth_clamp_zero_one */ + .depthClampZeroOne = true, + /* VK_KHR_line_rasterization */ .rectangularLines = true, .bresenhamLines = true,