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