r200: fix XPD vertex program instruction when using temps as inputs
authorRoland Scheidegger <sroland@tungstengraphics.com>
Sat, 12 Apr 2008 00:40:27 +0000 (02:40 +0200)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Sat, 12 Apr 2008 00:40:27 +0000 (02:40 +0200)
commit32134b5508495fbb1d9fc2f844e22fbb082dcda6
tree02518cc8118be17a009c25facc6b3ace4eacaf91
parent51ad219d6fbcdaa50e2f1b5854dfbbc4b8cab8fc
r200: fix XPD vertex program instruction when using temps as inputs

due to the two read ports limit into temp memory may need the MAD_2 instruction
for the second instruction of the decomposed XPD.
While here, also try to avoid MAD_2 for MAD if all 3 inputs are temps but the
temps aren't actually distinct.
src/mesa/drivers/dri/r200/r200_vertprog.c