Paul Berry <stereotype...@gmail.com> writes: > When analyzing a loop where the loop condition is expressed in the > non-standard order (e.g. "4 > i" instead of "i < 4"), we were > reversing the condition incorrectly, leading to a loop bound that was > off by 1. > > Fixes piglit tests {vs,fs}-loop-bounds-unrolled.shader_test.
Hooray, I'm not the only one that can get this wrong. Reviewed-by: Eric Anholt <e...@anholt.net>
pgpADYbJf8mKy.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev