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

7 lines
125 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 fract : f32 = res.fract;
}