mesa/src
Paul Berry 877db5a792 glsl: Fix loop analysis of nested loops.
Previously, when visiting a variable dereference, loop analysis would
only consider its effect on the innermost enclosing loop.  As a
result, when encountering a loop like this:

    for (int i = 0; i < 3; i++) {
      for (int j = 0; j < 3; j++) {
        ...
        i = 2;
      }
    }

it would incorrectly conclude that the outer loop ran three times.

Fixes piglit test "vs-inner-loop-modifies-outer-loop-var.shader_test".

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2013-12-09 10:54:16 -08:00
..
egl wayland: Add support for eglSwapInterval 2013-12-07 22:36:02 -08:00
gallium r300/compiler/tests: Fix line length check in test parser 2013-12-09 09:40:15 -05:00
gbm gbm/dri: hide extension loader symbols 2013-11-25 13:13:47 +01:00
getopt
glsl glsl: Fix loop analysis of nested loops. 2013-12-09 10:54:16 -08:00
glx glx: Add missing null check in gxl/dri2_glx.c 2013-12-03 14:35:41 -07:00
gtest gtest: enable subdir-objects to prevent automake warnings 2013-11-16 14:01:27 +00:00
mapi glapi: Do not include dlfcn.h on Windows. 2013-12-07 14:31:01 -08:00
mesa i965/gen7+: Implement fast color clears for MSAA buffers. 2013-12-09 10:54:10 -08:00
Makefile.am gbm: Link to libwayland-drm if Wayland EGL platform is enabled 2013-08-12 15:16:22 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00