Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup constant vector handling a bit. | Zack Rusin | 2007-10-30 | 3 | -32/+22 |
| | |||||
* | Dump only relevant functions when in the debugging output. | Zack Rusin | 2007-10-30 | 1 | -7/+13 |
| | |||||
* | Change the way we handle temporaries in LLVM translation. | Zack Rusin | 2007-10-30 | 7 | -350/+376 |
| | | | | | | | TGSI uses TEMP, among others, as a way of passing arguments from one function to another. Instead of trying to figure out which temp's a function needs and trying to dynamically adjust its signature just pass the whole array of temporaries to them. | ||||
* | Enable immediates in TGSI and work with them in LLVM code. | Zack Rusin | 2007-10-30 | 3 | -2/+37 |
| | | | | | Enables immediates by default in the TGSI translation code and adds code handling it in llvm tgsi translation. | ||||
* | Remove conditionals from the makefiles. | Zack Rusin | 2007-10-29 | 3 | -2/+5 |
| | |||||
* | Refactor the LLVM code a bit. | Zack Rusin | 2007-10-29 | 2 | -21/+78 |
| | | | | | | Move the CPU vertex shader execution code to the draw module, remove traces of LLVM from the state tracker, abstract execution engine for the purposes of the draw module. | ||||
* | Make sure the swizzling vector is being recreated for each function. This makes | Zack Rusin | 2007-10-29 | 2 | -5/+5 |
| | | | | GLSL bricks work. | ||||
* | Hold a stack of temporaries so that we can redeclare them | Zack Rusin | 2007-10-26 | 3 | -1/+27 |
| | | | | for all defined functions. Fixes crashes in function calls. | ||||
* | Get basic function calls working in the shaders. | Zack Rusin | 2007-10-26 | 6 | -25/+190 |
| | |||||
* | Fix swizzle fetching in tgsi_util_get_full_src_register_extswizzle. Shorten | Zack Rusin | 2007-10-26 | 2 | -60/+24 |
| | | | | the swizzle coding in LLVM compilation using it and fix some warnings. | ||||
* | Make ret part of the instruction block instead of implicitely | Zack Rusin | 2007-10-26 | 3 | -2/+7 |
| | | | | closing at the end of parsing. | ||||
* | Implement loops | Zack Rusin | 2007-10-25 | 3 | -5/+91 |
| | |||||
* | Fix nested swizzles. Actually fetch the destination contents | Zack Rusin | 2007-10-25 | 2 | -4/+9 |
| | | | | instead of input. | ||||
* | Fix nested conditionals | Zack Rusin | 2007-10-25 | 2 | -12/+2 |
| | |||||
* | Implement else ops. | Zack Rusin | 2007-10-25 | 3 | -2/+18 |
| | |||||
* | Make branching work :) Simply allow output variables as valid | Zack Rusin | 2007-10-24 | 3 | -2/+31 |
| | | | | operand inputs when they've been assigned already. | ||||
* | Simplify branch handling. Prepare for proper decleration extraction. | Zack Rusin | 2007-10-24 | 4 | -70/+38 |
| | |||||
* | Add copyright headers and do some cleanups. | Zack Rusin | 2007-10-24 | 7 | -23/+247 |
| | |||||
* | Remove the silly function and remove the bogus comment. | Zack Rusin | 2007-10-24 | 1 | -58/+50 |
| | |||||
* | Cleanup some code. | Zack Rusin | 2007-10-24 | 2 | -2/+8 |
| | |||||
* | Implement arl, lerp opcodes and do a first stab at if/endif | Zack Rusin | 2007-10-24 | 5 | -135/+388 |
| | | | | handling and branching support. | ||||
* | Implement cross product and abs opcode | Zack Rusin | 2007-10-24 | 3 | -2/+65 |
| | |||||
* | Implement extended swizzling. | Zack Rusin | 2007-10-24 | 3 | -6/+50 |
| | |||||
* | Implement SGE and SLT | Zack Rusin | 2007-10-24 | 3 | -2/+65 |
| | |||||
* | Introduce linux-llvm target. Remove the llvm code from the default build for ↵ | Zack Rusin | 2007-10-24 | 2 | -18/+43 |
| | | | | | | now. Cleanup some of the debugging output. | ||||
* | Align the load/stores. Reduce the amount of debugging output. | Zack Rusin | 2007-10-24 | 7 | -973/+659 |
| | |||||
* | Cleanup some of the debugging output code | Zack Rusin | 2007-10-24 | 4 | -68/+8 |
| | |||||
* | Make lit work but in a very lame way - will have to be rewritten. | Zack Rusin | 2007-10-24 | 3 | -10/+3 |
| | |||||
* | Muchos fixos. gears kinda works. and cases don't crash. | Zack Rusin | 2007-10-24 | 8 | -777/+1147 |
| | | | | glorious | ||||
* | implement min and max | Zack Rusin | 2007-10-24 | 3 | -2/+110 |
| | |||||
* | Fix some warnings and implement lg2 | Zack Rusin | 2007-10-24 | 4 | -9/+875 |
| | |||||
* | Implement frc and floor | Zack Rusin | 2007-10-24 | 3 | -3/+62 |
| | |||||
* | Implement ex2 opcode | Zack Rusin | 2007-10-24 | 3 | -1/+13 |
| | |||||
* | Implement dst opcode | Zack Rusin | 2007-10-24 | 3 | -1/+26 |
| | |||||
* | Implement dph opcode | Zack Rusin | 2007-10-24 | 3 | -1/+31 |
| | |||||
* | Implement dot4 opcode | Zack Rusin | 2007-10-24 | 3 | -5/+35 |
| | |||||
* | Implement pow/rcp and sub opcodes | Zack Rusin | 2007-10-24 | 3 | -5/+91 |
| | |||||
* | Add the "add" opcode and assert one vp if an opcode isn't supported | Zack Rusin | 2007-10-24 | 1 | -1/+9 |
| | |||||
* | Refactor the tgsi->llvm storage translator | Zack Rusin | 2007-10-24 | 3 | -42/+70 |
| | |||||
* | Implement basic opcode translation and storage translation. | Zack Rusin | 2007-10-24 | 4 | -26/+348 |
| | |||||
* | Draw first triangle. Start on the llvm builder. | Zack Rusin | 2007-10-24 | 2 | -22/+165 |
| | |||||
* | Cleanup some of the testing code. Implement first pass at actually | Zack Rusin | 2007-10-24 | 3 | -14/+206 |
| | | | | running shaders in llvm. | ||||
* | Execution engine is a singleton, for now keep it in the pipe. | Zack Rusin | 2007-10-24 | 2 | -11/+24 |
| | |||||
* | Generate the base shader. | Zack Rusin | 2007-10-24 | 3 | -45/+191 |
| | |||||
* | Implement the conversion and do the initial execution pass. | Zack Rusin | 2007-10-24 | 3 | -2/+100 |
| | |||||
* | Stub out some conversion. | Zack Rusin | 2007-10-24 | 1 | -0/+291 |
| | |||||
* | Initial stab at LLVM integration. | Zack Rusin | 2007-10-24 | 2 | -0/+185 |