Module: Mesa Branch: main Commit: 8cfae7743955b8df1ea986cfdba44bda992f6cd2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cfae7743955b8df1ea986cfdba44bda992f6cd2
Author: Rohan Garg <rohan.g...@intel.com> Date: Tue Feb 14 21:41:48 2023 +0100 anv: enable VK_EXT_depth_range_unrestricted Signed-off-by: Rohan Garg <rohan.g...@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26426> --- docs/features.txt | 2 +- src/intel/vulkan/anv_device.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 2f502a661d7..0c16645c585 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -555,7 +555,7 @@ Khronos extensions that are not part of any Vulkan version: VK_EXT_depth_bias_control DONE (anv, nvk, radv) VK_EXT_depth_clip_control DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) VK_EXT_depth_clip_enable DONE (anv, hasvk, lvp, nvk, radv, tu, vn) - VK_EXT_depth_range_unrestricted DONE (radv, lvp) + VK_EXT_depth_range_unrestricted DONE (anv/gen20+, radv, lvp) VK_EXT_descriptor_buffer DONE (lvp, radv, tu) VK_EXT_device_memory_report DONE (vn) VK_EXT_direct_mode_display DONE (anv, lvp, radv, tu, v3dv) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 3795cadabea..f92f6f926dd 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -322,6 +322,7 @@ get_device_extensions(const struct anv_physical_device *device, .EXT_depth_bias_control = true, .EXT_depth_clamp_zero_one = true, .EXT_depth_clip_control = true, + .EXT_depth_range_unrestricted = device->info.ver >= 20, .EXT_depth_clip_enable = true, .EXT_descriptor_indexing = true, #ifdef VK_USE_PLATFORM_DISPLAY_KHR