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

6 lines
105 B
WebGPU Shading Language

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