blob: e005ad418a584ad759f6f0ed7d166d8927731883 [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;
}