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