Validation Warning: [ BestPractices-ImageBarrierAccessLayout ] | MessageID = 0xf35d019f
vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[4] image is VkImage 0x130000000013[Depth] and accessMask is VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT|VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT|VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, but for layout VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL expected accessMask are VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT|VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT.
Objects: 1
[0] VkImage 0x130000000013[Depth]
When using Depth Resolve Image this message becomes unclear if issue is the access mask or the layout
This should provide a better message
When using Depth Resolve Image this message becomes unclear if issue is the access mask or the layout
This should provide a better message