dawn-cmake/test/tint/builtins/modf.wgsl.expected.wgsl

7 lines
135 B
WebGPU Shading Language

@compute @workgroup_size(1)
fn main() {
let res = modf(1.230000019);
let fract : f32 = res.fract;
let whole : f32 = res.whole;
}