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

8 lines
119 B
HLSL

[numthreads(1, 1, 1)]
void f() {
const int a = 1;
const uint b = 2u;
const int r = (a << (b & 31u));
return;
}