#include <metal_stdlib>

using namespace metal;
struct VertexOutput {
  float4 pos;
  int loc0;
};

VertexOutput foo(float x) {
  VertexOutput const tint_symbol = {float4(x, x, x, 1.0f), 42};
  return tint_symbol;
}

VertexOutput vert_main1() {
  return foo(0.5f);
}

VertexOutput vert_main2() {
  return foo(0.25f);
}

