ANV: Not handling separate stencil layouts properly
The Vulkan spec says this about stencil layouts specified in render passes:
If layout only specifies the layout of the depth aspect of the attachment, the layout of the stencil aspect is specified by the
stencilLayout
member of aVkAttachmentReferenceStencilLayout
structure included in the pNext chain. Otherwise, layout describes the layout for all relevant image aspects.
Currently, we look for a VkAttachmentReferenceStencilLayout
and use it regardless of what layout is specified in the VkAttachmentReference
.
+@nchery @llandwerlin as possibly interested parties.