#include <metal_stdlib>

using namespace metal;
half3 subgroupBroadcast_41e5d7() {
  half3 res = simd_broadcast(half3(1.0h),ushort(1u));
  return res;
}

kernel void compute_main(device packed_half3* tint_symbol [[buffer(0)]]) {
  *(tint_symbol) = packed_half3(subgroupBroadcast_41e5d7());
  return;
}

