aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-03-26 10:31:26 +1100
committerTimothy Arceri <[email protected]>2018-03-27 09:15:02 +1100
commit56b867395dee1a48594b27987d3bf68a4e745dda (patch)
tree11bbf7f08900ed3c2e9db88cb9cb94171206d864 /src/gallium/winsys
parentdc94a0506f1d267a761961d3ac905d77de3dae2e (diff)
glsl: fix infinite loop caused by bug in loop unrolling pass
Just checking for 2 jumps is not enough to be sure we can do a complex loop unroll. We need to make sure we also have also found 2 loop terminators. Without this we were attempting to unroll a loop where the second jump was nested inside multiple ifs which loop analysis is unable to detect as a terminator. We ended up splicing out the first terminator but failed to actually unroll the loop, this resulted in the creation of a possible infinite loop. Fixes: 646621c66da9 "glsl: make loop unrolling more like the nir unrolling path" Tested-by: Gert Wollny <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105670
Diffstat (limited to 'src/gallium/winsys')
0 files changed, 0 insertions, 0 deletions