blob: 5d8aff290fb54cd3be47ddabe65f565de500f85a [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
uint subgroupAdd_b61df7() {
uint res = simd_sum(1u);
return res;
}
fragment void fragment_main(device uint* tint_symbol [[buffer(0)]]) {
*(tint_symbol) = subgroupAdd_b61df7();
return;
}
kernel void compute_main(device uint* tint_symbol_1 [[buffer(0)]]) {
*(tint_symbol_1) = subgroupAdd_b61df7();
return;
}