RWByteAddressBuffer ssbos[] : register(u0, space0);

static uint3 gl_GlobalInvocationID;
struct SPIRV_Cross_Input
{
    uint3 gl_GlobalInvocationID : SV_DispatchThreadID;
};

void comp_main()
{
    uint _24 = gl_GlobalInvocationID.z;
    uint _25;
    ssbos[NonUniformResourceIndex(_24)].InterlockedAdd(0, 1u, _25);
}

[numthreads(1, 1, 1)]
void main(SPIRV_Cross_Input stage_input)
{
    gl_GlobalInvocationID = stage_input.gl_GlobalInvocationID;
    comp_main();
}
