#include <metal_stdlib>

using namespace metal;
float quadBroadcast_e6d39d() {
  float arg_0 = 1.0f;
  float res = quad_broadcast(arg_0,1);
  return res;
}

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

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

