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

8 lines
137 B
HLSL
Raw Normal View History

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