#version 450 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; layout(binding = 0, std430) buffer SSBO { uint count; uint data[]; } _7; void main() { uint _19 = atomicAdd(_7.count, 1u); if (_19 < 1024u) { _7.data[_19] = gl_GlobalInvocationID.x; } }