mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-10 04:20:06 +00:00
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);
|
||
|
}
|
||
|
|