Remove unconditional depth_clamping for 1.1.2
authorSimen Kaspersen <Simen.Kaspersen@arm.com>
Thu, 2 Aug 2018 13:17:00 +0000 (15:17 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 28 Aug 2018 08:21:33 +0000 (04:21 -0400)
Changed depthClampEnable from VK_TRUE to VK_FALSE where it is not needed.
Depth clamp specific tests in builtin_var.fragdepth set as not supported for incompatible systems.

Affects:
dEQP-VK.pipeline.early_destroy.*
dEQP-VK.api.object_management.*.graphics_pipeline
dEQP-VK.binding_model.shader_access.*
dEQP-VK.glsl.builtin_var.fragdepth.*
dEQP-VK.synchronization.smoke.*
dEQP-VK.device_group.*

Components: Vulkan

VK-GL-CTS issue: 1286

Change-Id: I88271dda6001c63208b28d615ceab20bc597b743

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

index ae95fa1..5a03e95 100644 (file)
@@ -141,7 +141,7 @@ tcu::TestStatus testEarlyDestroy (Context& context, bool usePipelineCache)
                VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO,     // VkStructureType                            sType;
                DE_NULL,                                                                                                        // const void*                                pNext;
                0u,                                                                                                                     // VkPipelineRasterizationStateCreateFlags    flags;
-               VK_TRUE,                                                                                                        // VkBool32                                   depthClampEnable;
+               VK_FALSE,                                                                                                       // VkBool32                                   depthClampEnable;
                VK_TRUE,                                                                                                        // VkBool32                                   rasterizerDiscardEnable;
                VK_POLYGON_MODE_FILL,                                                                           // VkPolygonMode                              polygonMode;
                VK_CULL_MODE_BACK_BIT,                                                                          // VkCullModeFlags                            cullMode;