Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r500: cleanup warnings and include files | Dave Airlie | 2008-05-28 | 4 | -37/+4 |
| | |||||
* | r5xx: Add OPCODE_XPD. In working condition, I might add. | Corbin Simpson | 2008-05-27 | 1 | -0/+60 |
| | | | | | | | And we're officially finished with the ARB_fragment_program instruction set. It's worth noting that LIT is still not reliable. SIN and COS were fixed a few commits ago. We're finished with stage 1! Whoohoo! | ||||
* | r5xx: Just a few small LIT fixes. | Corbin Simpson | 2008-05-27 | 1 | -5/+5 |
| | | | | Still broken; will fix tomorrow. | ||||
* | r5xx: Fix emit_mov() regression. | Corbin Simpson | 2008-05-27 | 1 | -0/+15 |
| | | | | Specifically, fix improper swizzling. | ||||
* | r500: the cs is shared per context - doh so don't use for program upload. | Dave Airlie | 2008-05-27 | 3 | -20/+2 |
| | | | | Also remove some unused bits of the r500 fragprog struct | ||||
* | r500: need to re-setup inst offset/end for translated programs | Dave Airlie | 2008-05-27 | 1 | -0/+3 |
| | | | | this fixes texenv | ||||
* | r500: reset fp/fp_const counts | Dave Airlie | 2008-05-27 | 1 | -0/+3 |
| | |||||
* | r300/r500: emit flush inside vap_cntl state atom | Dave Airlie | 2008-05-27 | 4 | -13/+22 |
| | | | | Not sure if this is a good or bad plan, it certainly doesn't make things worse here. | ||||
* | r500: hopefully fix 4096 texture harder | Dave Airlie | 2008-05-27 | 1 | -11/+15 |
| | |||||
* | r5xx: Fix FP temp counting. | Corbin Simpson | 2008-05-26 | 1 | -5/+8 |
| | | | | | One of the ref counters wasn't being added to the temp counter. Yet another product of late-night coding... | ||||
* | r500: remove debugging | Dave Airlie | 2008-05-27 | 1 | -1/+0 |
| | |||||
* | r300/r500: fix r500 fragment program texture unit references | Dave Airlie | 2008-05-27 | 1 | -1/+4 |
| | |||||
* | r500: initial support for tmu mappings | Dave Airlie | 2008-05-27 | 1 | -35/+83 |
| | |||||
* | r5xx: Enhance emit_mov(). | Corbin Simpson | 2008-05-26 | 1 | -16/+11 |
| | | | | Now we can add arbitrary sources and swizzles. Will make many things smoother. | ||||
* | r5xx: Moar LIT. | Corbin Simpson | 2008-05-26 | 1 | -55/+57 |
| | | | | Still not working, but getting closer. | ||||
* | r5xx: First stab at LIT. | Corbin Simpson | 2008-05-26 | 1 | -0/+106 |
| | |||||
* | Replace copyright on r500_fragprog.c | Corbin Simpson | 2008-05-25 | 1 | -0/+3 |
| | | | | | Huh, could have sworn I already did this once before... Maybe I forgot to commit it? | ||||
* | r5xx: Unbreak texture swizzling. | Corbin Simpson | 2008-05-25 | 1 | -7/+6 |
| | |||||
* | r5xx: Massive MAD cleanup. | Corbin Simpson | 2008-05-25 | 1 | -88/+18 |
| | | | | | Common uses of MAD now use emit_mad(), the two common negation masks work, and fixed a few off-by-one errors. | ||||
* | r5xx: Negation masks for every inst except SWZ. | Corbin Simpson | 2008-05-25 | 1 | -1/+7 |
| | | | | Yay? | ||||
* | r5xx: More emit_alu(). | Corbin Simpson | 2008-05-25 | 1 | -3/+21 |
| | | | | Converted ADD. | ||||
* | 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 |
| |