Disable depth clamp for graphics pipeline creation tests.
authorTomasz Owczarek <tomasz.owczarek@arm.com>
Tue, 9 Nov 2021 16:53:02 +0000 (16:53 +0000)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 19 Nov 2021 20:11:36 +0000 (20:11 +0000)
Not all GPUs does support depth clamp feature.
Disable depth clamp in pipeline creation tests as it's not used
by tests itself and isn't required to test pipeline creation.

Affects:
dEQP-VK.pipeline.creation_cache_control.graphics_pipelines.*

Components: Vulkan

VK-GL-CTS issue: 3297

Change-Id: I59ed04bfcd1e5fc4b79dae31e254ff48c3410a5b

external/vulkancts/modules/vulkan/pipeline/vktPipelineCreationCacheControlTests.cpp

index 8e2673f..c1c1bc9 100644 (file)
@@ -608,7 +608,7 @@ VkGraphicsPipelineCreateInfo getPipelineCreateInfoCommon()
                VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO, // sType
                DE_NULL,                                                                                                        // pNext
                VkPipelineRasterizationStateCreateFlags{},                                      // flags
-               VK_TRUE,                                                                                                        // depthClampEnable
+               VK_FALSE,                                                                                                       // depthClampEnable
                VK_TRUE,                                                                                                        // rasterizerDiscardEnable
                VK_POLYGON_MODE_FILL,                                                                           // polygonMode
                VK_CULL_MODE_NONE,                                                                                      // cullMode