#include <metal_stdlib>

using namespace metal;
float2 subgroupBroadcastFirst_6945f6() {
  float2 res = simd_broadcast_first(float2(1.0f));
  return res;
}

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

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

