aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_asm.h
Commit message (Collapse)AuthorAgeFilesLines
* r600g: add initial relative support to assemblerDave Airlie2010-08-301-0/+2
| | | | | | passes another ~20 piglits. /me starts to run out low hanging fruit around now.
* r600g : add basic loop support.Dave Airlie2010-08-301-1/+16
| | | | | | Adds BGNLOOP, BRK, CONT, ENDLOOP support, ported from r600c. 17 piglits more on r300g.tests.
* r600g: add initial if/else/endif supportDave Airlie2010-08-271-1/+20
| | | | | | | | | this adds handling for some more CF instructions and conditions also adds parameter for stack size emission These seem to pass on VS with the stack size hack but not on FS, TODO: fix FS + stack size calcs
* r600g: add a chiprev type for r600/r700/evergreen instead of using familyDave Airlie2010-08-191-0/+1
|
* r600g: avoid reemiting literal, avoid scheduling empty csJerome Glisse2010-08-101-0/+1
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix LIT + fix multiple constant one ALU + fix ALU block splittingJerome Glisse2010-08-031-0/+1
| | | | | | | | | | | | | Make sure LIT fills all slot for instruction (can't do W instruction without having the Z slot filled with at least a NOP). ALU instruction can't access more than 4 constant, move constant to temporary reg if we reach the limit. Fix ALU block splitting, only split ALU after ALU with last instruction bit sets. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: first pass at texture supportJerome Glisse2010-07-231-0/+29
| | | | | | | This add texture support to the assembler, generated code is wrong (tested against working dump). Signed-off-by: Jerome Glisse <[email protected]>
* r600g: drop compiler stuff and switch over dumb tgsi assemblerJerome Glisse2010-07-231-0/+112
Writing a compiler is time consuming and error prone in order to allow r600g to further progress in the meantime i wrote a simple tgsi assembler, it does stupid thing but i would rather keep the code simple than having people trying to optimize code it does. Signed-off-by: Jerome Glisse <[email protected]>