blob: 870c83b7a4d82fc39fab3b4bfe60e00055c489a9 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
half subgroupExclusiveAdd_4a1568() {
half res = simd_prefix_exclusive_sum(1.0h);
return res;
}
fragment void fragment_main(device half* tint_symbol [[buffer(0)]]) {
*(tint_symbol) = subgroupExclusiveAdd_4a1568();
return;
}
kernel void compute_main(device half* tint_symbol_1 [[buffer(0)]]) {
*(tint_symbol_1) = subgroupExclusiveAdd_4a1568();
return;
}