#include <metal_stdlib>
using namespace metal;
struct vertex_main_outputs {
  float4 tint_symbol [[position]];
};

void smoothstep_66e4bd() {
  float3 res = float3(0.5f);
}
float4 vertex_main_inner() {
  smoothstep_66e4bd();
  return float4(0.0f);
}
fragment void fragment_main() {
  smoothstep_66e4bd();
}
kernel void compute_main() {
  smoothstep_66e4bd();
}
vertex vertex_main_outputs vertex_main() {
  return vertex_main_outputs{.tint_symbol=vertex_main_inner()};
}
