blob: ff6dade55c3c79b545d7c68805696ec9091252cd [file] [log] [blame]
fn bitcast_ca5c3f() {
var res : f32 = bitcast<f32>(1i);
prevent_dce = res;
}
@group(2) @binding(0) var<storage, read_write> prevent_dce : f32;
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
bitcast_ca5c3f();
return vec4<f32>();
}
@fragment
fn fragment_main() {
bitcast_ca5c3f();
}
@compute @workgroup_size(1)
fn compute_main() {
bitcast_ca5c3f();
}