Serialize region copies for YCbCr copy tests
authorPanagiotis Apostolou <panagiotis.apostolou@arm.com>
Thu, 7 Sep 2017 11:54:51 +0000 (13:54 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Sun, 1 Oct 2017 13:35:44 +0000 (09:35 -0400)
commit9fe7d4753721d10235cbf38194cf7c8cf2eb7d19
tree74b6c25f5234eb84e25a02ed2cbacfac6448a5c5
parent316a84b9581c6020c80083f5e03eff8bec377145
Serialize region copies for YCbCr copy tests

As the generated regions can overlap - force all calls
of vkCmdCopyImage() to be executed sequentially by adding
a pipeline barrier between each call to avoid producing
undefined results.

Affects:
dEQP-VK.ycbcr.copy.*

Components: Vulkan

VK-GL-CTS issue: 716

Change-Id: Ifed67cdc077a8c03630b36f8aa59bd6dae0578a3
external/vulkancts/modules/vulkan/ycbcr/vktYCbCrCopyTests.cpp