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

6 lines
102 B
WebGPU Shading Language

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