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