r300: fix output register allocation for vertex shaders
authorMaciej Cencora <m.cencora@gmail.com>
Fri, 5 Jun 2009 16:14:15 +0000 (18:14 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Thu, 11 Jun 2009 21:24:25 +0000 (23:24 +0200)
commit28724b575d2c003d7f10f55dcb03ac969df94389
tree5cd7bb5c22782fd0417b9802ab8105db626ec988
parentb4ebd1c191e6760b334c35fa1df025ad129cc449
r300: fix output register allocation for vertex shaders

If the vertex program wrote secondary color without primary color, the secondary color output register index would be 0 which resulted in overwriting vertex position in some cases.
src/mesa/drivers/dri/r300/r300_vertprog.c