r600g: fix TXD src regs needing fetching.
authorMike Kaplinskiy <mike.kaplinskiy@gmail.com>
Wed, 15 Jun 2011 06:56:10 +0000 (16:56 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Jun 2011 06:58:40 +0000 (16:58 +1000)
commit40aec11b7569fcdd2d884629b172af3db3fbaf1d
treeb1fe6cab13965db1fabf70f337a1b4ab5d38ef27
parent6415f256637306fcbaa94fbdaf1bd7692070dce1
r600g: fix TXD src regs needing fetching.

[airlied: final chunk of Mike's patch from bug 37476
this uses a loop to emit the GRADIENTS and does a check to
see if we need to fetch to a temporary register. It also
increases the context src gpr to 4 which is needed here.]

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c