#include <metal_stdlib> | |
using namespace metal; | |
float subgroupBroadcast_08beca() { | |
float res = simd_broadcast(1.0f,ushort(1u)); | |
return res; | |
} | |
fragment void fragment_main(device float* tint_symbol [[buffer(0)]]) { | |
*(tint_symbol) = subgroupBroadcast_08beca(); | |
return; | |
} | |
kernel void compute_main(device float* tint_symbol_1 [[buffer(0)]]) { | |
*(tint_symbol_1) = subgroupBroadcast_08beca(); | |
return; | |
} | |