blob: 5c894475927b6835dbfc2fb1c149d7258a022a67 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
uint4 subgroupInclusiveAdd_8bbe75() {
uint4 res = simd_prefix_inclusive_sum(uint4(1u));
return res;
}
fragment void fragment_main(device uint4* tint_symbol [[buffer(0)]]) {
*(tint_symbol) = subgroupInclusiveAdd_8bbe75();
return;
}
kernel void compute_main(device uint4* tint_symbol_1 [[buffer(0)]]) {
*(tint_symbol_1) = subgroupInclusiveAdd_8bbe75();
return;
}