Add Vulkan-specific validation rules for atomics
authorAndrey Tuganov <andreyt@google.com>
Tue, 6 Feb 2018 17:10:11 +0000 (12:10 -0500)
committerDavid Neto <dneto@google.com>
Wed, 7 Feb 2018 18:31:35 +0000 (13:31 -0500)
commit2f0c3aaa119960a38309598e7b77905d4e38d046
tree9f4cb5154484dc03fe757432144316e0d0dd07c2
parent30138975561d568010e39960401cccd815f55edd
Add Vulkan-specific validation rules for atomics

Added atomic instructions validation rules from
https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#spirvenv-module-validation
source/val/validation_state.cpp
source/val/validation_state.h
source/validate_atomics.cpp
source/validate_barriers.cpp
test/val/val_atomics_test.cpp