blob: 8626624503f7fe84686f6e26f0906eb51ad6db22 [file] [log] [blame] [edit]
@compute @workgroup_size(1)
fn main() {
const in = vec2(1.25, 3.75);
let res = modf(in);
let fract : vec2<f32> = res.fract;
let whole : vec2<f32> = res.whole;
}