blob: 86d89a53e566aa1b43eac38ba2055701dbc4299d [file] [log] [blame]
[numthreads(1, 1, 1)]
void f() {
const int3 a = int3(1, 2, 3);
const int3 b = int3(4, 5, 6);
const int3 r = (a % (b == int3(0, 0, 0) ? int3(1, 1, 1) : b));
return;
}