blob: 4aa4ae8348af1e27b33e6ccd23d7556e14256557 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
float2 subgroupExclusiveAdd_4c8024() {
float2 res = simd_prefix_exclusive_sum(float2(1.0f));
return res;
}
fragment void fragment_main(device float2* tint_symbol [[buffer(0)]]) {
*(tint_symbol) = subgroupExclusiveAdd_4c8024();
return;
}
kernel void compute_main(device float2* tint_symbol_1 [[buffer(0)]]) {
*(tint_symbol_1) = subgroupExclusiveAdd_4c8024();
return;
}