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

void saturate_e40fb6() {
  float2 res = float2(1.0f);
}
float4 vertex_main_inner() {
  saturate_e40fb6();
  return float4(0.0f);
}
fragment void fragment_main() {
  saturate_e40fb6();
}
kernel void compute_main() {
  saturate_e40fb6();
}
vertex vertex_main_outputs vertex_main() {
  return vertex_main_outputs{.tint_symbol=vertex_main_inner()};
}
