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

8 lines
122 B
HLSL
Raw Normal View History

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