struct tint_symbol {
  float4 value : SV_Position;
};

void clamp_2bde41() {
  float4 res = clamp(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}

tint_symbol vertex_main() {
  clamp_2bde41();
  const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
  return tint_symbol_1;
}

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

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

