r300: fix VAP setup
authorMaciej Cencora <m.cencora@gmail.com>
Wed, 10 Jun 2009 15:05:38 +0000 (17:05 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Thu, 11 Jun 2009 21:25:54 +0000 (23:25 +0200)
commit67bbfb9c68d0bf459f706a4cb50caf8245a37a34
treefafb80e4c7b8aa93aeb8b0784290f1283a8f79c5
parent234797564dea00c1463faa7a7791df466f52a91b
r300: fix VAP setup

If GL context had e.g. tex0, tex2 and fog the VAPOutputCntl1 returned 0x104 instead of 0x124 - that meaned we're sending only 8 texcoords (instead of 12) which ended up in GPU hang.
src/mesa/drivers/dri/r300/r300_emit.c