summaryrefslogtreecommitdiff
path: root/src/glsl/ir_structure_splitting.cpp
AgeCommit message (Collapse)Author
2010-08-24glsl2: rename local variable_entry classBrian Paul
With MSVC it seems that this class and its constructor is colliding with the one in ir_variable_refcount.cpp. Rename the class here to avoid the collision. This is a bit of a hack. Can the two variable_entry classes be merged and shared?
2010-08-16glsl2: Silence unused variable warningIan Romanick
2010-08-14glsl: Standardize a few more uses of struct vs class keyword.José Fonseca
2010-08-13glsl2: Add a generic visitor class to call back with pointers to each rvalue.Eric Anholt
I keep copy and pasting this code all over, so consolidate it in one place.
2010-08-11glsl2: add cast to silence warningBrian Paul
2010-08-09glsl: fix missing return in ir_structure_splittingAras Pranckevicius
2010-08-08glsl2: Handle plain variable copies in struct splitting.Eric Anholt
glsl-fs-raytrace goes from 620 Mesa IR instructions out of the compiler to 585.
2010-08-05ir_structure_splitting: Massive fixing to this.Eric Anholt
I'd missed putting in the actual "find structures to split" part, so most of the code didn't do anything. I was running on too large of an app and assuming the lack of progress was elsewhere.
2010-08-05ir_structure_splitting: New pass to chop structures into their components.Eric Anholt
This doesn't do anything if your structure goes through an uninlined function call or if whole-structure assignment occurs. As such, the impact is limited, at least until we do some global copy propagation to reduce whole-structure assignment.