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