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