diff --git a/docs/features.txt b/docs/features.txt index 2d563a657c9..276c6772361 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -589,7 +589,7 @@ Khronos extensions that are not part of any Vulkan version: VK_EXT_debug_marker DONE (radv) VK_EXT_debug_report DONE (anv, dzn, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_EXT_debug_utils DONE (anv, dzn, hasvk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) - VK_EXT_depth_bias_control DONE (anv, nvk, radv, vn) + VK_EXT_depth_bias_control DONE (anv, nvk, panvk, radv, vn) VK_EXT_depth_clamp_control DONE (anv, hasvk, nvk, radv, 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, panvk, radv, tu, v3dv/vc7+, vn) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 27fd3443957..f9bc5431464 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -18,3 +18,4 @@ VK_KHR_shader_integer_dot_product on panvk VK_KHR_shader_terminate_invocation on panvk VK_EXT_shader_demote_to_helper_invocation on panvk VK_EXT_shader_replicated_composites on panvk +VK_EXT_depth_bias_control on panvk diff --git a/src/panfrost/vulkan/panvk_physical_device.c b/src/panfrost/vulkan/panvk_physical_device.c index 52356cf5609..23753d667fa 100644 --- a/src/panfrost/vulkan/panvk_physical_device.c +++ b/src/panfrost/vulkan/panvk_physical_device.c @@ -283,6 +283,7 @@ get_device_extensions(const struct panvk_physical_device *device, .EXT_border_color_swizzle = true, .EXT_buffer_device_address = true, .EXT_custom_border_color = true, + .EXT_depth_bias_control = true, .EXT_depth_clip_enable = true, #ifdef VK_USE_PLATFORM_DISPLAY_KHR .EXT_display_control = true, @@ -512,6 +513,12 @@ get_features(const struct panvk_physical_device *device, /* VK_EXT_vertex_input_dynamic_state */ .vertexInputDynamicState = true, + /* VK_EXT_depth_bias_control */ + .depthBiasControl = true, + .leastRepresentableValueForceUnormRepresentation = false, + .floatRepresentation = false, + .depthBiasExact = true, + /* VK_EXT_depth_clip_enable */ .depthClipEnable = true,