glsl: Add a variant of the rvalue visitor for handle_rvalue() on the way down.
authorEric Anholt <eric@anholt.net>
Fri, 20 Jul 2012 21:10:44 +0000 (14:10 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Aug 2012 18:47:49 +0000 (11:47 -0700)
commit8c2a9838355cfd02356bf7b22eead408d909fe25
tree28707560639b80ee8e0696eb829d375073920554
parent2ea3ab14f2182978f471674c9dfce029d37f70a7
glsl: Add a variant of the rvalue visitor for handle_rvalue() on the way down.

For the UBO lowering pass, I want to see the whole dereference chain for
replacing, not the innermost ir_dereference_variable.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_rvalue_visitor.cpp
src/glsl/ir_rvalue_visitor.h