Fix RAW and WAW hazards in pipeline barrier tests.
authorIgor Ostrowski <igor.ostrowski@intel.com>
Thu, 31 Jan 2019 10:26:07 +0000 (11:26 +0100)
committerIgor Ostrowski <igor.ostrowski@intel.com>
Fri, 15 Feb 2019 14:28:33 +0000 (15:28 +0100)
commit747239933e940fd72c6da72c90d40e5d8bc4b9a6
tree50c1fe653426fefa7f3914a39f09826cab89b13e
parent7141cb07eb35481ed658fac46590fc06631e958a
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: Ie2b47f160a0181948de1a37d1e7e5202a94d493e
external/vulkancts/modules/vulkan/memory/vktMemoryPipelineBarrierTests.cpp