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

7 lines
103 B
WebGPU Shading Language

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