Fix pipeline barrier for clearing multiview attachment
authorMateusz Zych <Mateusz.Zych@amd.com>
Sat, 14 Apr 2018 00:35:25 +0000 (20:35 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 11 May 2018 11:03:49 +0000 (07:03 -0400)
commit603a38f4299dba19b32dde75903ffb4bacd8bd41
treeb290b6209b558ad60251a3f1b60aef2113f904c9
parent3272924fcac1a683932c789842e1e89c68c590d3
Fix pipeline barrier for clearing multiview attachment

Specify correct destination access mask (VK_ACCESS_TRANSFER_WRITE_BIT) and
destination pipeline stage (VK_PIPELINE_STAGE_TRANSFER_BIT) for
transfer operation clearing all Views (array layers) of multiview attachment
using vkCmdClearColorImage().

Components: Vulkan

VK-GL-CTS Issue: 1085

Affects:
    dEQP-VK.multiview.*

Change-Id: Ic87cd1d5a4c7373c3678c96fe942a5dde46ea03f
external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderTests.cpp