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

6 lines
106 B
WebGPU Shading Language

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