Do not use depthClampEnable unconditionally.
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Fri, 10 Nov 2017 11:20:36 +0000 (11:20 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 22 Nov 2017 09:45:13 +0000 (04:45 -0500)
Depth clamping is not needed by these tests, so
do not rely on the optional feature when creating
the pipeline object.

Affects:
dEQP-VK.spirv_assembly.*

Components: Vulkan

VK-GL-CTS issue: 846

Change-Id: I248759e6ac209ccbd7661068c3ef5f1dfb8ca501

external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmGraphicsShaderTestUtil.cpp

index e0434c4..92f1bb3 100644 (file)
@@ -3216,7 +3216,7 @@ TestStatus runAndVerifyDefaultPipeline (Context& context, InstanceContext instan
                VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO,     //      VkStructureType sType;
                DE_NULL,                                                                                                        //      const void*             pNext;
                (VkPipelineRasterizationStateCreateFlags)0,
-               DE_TRUE,                                                                                                        //      deUint32                depthClipEnable;
+               DE_FALSE,                                                                                                       //      deUint32                depthClampEnable;
                DE_FALSE,                                                                                                       //      deUint32                rasterizerDiscardEnable;
                VK_POLYGON_MODE_FILL,                                                                           //      VkFillMode              fillMode;
                VK_CULL_MODE_NONE,                                                                                      //      VkCullMode              cullMode;