nvk: advertise EXT_depth_range_unrestricted

This enables EXT_depth_range_unrestricted from VOLTA_A

Test of dEQP-VK.*depth_range_unrestricted* on TU104 shows:

Test run totals:
  Passed:        14212/14212 (100.0%)
  Failed:        0/14212 (0.0%)
  Not supported: 0/14212 (0.0%)
  Warnings:      0/14212 (0.0%)
  Waived:        0/14212 (0.0%)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28958>
This commit is contained in:
Thomas H.P. Andersen
2024-04-26 23:29:56 +02:00
committed by Marge Bot
parent 5d37a5c7b6
commit 42ed28a726
2 changed files with 2 additions and 1 deletions

View File

@@ -568,7 +568,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_EXT_depth_bias_control DONE (anv, nvk, radv) 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_control DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn)
VK_EXT_depth_clip_enable DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) VK_EXT_depth_clip_enable DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn)
VK_EXT_depth_range_unrestricted DONE (anv/gen20+, radv, lvp) VK_EXT_depth_range_unrestricted DONE (anv/gen20+, nvk, radv, lvp)
VK_EXT_descriptor_buffer DONE (anv, lvp, radv, tu) VK_EXT_descriptor_buffer DONE (anv, lvp, radv, tu)
VK_EXT_device_address_binding_report DONE (radv) VK_EXT_device_address_binding_report DONE (radv)
VK_EXT_device_fault DONE (radv) VK_EXT_device_fault DONE (radv)

View File

@@ -179,6 +179,7 @@ nvk_get_device_extensions(const struct nvk_instance *instance,
.EXT_depth_bias_control = true, .EXT_depth_bias_control = true,
.EXT_depth_clip_control = true, .EXT_depth_clip_control = true,
.EXT_depth_clip_enable = true, .EXT_depth_clip_enable = true,
.EXT_depth_range_unrestricted = info->cls_eng3d >= VOLTA_A,
.EXT_descriptor_indexing = true, .EXT_descriptor_indexing = true,
#ifdef VK_USE_PLATFORM_DISPLAY_KHR #ifdef VK_USE_PLATFORM_DISPLAY_KHR
.EXT_display_control = true, .EXT_display_control = true,