dawn-cmake/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.dxc.hlsl

8 lines
130 B
HLSL

[numthreads(1, 1, 1)]
void f() {
const uint a = 1u;
const uint b = 2u;
const uint r = (a / (b == 0u ? 1u : b));
return;
}