diff options
author | Paul Berry <[email protected]> | 2013-01-07 18:10:30 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-01-08 09:08:53 -0800 |
commit | 09df6bb96d5d7b987de6cd48d87d175e5cd2ccf3 (patch) | |
tree | 6443c3ae662c1498ed2811c47244e5da14305bd6 /src/glsl/Android.mk | |
parent | 844d14ebee3522281252da03615ac96df7440610 (diff) |
glsl: Fix loop bounds detection.
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.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/Android.mk')
0 files changed, 0 insertions, 0 deletions