dawn-cmake/test/tint/bug/tint/1757.wgsl

8 lines
228 B
WebGPU Shading Language

// TODO(crbug.com/tint/1757): Remove this test once the deprecation period for `frexp().sig` is over
@compute @workgroup_size(1)
fn main() {
let res = frexp(1.23);
let exp : i32 = res.exp;
let sig : f32 = res.sig;
}