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

7 lines
134 B
WebGPU Shading Language

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