Commit 2505057a by John Kessenich

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

parent 838d7afc
...@@ -75,9 +75,7 @@ const Decoration NoPrecision = DecorationMax; ...@@ -75,9 +75,7 @@ const Decoration NoPrecision = DecorationMax;
POTENTIALLY_UNUSED POTENTIALLY_UNUSED
const MemorySemanticsMask MemorySemanticsAllMemory = const MemorySemanticsMask MemorySemanticsAllMemory =
(MemorySemanticsMask)(MemorySemanticsUniformMemoryMask | (MemorySemanticsMask)(MemorySemanticsUniformMemoryMask |
MemorySemanticsSubgroupMemoryMask |
MemorySemanticsWorkgroupMemoryMask | MemorySemanticsWorkgroupMemoryMask |
MemorySemanticsCrossWorkgroupMemoryMask |
MemorySemanticsAtomicCounterMemoryMask | MemorySemanticsAtomicCounterMemoryMask |
MemorySemanticsImageMemoryMask); MemorySemanticsImageMemoryMask);
......
...@@ -71,7 +71,7 @@ local_size = (1, 1, 1) ...@@ -71,7 +71,7 @@ local_size = (1, 1, 1)
7: TypeFunction 6(float) 7: TypeFunction 6(float)
10: TypeInt 32 0 10: TypeInt 32 0
11: 10(int) Constant 1 11: 10(int) Constant 1
12: 10(int) Constant 4040 12: 10(int) Constant 3400
13: 10(int) Constant 2 13: 10(int) Constant 2
14: 10(int) Constant 2120 14: 10(int) Constant 2120
15: 10(int) Constant 264 15: 10(int) Constant 264
......
...@@ -93,7 +93,7 @@ spv.310.comp ...@@ -93,7 +93,7 @@ spv.310.comp
63: TypePointer Input 15(int) 63: TypePointer Input 15(int)
64(gl_DeviceIndex): 63(ptr) Variable Input 64(gl_DeviceIndex): 63(ptr) Variable Input
65: 6(int) Constant 1 65: 6(int) Constant 1
66: 6(int) Constant 4040 66: 6(int) Constant 3400
67: 6(int) Constant 16 67: 6(int) Constant 16
68: 6(int) Constant 32 68: 6(int) Constant 32
69: 6(int) Constant 4 69: 6(int) Constant 4
......
...@@ -23,7 +23,7 @@ spv.barrier.vert ...@@ -23,7 +23,7 @@ spv.barrier.vert
11: 7(fvec4) ConstantComposite 10 10 10 10 11: 7(fvec4) ConstantComposite 10 10 10 10
12: TypeInt 32 0 12: TypeInt 32 0
13: 12(int) Constant 1 13: 12(int) Constant 1
14: 12(int) Constant 4040 14: 12(int) Constant 3400
15(c1): 8(ptr) Variable Output 15(c1): 8(ptr) Variable Output
16: 12(int) Constant 72 16: 12(int) Constant 72
20: 12(int) Constant 2056 20: 12(int) Constant 2056
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment