radv: advertise VK_EXT_depth_bias_control

Pass new CTS on RDNA2.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23696>
This commit is contained in:
Samuel Pitoiset
2023-05-16 15:11:49 +02:00
committed by Marge Bot
parent 266b2cfe5b
commit 1359e806f2
3 changed files with 9 additions and 0 deletions

View File

@@ -551,6 +551,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_EXT_custom_border_color DONE (anv, lvp, panvk, radv, tu, v3dv, vn)
VK_EXT_debug_marker DONE (radv)
VK_EXT_debug_report DONE (anv, dzn, lvp, pvr, radv, tu, v3dv)
VK_EXT_depth_bias_control DONE (radv)
VK_EXT_depth_clip_control DONE (anv, lvp, radv, tu, v3dv, vn)
VK_EXT_depth_clip_enable DONE (anv, lvp, radv, tu, vn)
VK_EXT_depth_range_unrestricted DONE (radv, lvp)

View File

@@ -6,3 +6,4 @@ OpenGL 3.1 on Asahi
OpenGL ES 3.0 on Asahi
VK_KHR_fragment_shader_barycentric on RADV/GFX10.3+
VK_KHR_ray_tracing_pipeline on RADV/GFX10.3+
VK_EXT_depth_bias_control on RADV

View File

@@ -478,6 +478,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
.EXT_conservative_rasterization = device->rad_info.gfx_level >= GFX9,
.EXT_custom_border_color = true,
.EXT_debug_marker = radv_sqtt_enabled(),
.EXT_depth_bias_control = true,
.EXT_depth_clip_control = true,
.EXT_depth_clip_enable = true,
.EXT_depth_range_unrestricted = true,
@@ -1014,6 +1015,12 @@ radv_physical_device_get_features(const struct radv_physical_device *pdevice, st
/* VK_KHR_fragment_shader_barycentric */
.fragmentShaderBarycentric = true,
/* VK_EXT_depth_bias_control */
.depthBiasControl = true,
.leastRepresentableValueForceUnormRepresentation = true,
.floatRepresentation = true,
.depthBiasExact = true,
};
}