#include <metal_stdlib>
#include <simd/simd.h>

using namespace metal;

struct SSBO;

struct Registers
{
    uint2 bda;
};

struct SSBO
{
    float data[1];
};

constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(256u, 1u, 1u);

kernel void main0(constant Registers& _10 [[buffer(0)]], uint3 gl_GlobalInvocationID [[thread_position_in_grid]])
{
    (reinterpret_cast<device SSBO*>(as_type<ulong>(_10.bda)))->data[gl_GlobalInvocationID.x] = 0.0;
}

