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