aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/radeon_program.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-3/+3
| | | | Makefile.template
* r500_fragprog: Major refactoring of final emitNicolai Haehnle2008-07-121-0/+4
| | | | | | | | | | 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.
* r300: Correctly scan for used temporary registersNicolai Haehnle2008-07-051-2/+18
| | | | This fixes a regression introduced by dea8719f0...
* r300: Remove clause stuff for now in favour of a cloned generic gl_programNicolai Haehnle2008-07-051-94/+9
|
* r300: Add radeonCompilerDump for debuggingNicolai Haehnle2008-06-141-0/+1
|
* r300_fragprog: Refactor TEX transformationNicolai Haehnle2008-06-141-0/+53
| | | | | | | | 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.
* r300: Add radeon_program and trivial refactoring of r300_fragprog to use itNicolai Haehnle2008-06-141-0/+110
The idea/hope is that radeon_program will serve as an intermediate representation for r3xx up to r6xx fragment and vertex programs. Right now, it is nothing more than a simplistic wrapper around Mesa's prog_instruction, together with the notion of clauses, taken from r6xx docs. The clauses will eventually be used to represent the nodes that are used in r300 family fragment programs.