#version 450 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; layout(binding = 0, std430) buffer Buf { vec4 _data[]; } Buf_1; layout(binding = 1, std430) buffer Buf_count { int _count; } Buf_count_1; void _main() { int _25 = atomicAdd(Buf_count_1._count, 1); Buf_1._data[_25] = vec4(1.0); } void main() { _main(); }