From 09c67dc11c94f48a03a91c5be920fb940cdc792c Mon Sep 17 00:00:00 2001 From: Petros Bantolas Date: Mon, 18 Sep 2017 17:07:22 +0100 Subject: [PATCH] Fix depth & stencil passOp for pipeline.render_to_image tests Affects: dEQP-VK.pipeline.render_to_image.*_array* with stencil attachments Those tests render to each layer of the texture in consecutive subpasses. With a depth/stencil passOp of VK_STENCIL_OP_ZERO, subpasses after the first one fail the stencil test and skip the render. Components: Vulkan VK-GL-CTS issue: 678 Change-Id: Ia704192b8d7e316dacaa7549faa5cb5aa0def60e --- .../modules/vulkan/pipeline/vktPipelineRenderToImageTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/pipeline/vktPipelineRenderToImageTests.cpp b/external/vulkancts/modules/vulkan/pipeline/vktPipelineRenderToImageTests.cpp index b2825f2ef..df539283f 100644 --- a/external/vulkancts/modules/vulkan/pipeline/vktPipelineRenderToImageTests.cpp +++ b/external/vulkancts/modules/vulkan/pipeline/vktPipelineRenderToImageTests.cpp @@ -334,7 +334,7 @@ Move makeGraphicsPipeline (const DeviceInterface& vk, const VkStencilOpState stencilOpState = makeStencilOpState( VK_STENCIL_OP_KEEP, // stencil fail - VK_STENCIL_OP_ZERO, // depth & stencil pass + VK_STENCIL_OP_KEEP, // depth & stencil pass VK_STENCIL_OP_KEEP, // depth only fail VK_COMPARE_OP_EQUAL, // compare op ~0u, // compare mask -- 2.34.1