The last parameter is an access flag, not a pipeline stage one.
As the default value is already correct, removing the last
parameter is enough.
Fixes https://gitlab.khronos.org/Tracker/vk-gl-cts/issues/1511
Components: Vulkan
VK-GL-CTS issue: 1511
Affects: dEQP-VK.texture.*
Change-Id: Ib261482d4a9fae911fbda6ad5a45548a02430c1a
(cherry picked from commit
92491133746a3d1715a683dad7f5516096c79d8f)
// Copy Image
{
- copyImageToBuffer(vkd, *commandBuffer, m_multisampling ? *m_resolvedImage : *m_image, *m_resultBuffer, tcu::IVec2(m_renderWidth, m_renderHeight), VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT);
+ copyImageToBuffer(vkd, *commandBuffer, m_multisampling ? *m_resolvedImage : *m_image, *m_resultBuffer, tcu::IVec2(m_renderWidth, m_renderHeight));
addImageTransitionBarrier(*commandBuffer,
m_multisampling ? *m_resolvedImage : *m_image,