Since the copy depends on the result of the blit, we should make
the results visible to the copy with VK_ACCESS_TRANSFER_WRITE_BIT.
Components: Vulkan
Affects: dEQP-VK.drm_format_modifiers.export_import.*
Change-Id: I8a9a94657203472ca8842db0cc164c71c087a48c
copyImageToBuffer(vkd, *cmdBuffer2, *outImage,
outputBuffer->get(), tcu::IVec2(imageSize.x(), imageSize.y()),
- 0, VK_IMAGE_LAYOUT_UNDEFINED, 1);
+ VK_ACCESS_TRANSFER_WRITE_BIT, VK_IMAGE_LAYOUT_UNDEFINED, 1);
VK_CHECK(vkd.endCommandBuffer(*cmdBuffer2));