Fix image barriers in image to image copy tests
authorziga-lunarg <ziga@lunarg.com>
Sat, 17 Sep 2022 13:08:43 +0000 (15:08 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 6 Oct 2022 15:46:40 +0000 (15:46 +0000)
commitc8cbf5df1ae24c0e0e5a892b28102355fb9bb339
tree496a4f74f8508334bae9e93bf713925bbb9034e4
parent68d7a2a9c5433d6eb5686e8b1ccbff92192e7165
Fix image barriers in image to image copy tests

The same image barriers are used twice if clearDestination is used,
the oldLayout of the second barrier does not match the current layout of
the image

Components: Vulkan

VK-GL-CTS issue: 3956

Affected tests:
dEQP-VK.api.copy_and_blit.*.image_to_image.*

Change-Id: I2623e70f3d4f0b97f9f941e4e6cb2760fd2c9d74
external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp