Fix crashes on depth stencil resolve tests with separate layouts
Mesa drivers were crashing in depth stencil resolve tests when
used with separate layouts.
The issue was that 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 a
VkAttachmentReferenceStencilLayout structure included in the
pNext chain. We were not setting it.
Affected tests:
dEQP-VK.renderpass2.depth_stencil_resolve.*separate_layouts*
Components: Vulkan
VK-GL-CTS issue: 3157
Change-Id: I72f8fdba88717ab0442501911fb26a7469da65d8
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>