dawn-cmake/test/tint/expressions/binary/left-shift/scalar-scalar/i32.wgsl.expected.wgsl

7 lines
92 B
WebGPU Shading Language

@compute @workgroup_size(1)
fn f() {
let a = 1;
let b = 2u;
let r : i32 = (a << b);
}