History log of /external/mesa3d/src/glsl/opt_redundant_jumps.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
337d9c955b070224f7278524af54ddacd8bb0f17 30-May-2012 Eric Anholt <eric@anholt.net> glsl: Put a bunch of optimization visitors under anonymous namespaces.

Because these classes are used entirely from their own source files
and not from separate DSOs, the linker gets to produce massively less
code. This cuts about 13k of text in the libdricore case. In the
non-libdricore case, the additional linkage information allows the
compiler to inline some code, so libglsl.a size actually increases by
about 300 bytes.

For a dricore build, improves shader_runner runtime on
glsl-fs-copy-propagation-texcoords-1 by 0.21% +/- 0.03% (n=353574,
outliers removed). No statistically significant difference with n=322
on glslparsertest on a yofrankie shader intended to test compiler
performance.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/opt_redundant_jumps.cpp
d3a444af2d4c42a23e9ec78dbef4c3ee45e1e50c 11-Mar-2011 Eric Anholt <eric@anholt.net> glsl: Skip processing expression trees in optimize_redundant_jumps()

Cuts the time spent in this function during glean texCombine by 2/3.
/external/mesa3d/src/glsl/opt_redundant_jumps.cpp
8f2214f4892acb994d13531d555196bd8f242dad 13-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> glsl2: Add pass to remove redundant jumps
/external/mesa3d/src/glsl/opt_redundant_jumps.cpp