Skip to content

mesa/st: Allow loops in GLSL when NIR is enabled, even if the HW can't.

Emma Anholt requested to merge anholt/mesa:i915-fixes into main

The jump lowering enabled by EmitNoLoops breaks GLSL's loop unrolling on various obviously unrollable loops, resulting in a lot of deqp-gles2 and piglit failures. NIR will help unroll whatever GLSL doesn't, so we can trust the driver to apply that after GLSL's unrolling, so no need to ask GLSL to lower all loops.

Fixes: #4979 (closed)

Merge request reports