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