Mesa (master): turnip: enable depthBiasClamp

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 29 13:31:20 UTC 2020


Module: Mesa
Branch: master
Commit: 622c548967a3ba7f7522057e10d696600b1b002c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=622c548967a3ba7f7522057e10d696600b1b002c

Author: Jonathan Marek <jonathan at marek.ca>
Date:   Sun Jun 28 20:27:46 2020 -0400

turnip: enable depthBiasClamp

Passes at least dEQP-VK.dynamic_state.rs_state.depth_bias_clamp

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

---

 src/freedreno/vulkan/tu_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index b0f3feb3902..ec2bae0b392 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -604,7 +604,7 @@ tu_GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice,
       .multiDrawIndirect = true,
       .drawIndirectFirstInstance = true,
       .depthClamp = true,
-      .depthBiasClamp = false,
+      .depthBiasClamp = true,
       .fillModeNonSolid = true,
       .depthBounds = true,
       .wideLines = false,



More information about the mesa-commit mailing list