aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_emit.c
Commit message (Collapse)AuthorAgeFilesLines
* r300c, r600c: Remove these DRI drivers.Eric Anholt2011-10-281-135/+0
| | | | | | | | | They have been superseded by the gallium equivalents. Acked-by: Michel Dänzer <[email protected]> Acked-by: Alex Deucher <[email protected]> Acked-by: Dave Airlie <[email protected]> Acked-by: Corbin Simpson <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-4/+4
|
* r300: Remove unnecessary headers.Vinson Lee2010-01-301-2/+0
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-251-3/+1
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
| * r300: Remove unnecessary headers.Vinson Lee2010-01-231-6/+0
| |
* | mesa: Remove _mesa_exit wrapper for exit().Eric Anholt2009-12-221-1/+1
| | | | | | | | | | It does nothing else while being less useful than exit() because it lacks attributes that real exit() has.
* | r300: use _mesa_meta_Clear for buffer clearsMaciej Cencora2009-12-121-1/+0
|/
* r300: remove unused software TNL pathMaciej Cencora2009-08-141-35/+0
| | | | This doesn't remove software TCL path - so RS480 and RS690 work as before.
* r300: removed unnecessary paramsMaciej Cencora2009-07-131-5/+5
| | | | We don't have check which attributes are used by fragment program - it's already done by NQSSADCE.
* r300: rewrite FOGC and HPOS attribs handlingMaciej Cencora2009-07-131-9/+0
| | | | Rewrite vertex and fragment programs so that we don't have to do any hacks on lower level.
* r300: fix VAP setupMaciej Cencora2009-06-111-5/+6
| | | | If GL context had e.g. tex0, tex2 and fog the VAPOutputCntl1 returned 0x104 instead of 0x124 - that meaned we're sending only 8 texcoords (instead of 12) which ended up in GPU hang.
* r300: fix a GPU lock upMaciej Cencora2009-06-111-15/+18
| | | | | | Sending from VAP more texture coordinates than RS expects results in GPU hang. Fixes BumpSelfShadow from DirectX8 SDK.
* r300: rewrite vertex setup for software T&L path using functions from ↵Maciej Cencora2009-06-071-205/+25
| | | | software TCL path
* r300: add hw accelerated support for different vertex data formatsMaciej Cencora2009-06-071-0/+5
|
* r300: cleanup vertex program related functionsMaciej Cencora2009-05-161-2/+1
| | | | | | | | | | | - move vertex program related functions to r300_vertprog.c - use _mesa_bitcount instead of self-made bit_count function - remove duplicated field in r300_vertex_shader_fragment.body union - rename r300_vertex_shader_fragment to r300_vertex_shader_hw_code - rename r300_vertex_program field native to error - remove unnecessary r300_vertex_shader_state structure - remove unused r300_vertex_program and r300_vertex_program_cont fields - remove disabled code
* r300: r300EmitArrays should never failMaciej Cencora2009-05-161-7/+2
|
* r300: further cleanupMaciej Cencora2009-05-161-1/+1
| | | | | | | - move extensions init into seperate function - move options handling into seperate function - create new structure to hold options values - use context->options.hw_tcl_enabled field instead of global hw_tcl_on and future_hw_tcl_on variables
* r300: general cleanupMaciej Cencora2009-04-191-6/+3
| | | | | | - remove unused fields - remove unused defines and macros - flatten one structure
* r300: reorder fog coordinate and WPOS fp attributesMaciej Cencora2009-04-091-1/+1
| | | | | | | | 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.
* radeon/r200/r300: fix up the whole buffer space checking.Dave Airlie2009-04-021-1/+1
| | | | | | | | | 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
* radeon/r200/r300: collapse context destruction down to a common path.Dave Airlie2009-04-021-19/+2
| | | | | Context destruction was nearly the same over all the drivers, so collapse it down.
* Merge remote branch 'main/master' into radeon-rewriteDave Airlie2009-03-201-1/+10
|\ | | | | | | | | | | | | | | | | 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
| * r300: route fog coord and W pos correctlyMaciej Cencora2009-03-061-5/+10
| | | | | | | | | | | | Also cleanup sw tcl vertex buffer setup Signed-off-by: Nicolai Haehnle <[email protected]>
* | r300: revert back autostate change on cacheflush emitDave Airlie2009-02-231-1/+1
| |
* | radeon/r200/r300: another big merge upheavel.Dave Airlie2009-02-121-1/+0
| | | | | | | | | | | | | | | | 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
* | r300: fix some autostate batch setupsDave Airlie2009-02-061-1/+1
| |
* | r300: make dma buffer reuse much more sensibleDave Airlie2009-02-041-3/+0
| |
* | radeon/r200/r300: bring back old style DMA buffer on top of BOs.Dave Airlie2009-01-291-24/+28
| | | | | | | | | | | | 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
* | r200: clear is working at least - not much elseDave Airlie2009-01-201-139/+4
| |
* | r300: move some more function to genericDave Airlie2009-01-151-1/+1
| |
* | radeon: make DRI1 one work with new CS mechanismDave Airlie2008-12-011-4/+4
| |
* | radeon: fix pointer danglingJerome Glisse2008-11-161-3/+2
| |
* | r300: cs + DRI2 supportJerome Glisse2008-11-141-1/+14
| | | | | | | | | | If DRI2 is enabled then switch cmd assembly to directly build hw packet.
* | r300: bo and cs abstraction.Jerome Glisse2008-11-141-114/+50
|/ | | | | | | | | | 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
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-6/+6
| | | | Makefile.template
* R3xx: clean up ZB registersAlex Deucher2008-05-131-3/+3
|
* R300: clean up CB registersAlex Deucher2008-05-131-2/+2
|
* r300: recombine the vap input route 0 code and cleanDave Airlie2008-05-031-6/+6
| | | | | | This gets non-tcl cards working again on this branch.. at least texrect and glxgears
* R300: clean up VAP_PROG_STREAM_CNTL* register usageAlex Deucher2008-05-021-10/+18
|
* r300: Fix r300VAPInputRoute{0,1} for big endian platforms.Michel Dänzer2008-04-071-11/+19
|
* r300: Simplify r300VAPInputRoute1.Markus Amsler2008-03-171-7/+3
|
* r300: Simplify r300VAPInputRoute0, check for valid input.Markus Amsler2008-03-171-14/+10
|
* r300: Corrected a cache flush bug in r300EmitCacheFlush.Oliver McFadden2008-02-251-5/+5
| | | | Corrects commit 74ae5a875d6b3f1ffea2ac09c6ef0062d4980f15.
* [r300] Further document FG_ALPHA_FUNC (renamed from R300_PP_ALPHA_TEST) and ↵Christoph Brill2008-02-251-1/+1
| | | | finally add some information to R300_RB3D_DSTCACHE_CTLSTAT
* [r300] Sync the names for Z-Buffer registers with the AMD specChristoph Brill2008-02-251-2/+2
| | | | | 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.
* [r300] Document some of the wild guesses in VAP_OUTPUT_VTX_FMT based on AMD specChristoph Brill2008-02-251-1/+1
|
* Revert "r300: fix bug with maniadrive rendering"Dave Airlie2008-01-021-13/+13
| | | | | | this is correct, there is another issue with sw fallbacks This reverts commit cc50edbca2fd3111f9987d4117fa6656599d79dc.
* r300: fix bug with maniadrive renderingDave Airlie2008-01-021-13/+13
| | | | I've no idea why I added this so I'll have to spend time tracking it down
* r300: Enable the vertprog point size again.Oliver McFadden2007-07-161-1/+1
|
* r300: Disable vertex program point size; it's almost certainly wrong.Oliver McFadden2007-07-141-1/+1
| | | | See the conversation between myself and Tommy Schultz Lassen on mesa3d-dev.