summaryrefslogtreecommitdiff
path: root/src/glsl/ir_dead_code.cpp
AgeCommit message (Collapse)Author
2010-07-31glsl2: Factor out the variable refcounting part of ir_dead_code.cpp.Eric Anholt
2010-07-27glsl2: Fix the linked version of ir_dead_code.Eric Anholt
If we don't walk into functions, we won't see any usage of variables in the functions.
2010-07-27glsl2: Make the dead code handler make its own talloc context.Eric Anholt
This way, we don't need to pass in a parse state, and the context doesn't grow with the number of passes through optimization.
2010-07-01glsl2: Remove dead member from dead code visitor.Eric Anholt
2010-06-25glsl2: Use the parser state as the talloc context for dead code elimination.Eric Anholt
This cuts runtime by around 20% from talloc_parent() lookups.
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt