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
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