glsl2: Move the common optimization passes to a helper function.
authorEric Anholt <eric@anholt.net>
Tue, 10 Aug 2010 20:06:49 +0000 (13:06 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 14 Aug 2010 00:47:00 +0000 (17:47 -0700)
commit2f4fe151681a6f6afe1d452eece6cf4144f44e49
tree89fa7ab114f76786b6a84b83b77c8f603486457d
parentc55aa4292f35a6d08b0660e23f248a37988a5f99
glsl2: Move the common optimization passes to a helper function.

These are passes that we expect all codegen to be happy with.  The
other lowering passes for Mesa IR are moved to the Mesa IR generator.
src/glsl/glsl_parser_extras.cpp
src/glsl/ir_optimization.h
src/glsl/linker.cpp
src/mesa/program/ir_to_mesa.cpp