r300/fragprog: No longer rely on hardcoded FRAG_RESULT_xxx constants
authorNicolai Hähnle <nhaehnle@gmail.com>
Sun, 26 Jul 2009 09:52:17 +0000 (11:52 +0200)
committerNicolai Hähnle <nhaehnle@gmail.com>
Mon, 27 Jul 2009 20:51:38 +0000 (22:51 +0200)
commite034683eda7ab694de400f9803f765b22393cb7d
tree2f4872e36bf67e7d7a9b866fca29dff1998b3b39
parent836050ba5eb9690e4a64499249eb71af14961deb
r300/fragprog: No longer rely on hardcoded FRAG_RESULT_xxx constants

Also, this makes radeon_program_pair depend on the r300 fragment program
compiler. Since we now know that r600+ no longer use the same pairing
style in their ALU, we can stop pretending that program_pair is useful
for anything but r300-r500 fragment programs.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/r300/compiler/r300_fragprog_emit.c
src/mesa/drivers/dri/r300/compiler/r500_fragprog_emit.c
src/mesa/drivers/dri/r300/compiler/radeon_program_pair.c
src/mesa/drivers/dri/r300/compiler/radeon_program_pair.h