struct tint_symbol {
  float4 value : SV_Position;
};

void fwidthFine_68f4ef() {
  float4 res = fwidth(float4(0.0f, 0.0f, 0.0f, 0.0f));
}

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

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

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

