SPV: Turn on atomic-storage functionality for SPIR-V.
This is used by OpenGL, but not Vulkan. Includes: - atomicCounter, atomicIncrement, atomicCounterDecrement - atomic_uint layout-offset checking - AtomicStorage capability
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#version 310 es
|
||||
#version 450
|
||||
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ void main()
|
||||
func(counter);
|
||||
uint val = atomicCounter(countArr[2]);
|
||||
atomicCounterDecrement(counter);
|
||||
atomicCounterIncrement(counter);
|
||||
}
|
||||
|
||||
shared int atomi;
|
||||
|
||||
Reference in New Issue
Block a user