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

6 lines
103 B
WebGPU Shading Language

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