Re: [Mesa-dev] [PATCH] glsl: Remove unused ir_loop_jump::loop pointer.

2012-07-02 Thread Eric Anholt
Kenneth Graunke writes: > 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,

[Mesa-dev] [PATCH] glsl: Remove unused ir_loop_jump::loop pointer.

2012-07-01 Thread Kenneth Graunke
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