blob: e13e61e18eabee3d22c4d11b8be09d16005f6f4c [file] [log] [blame]
enable f16;
fn abs_fd247f() {
var res : f16 = abs(1.0h);
prevent_dce = res;
}
@group(2) @binding(0) var<storage, read_write> prevent_dce : f16;
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_fd247f();
return vec4<f32>();
}
@fragment
fn fragment_main() {
abs_fd247f();
}
@compute @workgroup_size(1)
fn compute_main() {
abs_fd247f();
}