diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2011-02-10 15:48:27 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-08-16 14:38:39 -0700 |
commit | 54c48a95e6e0573886433f94ac83293876ffe03d (patch) | |
tree | cfac8d58d943e3d72a97b0df8f0afc2cf01a39e8 /src/mesa/sources.mak | |
parent | ff2cfb8989cd79218dfe2cd8c3de20f1ca7418e6 (diff) | |
download | external_mesa3d-54c48a95e6e0573886433f94ac83293876ffe03d.zip external_mesa3d-54c48a95e6e0573886433f94ac83293876ffe03d.tar.gz external_mesa3d-54c48a95e6e0573886433f94ac83293876ffe03d.tar.bz2 |
mesa: Add partial constant propagation pass for Mesa IR
This cleans up some code generated by the IR-to-Mesa pass for i915.
In particular, some shaders involving arrays of constant matrices
result in really bad code.
v2: Silence several warnings from merging the gl_constant_value work.
Fix DP[23] folding. Add support for a bunch more opcodes that appear
in piglit runs on i915.
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/sources.mak')
-rw-r--r-- | src/mesa/sources.mak | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak index ed008f8..5e77e0f 100644 --- a/src/mesa/sources.mak +++ b/src/mesa/sources.mak @@ -251,6 +251,7 @@ PROGRAM_SOURCES = \ program/prog_instruction.c \ program/prog_noise.c \ program/prog_optimize.c \ + program/prog_opt_constant_fold.c \ program/prog_parameter.c \ program/prog_parameter_layout.c \ program/prog_print.c \ |