glsl: Split out ir_reader's ability to read ir_dereference_variables.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 22 Sep 2011 21:29:53 +0000 (14:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Apr 2012 21:15:38 +0000 (14:15 -0700)
commit622eed075092a0325e0927bf2f9ef29f20bbf416
tree45bdfd49a1c6386b32bd74d290e919838e0117ee
parentd0fa0cb52cebdcd0ca483b9cd7af6be2f228b8dc
glsl: Split out ir_reader's ability to read ir_dereference_variables.

Most of the time, we just want to read an ir_dereference, so there's no
need to have these in separate functions.  However, the next patch will
want to read an ir_dereference_variable directly.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir_reader.cpp