summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_fragprog.c
diff options
context:
space:
mode:
authorNicolai Haehnle <[email protected]>2008-07-12 01:14:35 +0200
committerNicolai Haehnle <[email protected]>2008-07-12 09:36:02 +0200
commitb6765c34993b08bba4acf20738c8938413ed4daf (patch)
treed221e963335dc31af894485a657fb423aa4d79c5 /src/mesa/swrast/s_fragprog.c
parentd8d086c20b5a43353c4980cf234d8329900585f5 (diff)
r500_fragprog: Major refactoring of final emit
Use an abstracted instruction scheduling and register allocation algorithm that we will be able to share with r300_fragprog. Unlike the original emit code, this code tries to pair instructions that only use the RGB part of the ALU with instructions that only use the alpha part. However, the pairing algorithm still has some shortcomings; for example, it doesn't generate optimal code for the emulation of LIT.
Diffstat (limited to 'src/mesa/swrast/s_fragprog.c')
0 files changed, 0 insertions, 0 deletions