dawn-cmake/test/tint/expressions/binary/left-shift/vector-vector/u32.wgsl.expected.dxc.hlsl

8 lines
161 B
HLSL
Raw Normal View History

[numthreads(1, 1, 1)]
void f() {
const uint3 a = uint3(1u, 2u, 3u);
const uint3 b = uint3(4u, 5u, 6u);
const uint3 r = (a << (b & (31u).xxx));
return;
}