blob: 9444586cda0670f07772ab85843b69da62147b99 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
half3 subgroupInclusiveAdd_7f2040() {
half3 res = simd_prefix_inclusive_sum(half3(1.0h));
return res;
}
fragment void fragment_main(device packed_half3* tint_symbol [[buffer(0)]]) {
*(tint_symbol) = packed_half3(subgroupInclusiveAdd_7f2040());
return;
}
kernel void compute_main(device packed_half3* tint_symbol_1 [[buffer(0)]]) {
*(tint_symbol_1) = packed_half3(subgroupInclusiveAdd_7f2040());
return;
}