summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_swtcl.c
AgeCommit message (Collapse)Author
2009-07-27r300/fragprog: Move wpos_attr and fog_attr where they belongNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Remove some dependencies on additional fragment program copiesNicolai Hähnle
The copy is still needed because some program transforms add state variables or constants. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Detangle fragment program compiler from driver-specific structureNicolai Hähnle
This is in preparation of sharing the fragment program compiler with Gallium: Compiler code is moved into its own directory and modified so that it no longer depends on driver structures. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-13r300: fix WPOS for SWTCLMaciej Cencora
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-07-13r300: cache translated fragment programsMaciej Cencora
2009-06-11r300: fix for SW TCL pathMaciej Cencora
We shouldn't use i variable for SWTCL_OVM_TEX because textures doesn't have to be enabled in "packed" order. We could have tex1,tex3 and fog which would receive 7,9,8 OVM locations instead of 6,7,8.
2009-06-11r300: don't send unused attributes for SW TCL pathMaciej Cencora
2009-06-08r300: fix regression caused by 056bc77547c304021a0faf204897ed238a5cf424Maciej Cencora
Fixes GPU hangs in software TCL path
2009-06-07r300: prepare for some code duplication removalMaciej Cencora
2009-06-07r300: prepare for different vertex data type supportMaciej Cencora
2009-05-28r300: when using cs path emit scissor in the cmdbufferJerome Glisse
2009-05-16r300: software fallbacking handling rewriteMaciej Cencora
Until now falling back to software rasterizer worked only for TCL enabled cards. For non TCL cards we used to plug our rendering functions in r300InitSwtcl, and we had never restored original functions for software rasterizer.
2009-04-27r300: do front/back color selection in HW for software TCL pathMaciej Cencora
2009-04-27r300: always route 4 texcoord components to RSMaciej Cencora
Routing <4 components may lead to lock up. Thanks to Alex Deucher for suggestion.
2009-04-27r300: handle texcoords properlyMaciej Cencora
add 1D texture case and setup default Q value to 1.0
2009-04-19r300: merge r300/r500 fragment program compiler structureMaciej Cencora
2009-04-19r300: general cleanupMaciej Cencora
- remove unused fields - remove unused defines and macros - flatten one structure
2009-04-17r300: we always want non NDC coords format for swtclMaciej Cencora
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-09r300: fix regression from swtcl rewriteMaciej Cencora
Fix wrong attribute emit and revert to previous behaviour of calculating VAP_OUT_VTX_FMT_1 register value. We can't use r300VAPOutputCntl1 function because it assumes that all texture coords have 4 components and that is the case for HW TCL path, but not for SW TCL.
2009-04-09Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
Conflicts: src/mesa/drivers/dri/r200/r200_tex.c src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_context.h src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texmem.c src/mesa/drivers/dri/r300/r300_texstate.c src/mesa/drivers/dri/radeon/radeon_tex.c
2009-04-07r300: swtcl rewrite and cleanupMaciej Cencora
- remove unused variables - silence compiler warnings - fix twosided lighting - fix point attenuation - unify indentation
2009-03-25r300: cleanup swtcl a littleMaciej Cencora
- remove disabled code - silence compiler warnings (uinitialized values) - remove unneeded code
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-03-06r300: don't crash on sw tcl hw if point size vertex attrib is sentMaciej Cencora
2009-03-06r300: fix swtcl codepathsDave Airlie
2009-02-12r300: make r300 work with latest changesDave 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-02r300: rename validate textures to validate buffersDave Airlie
2009-01-31r200/r300: swtcl fixups to use old dma buffers on top of BOsDave Airlie
2009-01-31r200/r300: add aperture space checksDave Airlie
2009-01-29WIP comitDave 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
2009-01-14r300: start moving new r300 cmdbuf into common codeDave Airlie
2008-11-14r300: convert to new relocations format (see libdrm-radeon)Jerome 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-05r300: fix swtcl texrect path properly.Dave Airlie
We really need to update the shader state so the texrect parameters work. This should fix compiz looking crappy on rs480 and rs690
2008-05-04r300: remove debugging codeDave Airlie
2008-05-04r300: setup vte according to inputsDave Airlie
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
2007-09-11Fix-up #includes to remove some -I options.Brian
eg: #include "shader/program.h" and remove -I$(TOP)/src/mesa/program
2007-07-04r300: only init swtcl on tcl-less cardsDave Airlie
2007-07-02r300: fix compiz crash on swtcl - doesn't fix compiz though.Dave Airlie
Compiz for some reason looks like ass, everything with textures looks like it has a 2x width/height multiplier on the texture coords...