Fix RAW and WAW hazards in pipeline barrier tests.
authorIgor Ostrowski <igor.ostrowski@intel.com>
Fri, 15 Feb 2019 14:33:42 +0000 (15:33 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 27 Feb 2019 11:54:01 +0000 (06:54 -0500)
commitc46b9e8fe77ba3d2a4ea3d3a5e458d7d95324738
tree491982321568d0a478b36e7f2c03a07d20161530
parentc8880acbecd98aa207676dd777f5b50724cfbec6
Fix RAW and WAW hazards in pipeline barrier tests.

Test was not handling correctly internal state of the visibility and availability operations.
Both access scopes of the barrier must be set correctly to unlock such usage of the resource.

Affects:
dEQP-VK.memory.pipeline_barrier.*

Components: Vulkan
VK-GL-CTS issue: 1589

Change-Id: I7a778dbee8109f060b88beee625ca15de01c7364
external/vulkancts/modules/vulkan/memory/vktMemoryPipelineBarrierTests.cpp