See also mesa#5089 (closed). This modification of the Vulkan CTS test is even more mean because it add an additional loop type:
for (i = 0; i < min(1, x); i++)
Since this kind of loop can execute at most once, it should also execute
at most once. The value of
x is carefully crafted so that it is
Even with the changes (currently) in mesa!13288 (merged), this test is OOM killed on my 32GB (+ 32GB swap) machine.