glsl: Combine many instruction lowering passes into one.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 19 Nov 2010 01:54:07 +0000 (17:54 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 19 Nov 2010 23:56:28 +0000 (15:56 -0800)
commit63684a9ae7a66f68df1f2c68cd9358e5622122a3
tree40a926458dc68e96bf9ffa9197e0a448b4c9a265
parentb943fb94bf50f20b773dc63558feb6b9480b8a28
glsl: Combine many instruction lowering passes into one.

This should save on the overhead of tree-walking and provide a
convenient place to add more instruction lowering in the future.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/Makefile
src/glsl/SConscript
src/glsl/glsl_parser_extras.cpp
src/glsl/ir_optimization.h
src/glsl/lower_div_to_mul_rcp.cpp [deleted file]
src/glsl/lower_explog_to_explog2.cpp [deleted file]
src/glsl/lower_instructions.cpp [new file with mode: 0644]
src/glsl/lower_mod_to_fract.cpp [deleted file]
src/glsl/lower_sub_to_add_neg.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/program/ir_to_mesa.cpp