glsl: Replace iterators in ir_reader.cpp with ad-hoc list walking.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Jan 2014 01:08:33 +0000 (17:08 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 13 Jan 2014 19:49:45 +0000 (11:49 -0800)
commit826d9fb8c030096d94aa3d09180bc76c532cac1b
tree25da71b122227c7c7f39b8b14b64e22cbaee4ce1
parent48d0faaa4388f411ea64fef8f4be04c22d02a4cf
glsl: Replace iterators in ir_reader.cpp with ad-hoc list walking.

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 <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir_reader.cpp