dawn-cmake/test/intrinsics/modf.wgsl.expected.wgsl

6 lines
119 B
WebGPU Shading Language

[[stage(compute), workgroup_size(1)]]
fn main() {
var whole : f32;
let frac : f32 = modf(1.230000019, &(whole));
}