summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_structure_splitting.cpp
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Rename various ir_* files to lower_* and opt_*.Kenneth Graunke2010-11-151-361/+0
| | | | | This helps distinguish between lowering passes, optimization passes, and other compiler code.
* glsl2: rename local variable_entry classBrian Paul2010-08-241-17/+22
| | | | | | | | | 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?
* glsl2: Silence unused variable warningIan Romanick2010-08-161-0/+1
|
* glsl: Standardize a few more uses of struct vs class keyword.José Fonseca2010-08-141-2/+2
|
* glsl2: Add a generic visitor class to call back with pointers to each rvalue.Eric Anholt2010-08-131-103/+6
| | | | | I keep copy and pasting this code all over, so consolidate it in one place.
* glsl2: add cast to silence warningBrian Paul2010-08-111-1/+1
|
* glsl: fix missing return in ir_structure_splittingAras Pranckevicius2010-08-091-0/+1
|
* glsl2: Handle plain variable copies in struct splitting.Eric Anholt2010-08-081-3/+51
| | | | | glsl-fs-raytrace goes from 620 Mesa IR instructions out of the compiler to 585.
* ir_structure_splitting: Massive fixing to this.Eric Anholt2010-08-051-9/+34
| | | | | | 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.
* ir_structure_splitting: New pass to chop structures into their components.Eric Anholt2010-08-051-0/+378
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.