summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_reg.h
AgeCommit message (Collapse)Author
2007-10-17Framework for supporting z24_s8 and z32 depth textures on r300.Ian Romanick
2007-07-16r300: Use the R300_PVS_UPLOAD_* defines.Oliver McFadden
2007-07-16r300: Added the clip plane upload defines.Oliver McFadden
2007-06-24r300: Vertex program position end bits are known.Oliver McFadden
Possibly performance may improve by setting it to the last instruction that writes result.position, rather than the last instruction in the vertex program.
2007-06-07r300: Added a comment regarding the R300_VAP_CLIP registers.Oliver McFadden
2007-06-07r300: Explain the R300_VAP_OUTPUT_VTX_FMT_1 register.Oliver McFadden
2007-05-30r300: Document registers 0x2220 to 0x2230.Oliver McFadden
These registers are per-pixel and per-vertex X and Y clipping planes.
2007-05-30r300: Use the CP_PACKET3 macro for Type 3 packets.Oliver McFadden
I haven't converted all of the Type 3 packets to the CP_PACKET3 macro yet because some of the Type 3 packet defines are missing from the R300 register definition file. These defines need to be copied from DRM and Mesa into the R300 register definition file then copied into both DRM and Mesa.
2007-05-27Revert "r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines."Oliver McFadden
This reverts commit bb3558e6517209086cf8426bbe4743da50351158. This commit caused a regression reported by Markus Amsler <markus.amsler@oribi.org>. Apparently these defines are required, although I'm not sure why.
2007-05-26r300: Removed R300_PFS_NODE_LAST_NODE replaced by R300_PFS_NODE_OUTPUT_COLOR.Oliver McFadden
2007-05-23r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines.Oliver McFadden
Supposedly you need to set these values for the interpolaters to work, but they seem to work fine without these values.
2007-05-13r300: Use the defined values when writing to R300_RS_ROUTE_0.Oliver McFadden
2007-05-13r300: A few very minor indenting corrections.Oliver McFadden
2007-05-09r300; Indent would destroy r300_reg.h, so add *INDENT-OFF*.Oliver McFadden
2007-05-09r300: Added R300_PRIM_NUM_VERTICES_MASK suggested by Jerome Glisse.Oliver McFadden
2007-05-06r300: Added R300_AA_DISABLE for R300_GB_AA_CONFIG.Oliver McFadden
2007-04-10r300: don't enable VAP/TCL on cards that don't support itDave Airlie
2007-03-24r300: No assertion when accessing incomplete texture images.Nicolai Haehnle
There used to be an assertion when a fragment program accesses an incomplete texture image. Work around this assertion. Note: I am unsure whether this workaround produces the desired result (0,0,0,1) on all hardware.
2007-03-19r300: Fix fragment program instruction pairing and register allocationNicolai Haehnle
There were a number of bugs related to the pairing of vector and scalar operations where swizzles ended up using the wrong source register, or an instruction was moved forward and ended up overwriting an aliased register. The new algorithm for register allocation is quite conservative and may run out of registers before necessary. On the plus side, It Just Works. Pairing is done whenever possible, and in more cases than before, so in practice this change should be a net win.
2007-03-13r300: Renamed the CACHE_CTLSTAT values to include UNKNOWN in the name; notOliver McFadden
enough information is known about them to be sure as to what the values mean.
2007-03-13Add defines for the values written to R300_RB3D_ZCACHE_CTLSTAT.Oliver McFadden
Note that just like the values written to R300_RB3D_DSTCACHE_CTLSTAT these values are really unknown; ideally more reverse engineering should be done to determine what these values mean and when they should be set.
2007-03-13Documented the value written for R300_TX_CNTL cache flush.Oliver McFadden
2007-03-13Guess another unknown register used for R300 pacification.Oliver McFadden
2007-03-11Guess another unknown register in R300 command buffer initialization. ↵Aapo Tahkola
(Oliver McFadden)
2007-03-01r300: Use register name & add a register about shading.Christoph Bill
2007-03-01r300: Use reg definition when available & add missing reg definition.Christoph Bill
2007-03-01Add early register descritpion.Christoph Bill
This need more work on case where we can disable or enable early (stencil, alpha might need it to be disable).
2006-11-01Add CMPH instruction to fragprogJerome Glisse
CMPH a0, a1, a2 -> if a2 > 0.5 return a1 else return a0 Guessed by examinating LIT instruction handling of FGLRX.
2006-09-12Removing some of r200 dependency, cleaning up code a bit,Jerome Glisse
and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300).
2006-07-04Add R300_VAP_CNTL 0x2140 and cosmetic cleanup.Jerome Glisse
2006-06-29Fix typo.Jerome Glisse
2006-04-11Fog support (Ewald Snel)Aapo Tahkola
2006-03-22implement arl and enable hw nv_vp.Aapo Tahkola
2006-03-13Fix broken max mipmap leveling that was horribly wrong.Aapo Tahkola
2006-02-25Add all pci ids known by ddx to radeon dri driver. Remove the entries not ↵Roland Scheidegger
known by ddx (probably secondary ids, non-existant cards and similar). Add rs400 to the family enum, and configure the rv410 like a 2 quad chip (?)
2006-01-27per vp sw fallbacksAapo Tahkola
2006-01-20Sync from drm.Aapo Tahkola
2006-01-09Missing patch from Ben Skeggs:Aapo Tahkola
Lots of changes, and fixes for some badness on my behalf. 1. Disposable data used during fp compile is now per-context, rather than per-program to save memory. 2. Track usage of INPUT/TEMP registers from Mesa program, free them when no longer required so the hw temps can be re-used. 3. Changed LAST_NODE to OUTPUT_COLOR (see r300_reg.h) 4. Implemented remaining ARB_f_p instructions, with the exception of the trig/LIT opcodes. 5. Treat ZERO/ONE swizzles the same way as other native swizzles. 6. emit_arith changes, basically a complete re-write. Should produce cleaner instructions, but no real functional changes. internal reg -> hw reg routines shared with emit_tex. A bit messy still.
2005-12-04Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeonDave Airlie
sw tcl
2005-11-21bit 31 of this inserts a nop after the current instructionDave Airlie
2005-11-21get rid of some of those unknowns figured out from reg dumperDave Airlie
2005-10-26Sync with my local tree.Aapo Tahkola
Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
2005-10-21add the tile bits for offset, and unk bit 31 of sizeDave Airlie
2005-06-16Use depth tiling.Aapo Tahkola
2005-06-16Support 16-bit modes.Aapo Tahkola
2005-06-12Fixed typos.Vladimir Dergachev
2005-06-10Add definition for memory controller latency registers..Vladimir Dergachev
2005-06-08- Secondary colourBen Skeggs
- Calculate tc_count in EmitArrays (enabled units != nr texcoords).
2005-05-28Up MAX_AOS_ARRAYS to 16. Do we need more?Ben Skeggs
2005-05-25- Remove one of the loops in emit_arithBen Skeggs
- Handle REPL_ALPHA in emit_arith (possibly incorrect for some things) - Start on getting demos/arbfplight.c to look right. Won't be animated yet, need to re-work const emit so we can update consts without re-translating the entire program. Assertion in r300_state.c::setup_rs_unit needs to be disabled for it to work.