summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_reg.h
AgeCommit message (Collapse)Author
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.
2005-05-23Implement enough of ARB_fragment_program for Keith's texenv programBen Skeggs
generation in Mesa. Requires most recent Mesa cvs to work correctly. Swizzle code is possibly slow/buggy and will probably be replaced. Old behaviour can be controlled by a #define in r300_context.h, if no-one minds I'll remove the old code later on. Also, disabled cube map extension. AFAIK We don't support it yet, and it causes issues with UT2004.
2005-05-19Ditch unused code and features that arent in subject to get supported any ↵Aapo Tahkola
near time.
2005-05-18Polygon mode fixes.Aapo Tahkola
2005-05-06Missing setups that cause all kinds of problems with hw tnl.Aapo Tahkola
2005-05-05Getting rusty... 4278 was already there.Aapo Tahkola
2005-05-05Flat shading and bunch of clarifications to r300_reg.h .Aapo Tahkola
2005-03-15Initial multitexturing support. Old behaviour can be re-enabled by changing ↵Ben Skeggs
ifdefs in r300_setup_rs_unit and r300SetupPixelShader in r300_state.c\nRequires DRM update.
2005-03-14Stencil supportPeter Zubaj
Reflex from mesa demos doesn't work TODO - double side stencil I hope that I didn't break anything
2005-03-13Replacing alpha test bits with values that give desired results as compaired ↵Aapo Tahkola
to software rendering. Alpha test in textures is still completely broken as can be seen in progs/demos/fire and various games.
2005-03-04Set pipes for R420 cards. Gives a nice speedup. This needs to be tested on ↵Rune Petersen
r420 cards with less than 16 pipes.
2005-02-22New elt buffer code should be fairly stable.Aapo Tahkola