Files
Lucina3DS/externals/glslang/Test/spv.volatileAtomic.comp
2025-02-06 22:24:29 +08:00

9 lines
135 B
Plaintext

#version 450 core
layout(set=0, binding=3) volatile buffer D { uint d[]; } d;
void main()
{
atomicExchange(d.d[0], 0);
}