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>
Mon, 2 Oct 2017 07:06:59 +0000 (03:06 -0400)
commiteec0cbe0f6b79ef10f8e72834bfc30715f88e253
treed60d42b1135aab005306ea16c30aee44877d8bc6
parenta0eb0a84c1ef10e807817ccb65bbaa0c95f99d99
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
(cherry picked from commit 9fe7d4753721d10235cbf38194cf7c8cf2eb7d19)
external/vulkancts/modules/vulkan/ycbcr/vktYCbCrCopyTests.cpp