Re: [Mesa-dev] [PATCH 7/8] glsl: Replace iterators in ir_reader.cpp with ad-hoc list walking.

2014-01-13 Thread Kenneth Graunke
On 01/13/2014 09:49 AM, Ian Romanick wrote: > On 01/11/2014 02:37 AM, Kenneth Graunke wrote: >> These can't use foreach_list since they want to skip over the first few >> list elements. Just doing the ad-hoc list walking isn't too bad. >> >> Signed-off-by: Kenneth Graunke >> --- >> src/glsl/ir_r

Re: [Mesa-dev] [PATCH 7/8] glsl: Replace iterators in ir_reader.cpp with ad-hoc list walking.

2014-01-13 Thread Ian Romanick
On 01/11/2014 02:37 AM, Kenneth Graunke wrote: > These can't use foreach_list since they want to skip over the first few > list elements. Just doing the ad-hoc list walking isn't too bad. > > Signed-off-by: Kenneth Graunke > --- > src/glsl/ir_reader.cpp | 18 ++ > 1 file changed

[Mesa-dev] [PATCH 7/8] glsl: Replace iterators in ir_reader.cpp with ad-hoc list walking.

2014-01-11 Thread Kenneth Graunke
These can't use foreach_list since they want to skip over the first few list elements. Just doing the ad-hoc list walking isn't too bad. Signed-off-by: Kenneth Graunke --- src/glsl/ir_reader.cpp | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/glsl/ir_