prog_optimize: Only merge writes to temporary registers
authorBenjamin Segovia <benjamin.segovia@intel.com>
Tue, 17 Aug 2010 03:40:09 +0000 (20:40 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 17 Aug 2010 21:57:18 +0000 (14:57 -0700)
commit5a38e70d59eb54aa375fb0f19c824bb74b71486d
tree7e1bd1f7fe23a197f86316938ef6caea445e4542
parent608f749ec3fc655d3e67e572fa2e256a42c16878
prog_optimize: Only merge writes to temporary registers

In one optimization pass, register files may have been messed therefore
merging instructions which use the same index in two different register
files.
src/mesa/program/prog_optimize.c