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