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