Mesa (master): anv: expose depthBiasClamp, it is already set

Jason Ekstrand jekstrand at kemper.freedesktop.org
Tue Nov 29 03:32:25 UTC 2016


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

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Nov 22 23:03:12 2016 -0500

anv: expose depthBiasClamp, it is already set

The gen7/8_cmd_buffer logic already sets the clamp, and it's piped
through via the dynamic state.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

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

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index d9ab1b1..08bc247 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -448,7 +448,7 @@ void anv_GetPhysicalDeviceFeatures(
       .multiDrawIndirect                        = false,
       .drawIndirectFirstInstance                = false,
       .depthClamp                               = true,
-      .depthBiasClamp                           = false,
+      .depthBiasClamp                           = true,
       .fillModeNonSolid                         = true,
       .depthBounds                              = false,
       .wideLines                                = true,




More information about the mesa-commit mailing list