Check depth bias clamp feature when needed
authorRicardo Garcia <rgarcia@igalia.com>
Tue, 21 Sep 2021 10:27:52 +0000 (12:27 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 1 Oct 2021 20:20:50 +0000 (20:20 +0000)
commitfe067c6b92a44cb8468825f16b240dacd8cf74dd
tree9431c93e83fbab0c66ab783e5f3b3a24a6ef1879
parent16c5c0afaa0c3b85ec017c91d8c5f2965ef899b9
Check depth bias clamp feature when needed

The inverted depth range tests were using the depth bias clamp feature
with a nonzero depth bias clamp value without checking if the feature
was available in the device.

Affected tests:
dEQP-VK.draw.inverted_depth_ranges.*

Components: Vulkan
VK-GL-CTS issue: 3128

Change-Id: I471235a0da38eb4c244e87e0d5851b8cb810f990
external/vulkancts/modules/vulkan/draw/vktDrawInvertedDepthRangesTests.cpp