r300_fragprog: Refactor TEX transformation
authorNicolai Haehnle <nhaehnle@gmail.com>
Fri, 13 Jun 2008 23:46:19 +0000 (01:46 +0200)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sat, 14 Jun 2008 02:14:56 +0000 (04:14 +0200)
commite34dc8227c1fa8bc9ffcd311de701053a633a7ec
treec4337d9c41714bd771199cf3d061967e7dc28ca4
parentb5170bc9d32530ec93dae4b543d3552e83d6b4a1
r300_fragprog: Refactor TEX transformation

Streamlining source and destination registers, as well as texcoord scaling for
RECT textures is now done in a radeon_program based transformation.

The idea is that this will allow us to optimize away unnecessary indirections
more easily.
src/mesa/drivers/dri/r300/r300_fragprog.c
src/mesa/drivers/dri/r300/r300_fragprog.h
src/mesa/drivers/dri/r300/r300_fragprog_emit.c
src/mesa/drivers/dri/r300/radeon_program.c
src/mesa/drivers/dri/r300/radeon_program.h