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