Fix Image layout transitions for diff_attachments_*
authorTony Zlatinski <tzlatinski@nvidia.com>
Thu, 13 Aug 2020 16:26:45 +0000 (11:26 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 20 Aug 2020 18:29:18 +0000 (14:29 -0400)
commitce82fe2a30cce820921fb834850dac80f1a27502
tree50a36c8d65835a50fdf6891c12823a4f9b6dc6ca
parent33456262fdb5a5622f462a5fafb215ba47a72323
Fix Image layout transitions for diff_attachments_*

Fix an incorrect image layout transition before
using images as COLOR ATTACHMENT in a render pass
for the dEQP-VK.pipeline.framebuffer_attachment.diff_attachments_*
tests.
After the clear operation, the test under question,
should have transitioned the images to
COLOR_ATTACHMENT_OPTIMAL with ACCESS_COLOR_ATTACHMENT_WRITE.
Instead, the layout was incorrectly transitioned to
VK_ACCESS_COLOR_ATTACHMENT_READ_BIT / VK_IMAGE_LAYOUT_GENERAL.

Affects:
dEQP-VK.pipeline.framebuffer_attachment.diff_attachments_*

Components: Vulkan

VK-GL-CTS issue: 2545

Change-Id: I815b1cf459b033f02871eebff5b71cb1a45b9d1c
external/vulkancts/modules/vulkan/pipeline/vktPipelineFramebufferAttachmentTests.cpp