summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/compiler/SConscript
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2011-03-25 17:05:53 -0700
committerTom Stellard <[email protected]>2011-04-30 11:00:15 -0700
commit6a6068e5e110f9902fbf368bbff2a728657e81c6 (patch)
tree147e2f2f515abf7a7e49a597f8c283041b99d781 /src/mesa/drivers/dri/r300/compiler/SConscript
parentbd661a933b18fccd7102d05932774ee61a90ec9e (diff)
r300/compiler: Add remove dead sources pass
The instruction scheduler will sometimes leave orphaned sources when converting instructions from RGB to Alpha. If one of these orphaned sources has an index greater than the maximum temporary register index, then the compiler will incorrectly report "Too many hardware temporaries used". The dead sources pass cleans up these orphaned sources.
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/SConscript')
-rwxr-xr-xsrc/mesa/drivers/dri/r300/compiler/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/SConscript b/src/mesa/drivers/dri/r300/compiler/SConscript
index 2b4bce1c08c..d44b745562c 100755
--- a/src/mesa/drivers/dri/r300/compiler/SConscript
+++ b/src/mesa/drivers/dri/r300/compiler/SConscript
@@ -22,6 +22,7 @@ r300compiler = env.ConvenienceLibrary(
'radeon_pair_translate.c',
'radeon_pair_schedule.c',
'radeon_pair_regalloc.c',
+ 'radeon_pair_dead_sources.c',
'radeon_optimize.c',
'radeon_remove_constants.c',
'radeon_rename_regs.c',