mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-30 06:30:40 +00:00
bfd84a39f2
Also, if this capability is added and the memory model is not otherwise enabled by pragma, enable it as part of postprocessing.
11 lines
233 B
Plaintext
11 lines
233 B
Plaintext
#version 450
|
|
#extension GL_KHR_memory_scope_semantics : require
|
|
|
|
layout (binding = 0) buffer Buffer { uint a; } A;
|
|
|
|
void main()
|
|
{
|
|
atomicLoad(A.a, gl_ScopeQueueFamily, gl_StorageSemanticsBuffer, gl_SemanticsAcquire);
|
|
}
|
|
|