struct tint_symbol {
  float4 value : SV_Position;
};

void ceil_96f597() {
  float2 res = ceil(float2(0.0f, 0.0f));
}

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

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

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

