#include <metal_stdlib> | |
using namespace metal; | |
uint2 subgroupAdd_1280c8() { | |
uint2 res = simd_sum(uint2(1u)); | |
return res; | |
} | |
fragment void fragment_main(device uint2* tint_symbol [[buffer(0)]]) { | |
*(tint_symbol) = subgroupAdd_1280c8(); | |
return; | |
} | |
kernel void compute_main(device uint2* tint_symbol_1 [[buffer(0)]]) { | |
*(tint_symbol_1) = subgroupAdd_1280c8(); | |
return; | |
} | |