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