glsl-1.30: Import and modify a mean GraphicsFuzz test from Vulkan CTS

Ian Romanick requested to merge idr/piglit:review/one-iteration-loops into main

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 always 1.

Even with the changes (currently) in mesa!13288 (merged), this test is OOM killed on my 32GB (+ 32GB swap) machine.

Merge request reports