r600g: fix evergreen interpolation setup
authorAndre Maasikas <amaasikas@gmail.com>
Wed, 6 Oct 2010 18:14:15 +0000 (21:14 +0300)
committerAndre Maasikas <amaasikas@gmail.com>
Thu, 7 Oct 2010 04:51:32 +0000 (07:51 +0300)
commit84457701b05ef29126d90c2fe72083278d26bd4f
tree537e02ff0e447ba644f25e006a4cb45cc31ce8e4
parentb2c0ef8b51ce86388335e83f2390940cb8fbc12f
r600g: fix evergreen interpolation setup

interp data is stored in gpr0 so first interp overwrote it
and subsequent ones got wrong values

reserve register 0 so it's not used for attribs.
alternative is to interpolate attrib0 last (reverse, as r600c does)
src/gallium/drivers/r600/r600_shader.c