From 8cfae7743955b8df1ea986cfdba44bda992f6cd2 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Tue, 14 Feb 2023 21:41:48 +0100 Subject: [PATCH] anv: enable VK_EXT_depth_range_unrestricted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rohan Garg Reviewed-by: Lionel Landwerlin Reviewed-by: Tapani Pälli Part-of: --- 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