Do not use depthClampEnable unconditionally.
authorJorg Wagner <jorg.wagner@arm.com>
Mon, 6 Nov 2017 13:56:49 +0000 (14:56 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 9 Nov 2017 12:48:50 +0000 (07:48 -0500)
Depth clamping is not needed by this test, so
do not rely on the optional feature when creating
the pipeline object.

Affects:
dEQP-VK.api.smoke.*

Components: Vulkan

VK-GL-CTS issue: 817

Change-Id: I6794f7f5d17d7610ff43dcb4080a6a30e12ed95b

external/vulkancts/modules/vulkan/api/vktApiSmokeTests.cpp

index 41bdd3e..233dcaf 100644 (file)
@@ -595,7 +595,7 @@ tcu::TestStatus renderTriangleTest (Context& context)
                VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO,     // sType
                DE_NULL,                                                                                                        // pNext
                0u,                                                                                                                     // flags
-               VK_TRUE,                                                                                                        // depthClampEnable
+               VK_FALSE,                                                                                                       // depthClampEnable
                VK_FALSE,                                                                                                       // rasterizerDiscardEnable
                VK_POLYGON_MODE_FILL,                                                                           // polygonMode
                VK_CULL_MODE_NONE,                                                                                      // cullMode