ir_reader: Convert to a class.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 1 Jan 2011 09:17:59 +0000 (01:17 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 13 Jan 2011 07:55:34 +0000 (23:55 -0800)
commitb74ff382a42bcb81bbf0dc6a85bb38404c46260d
tree838cc3aa482e651148b583ffa14cfb657074cc5b
parentec7e4f0ec5c9b718bbfa33a706149030be86d2d9
ir_reader: Convert to a class.

This makes it unnecessary to pass _mesa_glsl_parse_state around
everywhere, making at least the prototypes a lot easier to read.

It's also more C++-ish than a pile of static C functions.
src/glsl/ir_reader.cpp