glslang/Test/spv.volatileAtomic.comp

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);
}