anv: expose depthBiasClamp, it is already set
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 23 Nov 2016 04:03:12 +0000 (23:03 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Nov 2016 03:32:14 +0000 (19:32 -0800)
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@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_device.c

index d9ab1b153fd79cf6e2b1e51a0fb47ce8d41de86f..08bc247939f75407e9e7f7be9f257195654e5afc 100644 (file)
@@ -448,7 +448,7 @@ void anv_GetPhysicalDeviceFeatures(
       .multiDrawIndirect                        = false,
       .drawIndirectFirstInstance                = false,
       .depthClamp                               = true,
-      .depthBiasClamp                           = false,
+      .depthBiasClamp                           = true,
       .fillModeNonSolid                         = true,
       .depthBounds                              = false,
       .wideLines                                = true,