summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-11-22 23:03:12 -0500
committerJason Ekstrand <[email protected]>2016-11-28 19:32:14 -0800
commitd2280a007a0425726c941e8794004f2f5ba98839 (patch)
tree5f203a6b2b44b9380f1d2970f615bca1d2e26589
parente2c669a56bedc25656600aef12a6174f6cc90315 (diff)
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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index d9ab1b153fd..08bc247939f 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,