Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-13 | r300/r500: Separate fragprog compiler structures | Nicolai Haehnle | |
r500 code still used r300_pfs_compile_state, which contains some fields that really only make sense on r3xx type hardware. In order to allow both fragprog implementations to go forward without disturbing each other, I've pushed this structure down into the respective r[3|5]00_fragprog.c | |||
2008-06-06 | r5xx: Fix speedy LIT once and for all. | Corbin Simpson | |
To do: Add a slightly more accurate LIT. Will do later. | |||
2008-06-02 | r500: add missing brackets around depth testing | Dave Airlie | |
2008-06-01 | r5xx: Enable depth write emission. | Corbin Simpson | |
Thanks to nh for the r3xx version. | |||
2008-06-01 | r5xx: Add OPCODE_FLR. | Corbin Simpson | |
Why didn't anybody tell me we were missing this one? I thought I committed it ages ago! | |||
2008-05-31 | r5xx: Last emit_sop() for now. | Corbin Simpson | |
This should also clean up LIT later on. | |||
2008-05-31 | r5xx: More emit_sop(), stage 2. | Corbin Simpson | |
SIN/COS. | |||
2008-05-31 | r5xx: Cleanup SOP with emit_sop(). | Corbin Simpson | |
I wish I had a snarky commit message, but I'll save that for after I get the trig working with this. | |||
2008-05-31 | r5xx: Dump shader constants when dumping program assembly. | Corbin Simpson | |
2008-05-28 | r500: cleanup warnings and include files | Dave Airlie | |
2008-05-27 | r5xx: Add OPCODE_XPD. In working condition, I might add. | Corbin Simpson | |
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! | |||
2008-05-27 | r5xx: Just a few small LIT fixes. | Corbin Simpson | |
Still broken; will fix tomorrow. | |||
2008-05-27 | r5xx: Fix emit_mov() regression. | Corbin Simpson | |
Specifically, fix improper swizzling. | |||
2008-05-27 | r500: the cs is shared per context - doh so don't use for program upload. | Dave Airlie | |
Also remove some unused bits of the r500 fragprog struct | |||
2008-05-27 | r500: need to re-setup inst offset/end for translated programs | Dave Airlie | |
this fixes texenv | |||
2008-05-26 | r5xx: Fix FP temp counting. | Corbin Simpson | |
One of the ref counters wasn't being added to the temp counter. Yet another product of late-night coding... | |||
2008-05-26 | r5xx: Enhance emit_mov(). | Corbin Simpson | |
Now we can add arbitrary sources and swizzles. Will make many things smoother. | |||
2008-05-26 | r5xx: Moar LIT. | Corbin Simpson | |
Still not working, but getting closer. | |||
2008-05-26 | r5xx: First stab at LIT. | Corbin Simpson | |
2008-05-25 | Replace copyright on r500_fragprog.c | Corbin Simpson | |
Huh, could have sworn I already did this once before... Maybe I forgot to commit it? | |||
2008-05-25 | r5xx: Unbreak texture swizzling. | Corbin Simpson | |
2008-05-25 | r5xx: Massive MAD cleanup. | Corbin Simpson | |
Common uses of MAD now use emit_mad(), the two common negation masks work, and fixed a few off-by-one errors. | |||
2008-05-25 | r5xx: Negation masks for every inst except SWZ. | Corbin Simpson | |
Yay? | |||
2008-05-25 | r5xx: More emit_alu(). | Corbin Simpson | |
Converted ADD. | |||
2008-05-25 | r5xx: Add emit_mad() for FP. | Corbin Simpson | |
If it uses MAD, emit it with emit_mad()! (Now available at your local grocer's. Multiply and add responsibly.) | |||
2008-05-24 | r5xx: Consolidate FP tex insts. | Corbin Simpson | |
They're all the same, really. | |||
2008-05-24 | r5xx: Fix SGE/SLT. | Corbin Simpson | |
2008-05-24 | r5xx: Remove some debugging cruft. | Corbin Simpson | |
2008-05-24 | r500: missed a couple of inst4s. | Dave Airlie | |
2008-05-24 | r500: add depth output write | Dave Airlie | |
Not sure how well this works yet, but we need to set the alpha to w_omask | |||
2008-05-23 | r5xx: Clean up some compiler warnings. | Corbin Simpson | |
2008-05-23 | r5xx: Move dumb_shader. | Corbin Simpson | |
Was getting ticked having to scroll around it, lawl. | |||
2008-05-23 | r5xx: Add OPCODE_DST. | Corbin Simpson | |
Works completely, swizzles and everything. | |||
2008-05-23 | r5xx: More trig work. | Corbin Simpson | |
SCS now works. COS/SIN have slight issues still. | |||
2008-05-21 | r5xx: Fixed LRP. | Corbin Simpson | |
Works perfectly. It's a complex one, though, so it might fail in weird ways... | |||
2008-05-21 | r5xx: Change debug info for readability. | Corbin Simpson | |
It's weird seeing the compiled program before the assembly, that's all. | |||
2008-05-21 | r5xx: Initial (broken) OPCODE_LRP. | Corbin Simpson | |
Will compile, run, and not eat your kids, but the math is wrong. | |||
2008-05-21 | r5xx: Add OPCODE_POW. | Corbin Simpson | |
Necessary for Google Earth, among other things. | |||
2008-05-21 | r500: print out opcode string | Dave Airlie | |
2008-05-21 | r500: finish main texture instruction decoding | Dave Airlie | |
2008-05-20 | r5xx: Count refs so we don't have to guess on temp reg allocation. | Corbin Simpson | |
As a bonus, we can now have multiple temp temps, by slot. | |||
2008-05-19 | r5xx: Fixup SOP insts. | Corbin Simpson | |
Use the correct swizzle for alpha/SOP stuff. | |||
2008-05-19 | r5xx: New fix for COS/SIN/SCS. | Corbin Simpson | |
Not perfect yet, but getting better. | |||
2008-05-19 | r5xx: Fixup emit_tex, add debugging info, enable temp temps. | Corbin Simpson | |
emit_tex now chases itself with an OUT if needed. Added airlied's dump_program, with some fixes. | |||
2008-05-19 | r500: add more input srcs | Dave Airlie | |
2008-05-19 | r500: fix swz gets and some returns | Dave Airlie | |
2008-05-19 | r500: add mask debugging | Dave Airlie | |
2008-05-19 | r500: add fragment program debug dumper | Dave Airlie | |
2008-05-19 | r5xx: Fix magic offsets for output fifo write masks. | Corbin Simpson | |
Well, this sure explains a lot. | |||
2008-05-18 | r5xx: Swap sources for CMP. | Corbin Simpson | |
Follows the same pattern as the op on r3xx/r4xx. Thanks airlied. |