enable f16;

fn modf_8dbbbf() {
  var res = modf(1.0h);
}

@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
  modf_8dbbbf();
  return vec4<f32>();
}

@fragment
fn fragment_main() {
  modf_8dbbbf();
}

@compute @workgroup_size(1)
fn compute_main() {
  modf_8dbbbf();
}
