blob: 684dca718b4e3d5ee05377dcc1379dcadf5e1a36 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
int2 subgroupExclusiveAdd_f0f712() {
int2 arg_0 = int2(1);
int2 res = simd_prefix_exclusive_sum(arg_0);
return res;
}
fragment void fragment_main(device int2* tint_symbol [[buffer(0)]]) {
*(tint_symbol) = subgroupExclusiveAdd_f0f712();
return;
}
kernel void compute_main(device int2* tint_symbol_1 [[buffer(0)]]) {
*(tint_symbol_1) = subgroupExclusiveAdd_f0f712();
return;
}