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

7 lines
127 B
WebGPU Shading Language
Raw Normal View History

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