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