blob: 277f530447e991a9bac919b8612af0ad5fa98235 [file] [log] [blame]
@compute @workgroup_size(1)
fn main() {
const const_in = vec2(1.25, 3.75);
let runtime_in = vec2(1.25, 3.75);
var res = modf(const_in);
res = modf(runtime_in);
res = modf(const_in);
let fract : vec2<f32> = res.fract;
let whole : vec2<f32> = res.whole;
}