r300: fix regression from swtcl rewrite
authorMaciej Cencora <m.cencora@gmail.com>
Tue, 7 Apr 2009 21:51:28 +0000 (23:51 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Apr 2009 00:31:36 +0000 (10:31 +1000)
commit3b1d5440015c2bfa76d91bd8bb3954bde48f4815
tree150c353c18bfc548b98c23cfe3e927f8e969cdb8
parentd1a9b1f513109c975a5a7ed5a2d0c329b280afe4
r300: fix regression from swtcl rewrite

Fix wrong attribute emit and revert to previous behaviour of calculating VAP_OUT_VTX_FMT_1 register value.

We can't use r300VAPOutputCntl1 function because it assumes that all texture coords have 4 components and that is the case for HW TCL
path, but not for SW TCL.
src/mesa/drivers/dri/r300/r300_swtcl.c