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

7 lines
143 B
WebGPU Shading Language

@compute @workgroup_size(1)
fn main() {
let res = frexp(1.22999999999999998224);
let exp : i32 = res.exp;
let fract : f32 = res.fract;
}