aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_rvalue_visitor.h
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Add a variant of the rvalue visitor for handle_rvalue() on the way down.Eric Anholt2012-08-071-2/+29
| | | | | | | 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 <[email protected]>
* glsl2: Add a generic visitor class to call back with pointers to each rvalue.Eric Anholt2010-08-131-0/+47
I keep copy and pasting this code all over, so consolidate it in one place.