mesa: fix some issues in _mesa_combine_programs()
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Mar 2008 18:27:32 +0000 (12:27 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Mar 2008 18:30:05 +0000 (12:30 -0600)
commitcf7daba79101a2d2813f133a0f3d394316e66cce
tree1ed25c860d5b689e938b7af868e5129966b0a572
parent05a4ecdec2b5fc590eb09cc5a6b4208e0f739c5a
mesa: fix some issues in _mesa_combine_programs()

Use a temporay register to connect outputs of first program to inputs of
second program.
Also, fix bug in replace_registers(): didn't search/replace DstReg.
src/mesa/shader/program.c