#include <metal_stdlib>

using namespace metal;
half quadBroadcast_78129b() {
  half res = quad_broadcast(1.0h,1);
  return res;
}

fragment void fragment_main(device half* tint_symbol [[buffer(0)]]) {
  *(tint_symbol) = quadBroadcast_78129b();
  return;
}

kernel void compute_main(device half* tint_symbol_1 [[buffer(0)]]) {
  *(tint_symbol_1) = quadBroadcast_78129b();
  return;
}

