radv: advertise VK_EXT_depth_clip_control
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6070 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15192>
This commit is contained in:

committed by
Marge Bot

parent
43e83949dc
commit
1b2ccea63f
@@ -537,7 +537,7 @@ Khronos extensions that are not part of any Vulkan version:
|
||||
VK_EXT_custom_border_color DONE (anv, lvp, radv, tu, v3dv)
|
||||
VK_EXT_debug_marker DONE (radv)
|
||||
VK_EXT_depth_clip_enable DONE (anv, lvp, radv, tu)
|
||||
VK_EXT_depth_clip_control DONE (lvp, tu)
|
||||
VK_EXT_depth_clip_control DONE (lvp, radv, tu)
|
||||
VK_EXT_depth_range_unrestricted DONE (radv)
|
||||
VK_EXT_discard_rectangles DONE (radv)
|
||||
VK_EXT_display_control DONE (anv, tu)
|
||||
|
@@ -1,3 +1,4 @@
|
||||
d3d12 GL4.2
|
||||
GL_NV_pack_subimage
|
||||
lavapipe VK_EXT_depth_clip_control, Vulkan 1.3 support
|
||||
VK_EXT_depth_clip_control on lavapipe and RADV
|
||||
Vulkan 1.3 support on lavapipe
|
||||
|
@@ -475,6 +475,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
|
||||
.EXT_conservative_rasterization = device->rad_info.chip_class >= GFX9,
|
||||
.EXT_custom_border_color = true,
|
||||
.EXT_debug_marker = radv_thread_trace_enabled(),
|
||||
.EXT_depth_clip_control = true,
|
||||
.EXT_depth_clip_enable = true,
|
||||
.EXT_depth_range_unrestricted = true,
|
||||
.EXT_descriptor_indexing = true,
|
||||
@@ -1713,6 +1714,12 @@ radv_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
|
||||
features->descriptorSetHostMapping = true;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT: {
|
||||
VkPhysicalDeviceDepthClipControlFeaturesEXT *features =
|
||||
(VkPhysicalDeviceDepthClipControlFeaturesEXT *)ext;
|
||||
features->depthClipControl = true;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user