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