summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/radeon_program_pair.c
AgeCommit message (Collapse)Author
2009-01-14r300: work-around FRAG_BIT_FOGC warning/errorBrian Paul
See bug 17929. Fog doesn't actually work, but the often complained about warning is silenced.
2008-08-17r5xx: Add DDX and DDY instructions.Corbin Simpson
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2008-07-27r500: Handle non-native swizzles in texture instructionsNicolai Haehnle
This fixes piglit's fp-kil and fp-generic/kil-swizzle tests.
2008-07-12r300_fragprog: Use nqssa+dce and program_pair for emitNicolai Haehnle
Share almost all code with r500_fragprog now. This also fixes Piglit's texrect-many test, which means that the compiz bicubic plugin should work with hardware acceleration now.
2008-07-12r500: Set Saturate correctly in radeon_program_pairNicolai Haehnle
2008-07-12r300: Fix input register allocation in radeon_program_pairNicolai Haehnle
When an input is marked in gl_program.InputsRead but is not actually read in the final program (due to dead-code elimination or whatever), the order of input registers must still match gl_program.InputsRead. This is done even more explicitly now.
2008-07-12r500_fragprog: Major refactoring of final emitNicolai Haehnle
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.