Fix invalid memory semantics in barrier tests
authorAndrey Tuganov <andreyt@google.com>
Mon, 5 Feb 2018 17:14:40 +0000 (12:14 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 22 Feb 2018 11:07:19 +0000 (06:07 -0500)
commite14d8832445f75d9bd624cd4f6af15c8d84bc5cb
tree1be144844deecf9d42e736689654acd2075cdc22
parente2ba3181345e6c77fffba025b2b18a3181a94c57
Fix invalid  memory semantics in barrier tests

The tests were breaking the rule:
"If the semantics for OpControlBarrier is not None,
then it must include at least one storage class."

https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#spirvenv-module-validation

Affects: dEQP-VK.spirv_assembly.instruction.graphics.barrier.*
Components: Vulkan

VK-GL-CTS issue: 989

Change-Id: I3a1d42ae6f0a6ca63e3f32b76f09fa736ff49dc0
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp