dawn-cmake/test/expressions/bitcast/scalar/f32-u32.wgsl.expected.wgsl

6 lines
103 B
WebGPU Shading Language

[[stage(compute), workgroup_size(1)]]
fn f() {
let a : f32 = 1.0;
let b : u32 = bitcast<u32>(a);
}