mesa/src
Kenneth Graunke b1802a2115 glsl: Remove unused ir_loop_jump::loop pointer.
Commit 0c005bd7 intended to make ir_loop_jump::mode public, but also
accidentally added a new pointer to the enclosing loop.  Furthermore, it
tried to initialize the new field by adding "this->loop = loop;" to the
constructor, but since there is no loop parameter, this only initialized
the field to itself---so it will likely be a garbage pointer.

A lot of code, such as lower_jumps, allocates new loop jumps without
setting this field appropriately, so any uses would probably just crash.

Thankfully, there were none, so we can just delete the field.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51574
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2012-07-02 11:08:59 -07:00
..
egl automake: Convert src/egl/Makefile to automake. 2012-06-21 09:58:12 -07:00
gallium gallium/tgsi: Don't declare temps individually when they are all similar. 2012-07-02 12:14:53 +01:00
gbm gbm: Add gbm_bo_write entry point 2012-05-03 10:57:32 -04:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: Remove unused ir_loop_jump::loop pointer. 2012-07-02 11:08:59 -07:00
glu glu: fix two Clang warnings 2012-05-21 08:29:23 -06:00
glx glx/tests: Fix signed/unsigned comparison warnings. 2012-06-20 11:42:42 -07:00
gtest gtest: Don't actually install a library. 2012-04-16 11:25:39 -07:00
mapi glapi/gen: fix out of tree build 2012-07-02 15:13:58 +00:00
mesa meta: Don't alter fragment color clamp in DrawPixels(). 2012-07-02 11:08:48 -07:00
.gitignore automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript scons: add code to generate the various GL API files 2012-05-31 09:40:35 -06:00