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