diff options
author | David Neto <dneto@google.com> | 2019-06-12 17:56:03 -0400 |
---|---|---|
committer | David Neto <dneto@google.com> | 2019-06-12 17:58:43 -0400 |
commit | 9baa9e099e4707e07f68da54d3b5ce381b6d9475 (patch) | |
tree | 24e73657b9f0a64b584de11c2f0c8020610bf14e /include/spirv/unified1/spirv.hpp11 | |
parent | 9cf7c3a7d2d203b1ee35896547b9644e28d9280e (diff) | |
download | SPIRV-Headers-9baa9e099e4707e07f68da54d3b5ce381b6d9475.tar.gz |
Add Volatile to Memory Semantics, for SPV_KHR_vulkan_memory_model
From Khronos-internal issue 476: Update SPV_KHR_vulkan_memory_model
to be able to express volatile OpAtomic* operations.
Also regenerate the language-specific headers. This step fixes
two problems with UserTypeGOOGLE in those headers.
Diffstat (limited to 'include/spirv/unified1/spirv.hpp11')
-rw-r--r-- | include/spirv/unified1/spirv.hpp11 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11 index 949435c..ea82d53 100644 --- a/include/spirv/unified1/spirv.hpp11 +++ b/include/spirv/unified1/spirv.hpp11 @@ -633,6 +633,7 @@ enum class MemorySemanticsShift : unsigned { OutputMemoryKHR = 12, MakeAvailableKHR = 13, MakeVisibleKHR = 14, + Volatile = 15, Max = 0x7fffffff, }; @@ -651,6 +652,7 @@ enum class MemorySemanticsMask : unsigned { OutputMemoryKHR = 0x00001000, MakeAvailableKHR = 0x00002000, MakeVisibleKHR = 0x00004000, + Volatile = 0x00008000, }; enum class MemoryAccessShift : unsigned { |