diff --git a/docs/features.txt b/docs/features.txt index 66f11f60577..9be1ba1bd58 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -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) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 67a03bf651d..009dffa05b8 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -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 diff --git a/src/amd/vulkan/radv_physical_device.c b/src/amd/vulkan/radv_physical_device.c index 56cc4020541..3af77d70b31 100644 --- a/src/amd/vulkan/radv_physical_device.c +++ b/src/amd/vulkan/radv_physical_device.c @@ -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, }; }