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