SPV: Memory model: Reduce set of memory-semantic bits requested for "all".

This commit is contained in:
John Kessenich
2017-12-15 08:51:31 -07:00
parent 838d7afc61
commit 2505057af8
4 changed files with 3 additions and 5 deletions

View File

@@ -75,9 +75,7 @@ const Decoration NoPrecision = DecorationMax;
POTENTIALLY_UNUSED
const MemorySemanticsMask MemorySemanticsAllMemory =
(MemorySemanticsMask)(MemorySemanticsUniformMemoryMask |
MemorySemanticsSubgroupMemoryMask |
MemorySemanticsWorkgroupMemoryMask |
MemorySemanticsCrossWorkgroupMemoryMask |
MemorySemanticsAtomicCounterMemoryMask |
MemorySemanticsImageMemoryMask);