r300: fix for SW TCL path
authorMaciej Cencora <m.cencora@gmail.com>
Wed, 10 Jun 2009 14:58:15 +0000 (16:58 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Thu, 11 Jun 2009 21:25:54 +0000 (23:25 +0200)
commit234797564dea00c1463faa7a7791df466f52a91b
tree9e437227ee49e93fde6bb8ae86fac4ffdb5a5718
parent8d728b8fe73d935308275ad0a21c67e2e22029c4
r300: fix for SW TCL path

We shouldn't use i variable for SWTCL_OVM_TEX because textures doesn't have to be enabled in "packed" order.
We could have tex1,tex3 and fog which would receive 7,9,8 OVM locations instead of 6,7,8.
src/mesa/drivers/dri/r300/r300_swtcl.c