From: Petros Bantolas Date: Mon, 18 Sep 2017 16:07:22 +0000 (+0100) Subject: Fix depth & stencil passOp for pipeline.render_to_image tests X-Git-Tag: upstream/1.3.5~2565^2~121^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09c67dc11c94f48a03a91c5be920fb940cdc792c;p=platform%2Fupstream%2FVK-GL-CTS.git 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 --- 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