OSDN Git Service

glsl2: Add a generic visitor class to call back with pointers to each rvalue.
authorEric Anholt <eric@anholt.net>
Sat, 14 Aug 2010 03:39:24 +0000 (20:39 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 14 Aug 2010 00:54:46 +0000 (17:54 -0700)
commitb3b0cf6a4c6b23e0ebe7e5f5ab1b7cacf27268b1
tree492c8178c7ead319575adc4f34707fc9a0e4158e
parent9c3acce68001fdf7f5c77d1819d576b4cf92410a
glsl2: Add a generic visitor class to call back with pointers to each rvalue.

I keep copy and pasting this code all over, so consolidate it in one
place.
src/glsl/Makefile
src/glsl/ir_algebraic.cpp
src/glsl/ir_rvalue_visitor.cpp [new file with mode: 0644]
src/glsl/ir_rvalue_visitor.h [new file with mode: 0644]
src/glsl/ir_structure_splitting.cpp