From ffce80d242d1132c06284d44580f62b3bb4f5d2a Mon Sep 17 00:00:00 2001 From: Frank Binns Date: Fri, 10 Apr 2026 13:36:21 +0100 Subject: [PATCH] pvr: re-enable depthBiasClamp Partial revert of a22ad99bdd2 ("pvr: set device features/props/extensions to Vulkan 1.0 minimums (unless implemented)"), as this optional feature is fully implemented already. Tested with: dEQP-VK.*depth_bias* dEQP-VK.*bias_clamp* Signed-off-by: Frank Binns Reviewed-by: Simon Perretta Part-of: --- docs/relnotes/new_features.txt | 1 + src/imagination/vulkan/pvr_physical_device.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index df62c43805d..4245fe3c16e 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -49,3 +49,4 @@ VK_KHR_shader_integer_dot_product on pvr VK_EXT_descriptor_heap on RADV (with 'export RADV_EXPERIMENTAL=heap') fullDrawIndexUint32 on pvr multiDrawIndirect on pvr +depthBiasClamp on pvr diff --git a/src/imagination/vulkan/pvr_physical_device.c b/src/imagination/vulkan/pvr_physical_device.c index 13f1c424be7..57a3ffc7b91 100644 --- a/src/imagination/vulkan/pvr_physical_device.c +++ b/src/imagination/vulkan/pvr_physical_device.c @@ -225,7 +225,7 @@ static void pvr_physical_device_get_supported_features( .multiDrawIndirect = true, .drawIndirectFirstInstance = true, .depthClamp = false, - .depthBiasClamp = false, + .depthBiasClamp = true, .fillModeNonSolid = false, .depthBounds = false, .wideLines = false,