summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r5xx: Add OPCODE_SCS.Corbin Simpson2008-05-171-1/+51
| | | | It's disabled, though, because it doesn't work. I'll figure it out later...
* r5xx: Adding more opcodes.Corbin Simpson2008-05-171-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 Simpson2008-05-171-0/+14
|
* r5xx: Unbreak MAX and MIN.Corbin Simpson2008-05-171-2/+2
| | | | Both of them had faulty copypasta.
* r500: set fragprog end to correct placeDave Airlie2008-05-171-3/+4
|
* r300: SC register naming cleanupAlex Deucher2008-05-172-31/+37
|
* r500: write out the correct FP registersAlex Deucher2008-05-176-6/+43
|
* r500: default rsunit swizzle like fglrxDave Airlie2008-05-152-3/+14
|
* r500: shift tex src properlyDave Airlie2008-05-151-2/+2
|
* r500: fixup r500 rs unit texture coordinate countingDave Airlie2008-05-151-13/+15
|
* r500: remove some debuggingDave Airlie2008-05-151-3/+1
|
* r500: split output/pixel masks and emit in the correct placesDave Airlie2008-05-151-19/+20
|
* r3/500: emit RS state before VAPDave Airlie2008-05-151-3/+4
|
* r500: fixup the program allocations to be the correct sizesDave Airlie2008-05-151-10/+31
|
* r300: set screen so that context init can find out chip idsDave Airlie2008-05-151-1/+1
|
* r500: add cmp support in theoryDave Airlie2008-05-151-0/+24
|
* r500: some trivial fixups to get tri working.Dave Airlie2008-05-152-10/+14
| | | | the counter was being used one instruction over the end
* r500: we just need to emit a colour for clear drop tex instructionDave Airlie2008-05-151-34/+1
|
* R300: clean up GA registersAlex Deucher2008-05-133-177/+177
|
* R3xx: clean up ZB registersAlex Deucher2008-05-135-186/+181
|
* R300: clean up CB registersAlex Deucher2008-05-134-67/+76
|
* R300: clean up Fog registersAlex Deucher2008-05-134-72/+71
|
* R500: fixup r300EmitClearState() FP for r5xxAlex Deucher2008-05-131-8/+19
|
* R300: cleanup FS code and fill in missing detailsAlex Deucher2008-05-136-375/+409
|
* R3xx: more PVS cleanupAlex Deucher2008-05-134-34/+32
|
* Merge branch 'r500-support' of ↵Alex Deucher2008-05-126-201/+270
|\ | | | | | | git+ssh://[email protected]/git/mesa/mesa into r500-support
| * r500: cleanup r500 RS setupDave Airlie2008-05-072-49/+67
| |
| * r500: for rectangular textures set to unscaled coordinates.Dave Airlie2008-05-071-0/+4
| |
| * r5xx: Fix FP inputs. (For good?)Corbin Simpson2008-05-071-8/+59
| | | | | | | | | | FP inputs are now counted and mapped correctly, and temps are allocated tightly and correctly.
| * r5xx: Fix false error with DP3/DP4.Corbin Simpson2008-05-061-18/+8
| | | | | | | | | | DP3/DP4 only takes two arguments, but tried to load three, causing a false fallback to the dumb shader.
| * r5xx: Index inputs and temps.Corbin Simpson2008-05-062-95/+41
| | | | | | | | | | | | | | | | This is not the same as r3xx indexing. It only tries to protect inputs on the pixel stack from getting clobbered by temps or texs. Texs don't need special treatment since they read from special input regs and write to the same temp regs as ALU/FC instructions.
| * r5xx: FP: Add OPCODE_TXB.Corbin Simpson2008-05-061-0/+9
| | | | | | | | Tex lookup with biased LOD. Should magically work.
| * r5xx: FP: Make MOV/ABS look pretty.Corbin Simpson2008-05-061-39/+32
| | | | | | | | We can't really do anything like emit_alu, so we're doing emit_mov instead.
| * r5xx: Emit an OUT instruction at the end of execution.Corbin Simpson2008-05-061-5/+23
| | | | | | | | This should make TEX/TXP work right. (Note: "Should" is not "does.")
| * r5xx: We update max_temp_idx now, so no need to hard-code it.Corbin Simpson2008-05-061-1/+1
| | | | | | | | | | This roughly doubles the speed of glxgears (GINAB) by allowing more pixels to run concurrently.
| * r5xx: Fix typo.Corbin Simpson2008-05-061-1/+1
| | | | | | | | Gotta be more careful with my cut'n'paste, lawl.
| * r5xx: Use max_temp_idx.Corbin Simpson2008-05-061-4/+14
| |
| * r500: consolidate tex instructionsDave Airlie2008-05-051-29/+39
| | | | | | | | | | you cannot change a tex into an output so this means we have to actually do another instruction after this one to mov if its an output
| * r500: mov cleanup macrosDave Airlie2008-05-051-6/+6
| |
| * r500: make tri-param workDave Airlie2008-05-053-15/+21
| | | | | | | | | | | | | | This makes constant work which are 32-bit on r500 unlike r300. Switch MOV to using MAD no idea if we might have negative things MAX 0,-5 is likely to do the wrong thing..
| * r500: make sure we emit max temp atom.Dave Airlie2008-05-053-0/+12
| | | | | | | | We don't appear to update max_temp_idx yet anywhere though
| * r300: fix swtcl texrect path properly.Dave Airlie2008-05-052-1/+3
| | | | | | | | | | | | We really need to update the shader state so the texrect parameters work. This should fix compiz looking crappy on rs480 and rs690
* | R500: add support for 4k texturesAlex Deucher2008-05-124-5/+18
|/
* r300: Set correct VAP_CNTL per vertex program.Markus Amsler2008-05-032-38/+105
| | | | | adapted from Markus' patch on bug 15386 with updates for non-TCL and R500.
* r5xx: Fix for loops.Corbin Simpson2008-05-031-2/+4
| | | | Thanks to dli in IRC for pointing this out.
* r5xx: Fix dumb shader.Corbin Simpson2008-05-031-20/+32
| | | | | For some reason, FGLRX doesn't actually set R500_US_INST_TEX. Let us not make that same mistake.
* Merge branch 'r500test' of git://people.freedesktop.org/~csimpson/mesa into ↵Corbin Simpson2008-05-036-2233/+536
|\ | | | | | | r500-support
| * Merge branch 'r500-support' into r500testCorbin Simpson2008-05-0212-117/+83
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bringing the FPS code up-to-date. Conflicts: src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/r500_fragprog.c src/mesa/drivers/dri/r300/r500_fragprog.h
| * \ Merge branch 'r345-cleanup' of git://people.freedesktop.org/~agd5f/mesa into ↵Corbin Simpson2008-05-028-134/+477
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r500test Adding Alex's cleanup patches. This adds r5xx TCL! Whoo-hoo! Conflicts: src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/radeon/radeon_chipset.h src/mesa/drivers/dri/radeon/radeon_screen.c
| | * | R3/4/5: fix TCL on r5xx, cleanup PVS codeAlex Deucher2008-05-025-53/+72
| | | |