#include <metal_stdlib> | |
using namespace metal; | |
half subgroupShuffleUp_bbf7f4() { | |
half arg_0 = 1.0h; | |
uint arg_1 = 1u; | |
half res = simd_shuffle_up(arg_0,arg_1); | |
return res; | |
} | |
fragment void fragment_main(device half* tint_symbol [[buffer(0)]]) { | |
*(tint_symbol) = subgroupShuffleUp_bbf7f4(); | |
return; | |
} | |
kernel void compute_main(device half* tint_symbol_1 [[buffer(0)]]) { | |
*(tint_symbol_1) = subgroupShuffleUp_bbf7f4(); | |
return; | |
} | |