summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_emit.c
AgeCommit message (Collapse)Author
2009-04-09r300: reorder fog coordinate and WPOS fp attributesMaciej Cencora
HW TCL path currently assumed fog, WPOS order. The order was inverted for SW TCL path. This hopefully fixes rest of fog and WPOS related bugs. Additionally fix some indentation, don't route unnecessary components of fog coordinates for performance reasons and simplify vertex attribute emitting for SW TCL path.
2009-04-02radeon/r200/r300: fix up the whole buffer space checking.Dave Airlie
This fixes up the buffer validation scheme, so that we keep a list of buffers to validate so cmdbuf flushes during a pipeline get all the buffers revalidated on the next emit. This also fixes radeonFlush to not flush unless we have something useful to send to the GPU, like a DMA buffer or something not state
2009-04-02radeon/r200/r300: collapse context destruction down to a common path.Dave Airlie
Context destruction was nearly the same over all the drivers, so collapse it down.
2009-03-20Merge remote branch 'main/master' into radeon-rewriteDave Airlie
Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/radeon_ioctl.c src/mesa/drivers/dri/radeon/radeon_screen.c
2009-03-06r300: route fog coord and W pos correctlyMaciej Cencora
Also cleanup sw tcl vertex buffer setup Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-02-23r300: revert back autostate change on cacheflush emitDave Airlie
2009-02-12radeon/r200/r300: another big merge upheavel.Dave Airlie
This merges lots of the hw state atom emission and firevertices code. it also removes a lot of the extra radeon crap from r300 and merge scissor
2009-02-06r300: fix some autostate batch setupsDave Airlie
2009-02-04r300: make dma buffer reuse much more sensibleDave Airlie
2009-01-29radeon/r200/r300: bring back old style DMA buffer on top of BOs.Dave Airlie
this gets back a lot of the lots speed in gears on r500 at least I also fixed the legacy bufmgr to deal when the dma space fills up
2009-01-20r200: clear is working at least - not much elseDave Airlie
2009-01-15r300: move some more function to genericDave Airlie
2008-12-01radeon: make DRI1 one work with new CS mechanismDave Airlie
2008-11-16radeon: fix pointer danglingJerome Glisse
2008-11-14r300: cs + DRI2 supportJerome Glisse
If DRI2 is enabled then switch cmd assembly to directly build hw packet.
2008-11-14r300: bo and cs abstraction.Jerome Glisse
This abstract memory management and command stream building so we can use different backend either legacy one which use old pathway or a new one like with a new memory manager. This works was done by : Nicolai Haehnle Dave Airlie Jerome Glisse
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-05-13R3xx: clean up ZB registersAlex Deucher
2008-05-13R300: clean up CB registersAlex Deucher
2008-05-03r300: recombine the vap input route 0 code and cleanDave Airlie
This gets non-tcl cards working again on this branch.. at least texrect and glxgears
2008-05-02R300: clean up VAP_PROG_STREAM_CNTL* register usageAlex Deucher
2008-04-07r300: Fix r300VAPInputRoute{0,1} for big endian platforms.Michel Dänzer
2008-03-17r300: Simplify r300VAPInputRoute1.Markus Amsler
2008-03-17r300: Simplify r300VAPInputRoute0, check for valid input.Markus Amsler
2008-02-25r300: Corrected a cache flush bug in r300EmitCacheFlush.Oliver McFadden
Corrects commit 74ae5a875d6b3f1ffea2ac09c6ef0062d4980f15.
2008-02-25[r300] Further document FG_ALPHA_FUNC (renamed from R300_PP_ALPHA_TEST) and ↵Christoph Brill
finally add some information to R300_RB3D_DSTCACHE_CTLSTAT
2008-02-25[r300] Sync the names for Z-Buffer registers with the AMD specChristoph Brill
This patch tries to get the Z-Buffer register names in sync with the AMD spec so that talking to AMD engineers is much simpler.
2008-02-25[r300] Document some of the wild guesses in VAP_OUTPUT_VTX_FMT based on AMD specChristoph Brill
2008-01-02Revert "r300: fix bug with maniadrive rendering"Dave Airlie
this is correct, there is another issue with sw fallbacks This reverts commit cc50edbca2fd3111f9987d4117fa6656599d79dc.
2008-01-02r300: fix bug with maniadrive renderingDave Airlie
I've no idea why I added this so I'll have to spend time tracking it down
2007-07-16r300: Enable the vertprog point size again.Oliver McFadden
2007-07-14r300: Disable vertex program point size; it's almost certainly wrong.Oliver McFadden
See the conversation between myself and Tommy Schultz Lassen on mesa3d-dev.
2007-07-13r300: Setup the back facing color bits correctly.Oliver McFadden
Apparently for back facing color to work you must set all 3 color bits; I guess the hardware cannot handle them separately.
2007-07-11r300: Added support for Back Facing Color.Tommy Schultz Lassen
2007-07-01r300: cleanup some of the swtcl codeDave Airlie
2007-06-22clean up cache flush emission into one placeDave Airlie
makes gears work with swtcl
2007-06-20fixup some bits of tcl pathDave Airlie
2007-06-13move clip to r300 emitDave Airlie
2007-06-07r300: Removed a "don't think this is needed" comment, it actually is needed.Oliver McFadden
According to the comment you do not need to setup INPUT_CNTL when using vertex buffers. However, not doing so results in a lockup.
2007-05-30r300: Added a comment in r300VAPInputCntl0.Oliver McFadden
2007-05-26r300: Rearranged the DWORD construction in r300VAPInputRoute0 for clarity.Oliver McFadden
Doesn't actually change anything; just makes it easier to read.
2007-05-26r300: Removed duplicate AOS format defines; already defined in r300_reg.h.Oliver McFadden
2007-05-26r300: Use "rmesa" not "r300" in r300_emit.c; some of the macros require "rmesa".Oliver McFadden
2007-05-26r300: Cleaned up the non-TCL RENDERINPUTS, etc.Oliver McFadden
2007-05-26r300: Whitespace cleanup in r300_emit.c.Oliver McFadden
2007-05-26r300: Added the r300VAPInputCntl0 function.Oliver McFadden
The function just returns the hard-coded value (0x5555) even though we have no idea what this means...
2007-05-26r300: Added r300VAPOutputCntl0 and r300VAPOutputCntl1 to r300_emit.c.Oliver McFadden
2007-05-26r300: Renamed the t_vic function.Oliver McFadden
2007-05-26r300: Renamed the t_vir0 and t_vir1 functions.Oliver McFadden
2007-05-25r300: Renamed "dt" to "attribptr" in the t_vir0 function.Oliver McFadden