turnip: enable depthBiasClamp
authorJonathan Marek <jonathan@marek.ca>
Mon, 29 Jun 2020 00:27:46 +0000 (20:27 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 29 Jun 2020 13:08:51 +0000 (13:08 +0000)
Passes at least dEQP-VK.dynamic_state.rs_state.depth_bias_clamp

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5678>

src/freedreno/vulkan/tu_device.c

index b0f3feb39025cd84b46863e82f850d37b39b383d..ec2bae0b3920796efb7d9021536e0c33163dc3e1 100644 (file)
@@ -604,7 +604,7 @@ tu_GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice,
       .multiDrawIndirect = true,
       .drawIndirectFirstInstance = true,
       .depthClamp = true,
-      .depthBiasClamp = false,
+      .depthBiasClamp = true,
       .fillModeNonSolid = true,
       .depthBounds = true,
       .wideLines = false,