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

6 lines
95 B
WebGPU Shading Language

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