void min_af326d() {
  float res = min(1.0f, 1.0f);
}

void vertex_main() {
  min_af326d();
  return;
}

void fragment_main() {
  min_af326d();
  return;
}

[numthreads(1, 1, 1)]
void compute_main() {
  min_af326d();
  return;
}

