Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r5xx: Add emit_mad() for FP. | Corbin Simpson | 2008-05-25 | 1 | -2/+65 |
| | | | | | If it uses MAD, emit it with emit_mad()! (Now available at your local grocer's. Multiply and add responsibly.) | ||||
* | r5xx: Consolidate FP tex insts. | Corbin Simpson | 2008-05-24 | 1 | -15/+5 |
| | | | | They're all the same, really. | ||||
* | r5xx: Fix SGE/SLT. | Corbin Simpson | 2008-05-24 | 1 | -32/+64 |
| | |||||
* | r5xx: Remove some debugging cruft. | Corbin Simpson | 2008-05-24 | 1 | -4/+1 |
| | |||||
* | r500: missed a couple of inst4s. | Dave Airlie | 2008-05-24 | 1 | -2/+1 |
| | |||||
* | r500: add depth output write | Dave Airlie | 2008-05-24 | 1 | -33/+36 |
| | | | | Not sure how well this works yet, but we need to set the alpha to w_omask | ||||
* | r5xx: Clean up some compiler warnings. | Corbin Simpson | 2008-05-23 | 1 | -1/+1 |
| | |||||
* | r5xx: Move dumb_shader. | Corbin Simpson | 2008-05-23 | 1 | -77/+75 |
| | | | | Was getting ticked having to scroll around it, lawl. | ||||
* | r5xx: Add OPCODE_DST. | Corbin Simpson | 2008-05-23 | 1 | -1/+28 |
| | | | | Works completely, swizzles and everything. | ||||
* | r5xx: More trig work. | Corbin Simpson | 2008-05-23 | 1 | -29/+107 |
| | | | | SCS now works. COS/SIN have slight issues still. | ||||
* | r500: bump state atom size up for fp and fp constants | Dave Airlie | 2008-05-22 | 2 | -2/+6 |
| | |||||
* | r5xx: Fixed LRP. | Corbin Simpson | 2008-05-21 | 1 | -8/+12 |
| | | | | Works perfectly. It's a complex one, though, so it might fail in weird ways... | ||||
* | r5xx: Change debug info for readability. | Corbin Simpson | 2008-05-21 | 1 | -1/+1 |
| | | | | It's weird seeing the compiled program before the assembly, that's all. | ||||
* | r5xx: Initial (broken) OPCODE_LRP. | Corbin Simpson | 2008-05-21 | 1 | -0/+43 |
| | | | | Will compile, run, and not eat your kids, but the math is wrong. | ||||
* | r5xx: Add OPCODE_POW. | Corbin Simpson | 2008-05-21 | 1 | -0/+47 |
| | | | | Necessary for Google Earth, among other things. | ||||
* | r500: print out opcode string | Dave Airlie | 2008-05-21 | 1 | -1/+1 |
| | |||||
* | r500: set the RS unit register for R500 not R300 dangnammit.. | Dave Airlie | 2008-05-21 | 1 | -3/+3 |
| | | | | | | So this appears to be my BUG. damn it to hell. also fix sec color to be more like spec says. | ||||
* | r500: finish main texture instruction decoding | Dave Airlie | 2008-05-21 | 1 | -3/+28 |
| | |||||
* | r5xx: Count refs so we don't have to guess on temp reg allocation. | Corbin Simpson | 2008-05-20 | 1 | -10/+25 |
| | | | | As a bonus, we can now have multiple temp temps, by slot. | ||||
* | r5xx: Fixup SOP insts. | Corbin Simpson | 2008-05-19 | 1 | -4/+4 |
| | | | | Use the correct swizzle for alpha/SOP stuff. | ||||
* | r5xx: New fix for COS/SIN/SCS. | Corbin Simpson | 2008-05-19 | 1 | -23/+22 |
| | | | | Not perfect yet, but getting better. | ||||
* | r300/r500: fixup some of the register write sizes | Dave Airlie | 2008-05-20 | 1 | -6/+7 |
| | |||||
* | r300: some ctrl-m's wierd. | Dave Airlie | 2008-05-20 | 1 | -20/+20 |
| | |||||
* | r300/r500: fix RS col fmt bits | Dave Airlie | 2008-05-20 | 1 | -2/+2 |
| | |||||
* | r5xx: Fixup emit_tex, add debugging info, enable temp temps. | Corbin Simpson | 2008-05-19 | 1 | -65/+105 |
| | | | | | emit_tex now chases itself with an OUT if needed. Added airlied's dump_program, with some fixes. | ||||
* | r500: add more input srcs | Dave Airlie | 2008-05-19 | 1 | -16/+26 |
| | |||||
* | r500: fix swz gets and some returns | Dave Airlie | 2008-05-19 | 1 | -6/+7 |
| | |||||
* | r500: add mask debugging | Dave Airlie | 2008-05-19 | 1 | -1/+26 |
| | |||||
* | r500: add fragment program debug dumper | Dave Airlie | 2008-05-19 | 1 | -0/+145 |
| | |||||
* | r5xx: Fix magic offsets for output fifo write masks. | Corbin Simpson | 2008-05-19 | 1 | -2/+2 |
| | | | | Well, this sure explains a lot. | ||||
* | r5xx: Swap sources for CMP. | Corbin Simpson | 2008-05-18 | 1 | -8/+13 |
| | | | | Follows the same pattern as the op on r3xx/r4xx. Thanks airlied. | ||||
* | r5xx: Fix typo of epic proportions. | Corbin Simpson | 2008-05-18 | 1 | -1/+1 |
| | |||||
* | r5xx: ALU/OUT fixups. | Corbin Simpson | 2008-05-18 | 1 | -56/+43 |
| | | | | Lots of small changes. Intentionally breaks some tex stuffs. | ||||
* | r300: fixup US_OUT_FMT bits | Dave Airlie | 2008-05-18 | 1 | -5/+9 |
| | |||||
* | r500: you can have a single texcoord | Dave Airlie | 2008-05-18 | 1 | -2/+5 |
| | |||||
* | r5xx: Add OPCODE_KIL. | Corbin Simpson | 2008-05-17 | 1 | -0/+6 |
| | |||||
* | r5xx: Added OPCODE_DPH. | Corbin Simpson | 2008-05-17 | 1 | -0/+20 |
| | | | | Like DP4, but with one swizzle change. | ||||
* | r5xx: Fix FRC. | Corbin Simpson | 2008-05-17 | 1 | -0/+2 |
| | | | | | This makes tri-frc work. (Remind me again why I'm allowed near a compiler, lawl.) | ||||
* | r5xx: Fix SCS. | Corbin Simpson | 2008-05-17 | 1 | -11/+21 |
| | | | | | Output instructions need to be marked OUT so they can write to the fifo. Also, negation doesn't work with SWZ yet. | ||||
* | r5xx: Add OPCODE_SWZ. | Corbin Simpson | 2008-05-17 | 1 | -0/+4 |
| | | | | It's so easy! | ||||
* | r5xx: Add OPCODE_SCS. | Corbin Simpson | 2008-05-17 | 1 | -1/+51 |
| | | | | It's disabled, though, because it doesn't work. I'll figure it out later... | ||||
* | r5xx: Adding more opcodes. | Corbin Simpson | 2008-05-17 | 1 | -0/+82 |
| | | | | | | EX2, FRC, LG2, SIN, RCP, and RSQ, if you care. All of these except FRC are like COS. This pretty much rounds out the set of opcodes which can be done in one ALU inst. | ||||
* | r5xx: First swing at OPCODE_COS. | Corbin Simpson | 2008-05-17 | 1 | -0/+14 |
| | |||||
* | r5xx: Unbreak MAX and MIN. | Corbin Simpson | 2008-05-17 | 1 | -2/+2 |
| | | | | Both of them had faulty copypasta. | ||||
* | r500: set fragprog end to correct place | Dave Airlie | 2008-05-17 | 1 | -3/+4 |
| | |||||
* | r300: SC register naming cleanup | Alex Deucher | 2008-05-17 | 2 | -31/+37 |
| | |||||
* | r500: write out the correct FP registers | Alex Deucher | 2008-05-17 | 6 | -6/+43 |
| | |||||
* | r500: default rsunit swizzle like fglrx | Dave Airlie | 2008-05-15 | 2 | -3/+14 |
| | |||||
* | r500: shift tex src properly | Dave Airlie | 2008-05-15 | 1 | -2/+2 |
| | |||||
* | r500: fixup r500 rs unit texture coordinate counting | Dave Airlie | 2008-05-15 | 1 | -13/+15 |
| |