#version 450 #extension GL_EXT_nonuniform_qualifier : require layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; layout(set = 0, binding = 0, std430) buffer SSBO { uint v; } ssbos[]; void main() { uint _18 = gl_GlobalInvocationID.z; uint _25 = atomicAdd(ssbos[nonuniformEXT(_18)].v, 1u); }