Use the correct stencilInitialLayout for unused resolve targets with separate stencil
authorJason Ekstrand <jason.ekstrand@collabora.com>
Fri, 11 Feb 2022 00:20:08 +0000 (18:20 -0600)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 17 Feb 2022 19:48:33 +0000 (19:48 +0000)
commit028f8afadf0731088571438d03fbaceba70a881c
treee2f603913b779447f3edf405c88987407417c323
parent725c71fdc2a79cbe3ad6dfecc76db84e9af567b1
Use the correct stencilInitialLayout for unused resolve targets with separate stencil

The initial stencil layout was always being specified as UNDEFINED even
though, in the unused resolve target case, we clear it with
vkCmdClearDepthStencilImage() and need an initial layout of
TRANSFER_SRC_OPTIMAL.

Components: Vulkan
Affects: dEQP-VK.renderpass2.depth_stencil_resolve.*separate_layouts.*

Change-Id: Id0e0dcd2066d02758875a786c5634b23c893f7a2
external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilResolveTests.cpp