summaryrefslogtreecommitdiff
path: root/src/glsl/ir_dead_functions.cpp
AgeCommit message (Collapse)Author
2010-11-15glsl: Rename various ir_* files to lower_* and opt_*.Kenneth Graunke
This helps distinguish between lowering passes, optimization passes, and other compiler code.
2010-11-08ir_dead_functions: Actually free dead functions and signatures.Kenneth Graunke
This makes linked shaders use around 36k less memory since the built-in prototypes are now freed.
2010-08-05glsl2: Add a pass for removing unused functions.Eric Anholt
For a shader involving many small functions, this avoids running optimization across all of them after they've been inlined post-linking. Reduces the runtime of linking and running a fragment shader from Yo Frankie from 1.6 seconds to 0.9 seconds (-44.9%, +/- 3.3%).