enable f16;

fn bitcast_9ca42c() {
  var arg_0 = 1.0f;
  var res : vec2<f16> = bitcast<vec2<f16>>(arg_0);
  prevent_dce = res;
}

@group(2) @binding(0) var<storage, read_write> prevent_dce : vec2<f16>;

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

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

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