blob: 2531d47aff96cb2ac75adbe26298cdef2a8d76d9 [file] [log] [blame]
@compute @workgroup_size(1)
fn main() {
const const_in = 1.23;
let runtime_in = 1.23;
var res = modf(const_in);
res = modf(runtime_in);
res = modf(const_in);
let fract : f32 = res.fract;
let whole : f32 = res.whole;
}