r500: Redirect TEX writes to output registers
authorNicolai Haehnle <nhaehnle@gmail.com>
Sun, 27 Jul 2008 13:14:07 +0000 (15:14 +0200)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sun, 27 Jul 2008 13:14:07 +0000 (15:14 +0200)
commit1bdf5e09a049d8d60bf147f9d88bbdb2b8588752
tree0da93a8f33f96fd33a3d9124122f9dae62b5c967
parent85e44fcd51b2f2e0bb0c97161fdde1971767eefd
r500: Redirect TEX writes to output registers

While R500 fragment program texture instructions appear to support writemasks,
they cannot write to the output FIFO immediately, so we need to insert a MOV
for these instructions.

This fixes piglit's fp-fragment-position and fp-incomplete-tex tests.
src/mesa/drivers/dri/r300/r500_fragprog.c