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

8 lines
161 B
HLSL
Raw Normal View History

[numthreads(1, 1, 1)]
void f() {
const int a = 4;
const int3 b = int3(1, 2, 3);
const int3 r = (a / (b == int3(0, 0, 0) ? int3(1, 1, 1) : b));
return;
}