summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_emit.c
AgeCommit message (Collapse)Author
2009-08-14r300: remove unused software TNL pathMaciej Cencora
This doesn't remove software TCL path - so RS480 and RS690 work as before.
2009-07-13r300: removed unnecessary paramsMaciej Cencora
We don't have check which attributes are used by fragment program - it's already done by NQSSADCE.
2009-07-13r300: rewrite FOGC and HPOS attribs handlingMaciej Cencora
Rewrite vertex and fragment programs so that we don't have to do any hacks on lower level.
2009-06-11r300: fix VAP setupMaciej Cencora
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.
2009-06-11r300: fix a GPU lock upMaciej Cencora
Sending from VAP more texture coordinates than RS expects results in GPU hang. Fixes BumpSelfShadow from DirectX8 SDK.
2009-06-07r300: rewrite vertex setup for software T&L path using functions from ↵Maciej Cencora
software TCL path
2009-06-07r300: add hw accelerated support for different vertex data formatsMaciej Cencora
2009-05-16r300: cleanup vertex program related functionsMaciej Cencora
- 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
2009-05-16r300: r300EmitArrays should never failMaciej Cencora
2009-05-16r300: further cleanupMaciej Cencora
- 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
2009-04-19r300: general cleanupMaciej Cencora
- remove unused fields - remove unused defines and macros - flatten one structure
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.