aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_context.h
Commit message (Collapse)AuthorAgeFilesLines
* r300: move to using RS_INST namesDave Airlie2008-03-281-8/+8
|
* r300: add artificial output to match fragment program inputMarkus Amsler2008-02-271-0/+1
|
* [r300] Add more struct names for r300_hw_stateChristoph Brill2008-02-251-5/+5
|
* [r300] rename all unkown structs r300_hw_state to readable namesChristoph Brill2008-02-251-14/+14
|
* Renamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL.Oliver McFadden2007-11-051-1/+1
|
* r300: initial user clipping for TCL pathsDave Airlie2007-11-051-0/+8
| | | | | I've no idea if this code might break something or how it should interact with vertex shaders, it makes the clip demo work for me
* r300: Cleaned up vertprog construction.Oliver McFadden2007-07-181-1/+1
| | | | | | | | | | | | Construct the vertprog instruction in the 4 DWORD parts... DWORD 0: Opcode and Output. DWORD 1: First Argument. DWORD 2: Second Argument. DWORD 3: Third Argument. Allow the opcode translation functions to generate more than one instruction; useful for when an instruction must be emulated. FLR, XPD, etc.
* r300: Use the R300_PVS_UPLOAD_* defines.Oliver McFadden2007-07-161-9/+0
|
* r300: Replaced the ugly VERTEX_SHADER_INSTRUCTION typedef.Oliver McFadden2007-07-161-1/+1
|
* Merge branch 'r300-swtcl'Dave Airlie2007-07-011-1/+66
|\
| * Initial r300 modes for swtcl it compiles!!Dave Airlie2007-06-141-1/+66
| |
* | r300: Initial work on merging the real and generated vertex program functions.Oliver McFadden2007-06-241-13/+0
| |
* | r300: Vertex program position end bits are known.Oliver McFadden2007-06-241-1/+1
| | | | | | | | | | Possibly performance may improve by setting it to the last instruction that writes result.position, rather than the last instruction in the vertex program.
* | r300: Removed unused vap_param structure.Oliver McFadden2007-06-241-4/+0
|/
* r300: Document registers 0x2220 to 0x2230.Oliver McFadden2007-05-301-1/+1
| | | | These registers are per-pixel and per-vertex X and Y clipping planes.
* r300: Removed the (completely broken since new VBO branch) OPTIMIZE_ELTS path.Oliver McFadden2007-05-301-2/+0
| | | | | | | | | The VTXFMT code was broken by the new VBO branch and the OPTIMIZE_ELTS path relied on the VTXFMT code... I'm not even sure if the OPTIMIZE_ELTS path ever worked; the testing that I did after minimizing the code duplication would have taken the same path as the non-OPTIMIZE_ELTS code.
* r300: Removed duplicate AOS format defines; already defined in r300_reg.h.Oliver McFadden2007-05-261-5/+0
|
* r300: Removed unused aos_reg variable.Oliver McFadden2007-05-261-1/+0
|
* r300: Cleaned up t_vir0 and t_vir1 slightly.Oliver McFadden2007-05-251-1/+1
|
* r300: Implement SetTexOffset hook.Michel Dänzer2007-05-221-0/+2
|
* r300: Just use "inline" rather than "__inline__".Oliver McFadden2007-05-201-2/+2
|
* r300: Removed the radeon_vertex_buffer structure.Tommy Schultz Lassen2007-05-171-23/+0
|
* r300: Enable the non-user-buffers code to compile.Oliver McFadden2007-05-131-1/+2
|
* r300: Removed the unused r300_aos_rec (replaced by r300_dma_region) structure.Oliver McFadden2007-05-131-13/+0
|
* r300: Removed unused FORCE_32BITS_ELTS define.Oliver McFadden2007-05-111-5/+0
|
* r300: Removed the unused CPT macro.Oliver McFadden2007-05-111-6/+0
|
* r300: Moved r300PackFloat24 near r300PackFloat32.Oliver McFadden2007-05-111-0/+31
|
* r300: Added some more Doxygen documentation and made some functions static.Oliver McFadden2007-05-091-6/+0
|
* r300: Removed the "texmicrotile" variable; the tiling code is disabled via aOliver McFadden2007-05-091-1/+0
| | | | compiler conditional anyway; probably broken?
* r300: Cleaned up radeon_context.h slightly; mostly Indent.Oliver McFadden2007-05-091-1/+0
|
* r300: Renamed the R300 memory manager from "radeon" to "r300"; it's R300Oliver McFadden2007-05-091-1/+1
| | | | specific.
* r300: Removed the dangerous R300_SPAN_DISABLE_LOCKING flag.Oliver McFadden2007-05-091-1/+0
| | | | | | Enabling R300_SPAN_DISABLE_LOCKING would probably cause more lockups; I think there are a couple of other little bugs in this code, too. It's best to remove it.
* r300: Added some Doxygen comments.Christoph Bill2007-05-091-18/+10
|
* r300: Removed the deprecated VTXFMT code.Oliver McFadden2007-05-091-19/+0
| | | | | This was okayed by Jerome Glisse and Keith Whitwell on the dri-devel IRC channel and list, respectively.
* r300: Fixed some more function names.Oliver McFadden2007-05-091-2/+2
| | | | | Note there might be some calls to the old function names in conditionally disabled code, but I think I've got them all.
* r300: Changed r300_run_vb_render calls to r300RunRender in some conditionallyOliver McFadden2007-05-091-2/+2
| | | | disabled code.
* r300: Indented r300_context.[ch].Oliver McFadden2007-05-091-98/+95
|
* r300: Removed the ugly CARD32 type.Oliver McFadden2007-05-091-4/+0
|
* r300: Renamed vertex_shader.h to r300_vertprog.hOliver McFadden2007-05-091-1/+1
|
* r300: Renamed the VBO functions to the R300 name format.Oliver McFadden2007-05-081-2/+2
|
* r300: fix broken vbosAapo Tahkola2007-05-061-0/+2
|
* don't use hw to perform vertex transform etc. when using swtcl. This for ↵Aapo Tahkola2007-05-051-5/+0
| | | | compatibility with vertex programs and the fact that swtcl very rarely gets hit with tcl capable hw.
* r300: Fix texture coordinate calculation for rectangle texturesNicolai Haehnle2007-03-241-0/+1
| | | | | | | | | | | R300 hardware takes texcoords in the range 0..1 even for rectangle textures. Previously, the necessary texcoord conversion was applied to the texture coordinate during vertex processing in a render stage. This is obviously wrong when fragment programs are used, which can calculate arbitrary coordinates for TEX instructions. Therefore, we now inject an appropriate MUL instruction before a TEX that reference a rectangle texture.
* r300: No assertion when accessing incomplete texture images.Nicolai Haehnle2007-03-241-6/+0
| | | | | | | 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.
* r300: Remove the program-global const_sin indexNicolai Haehnle2007-03-211-3/+0
| | | | | | | The index is no longer necessary to share constants between multiple SIN/COS/SCS instructions inside a single fragment program, and storing a tiny implementation detail like this in the fragment_program structure itself was just nasty.
* r300: Whitespace cleanup (remove trailing spaces)Nicolai Haehnle2007-03-201-26/+26
|
* r300: Cleanup fragment program constant allocation, share constantsNicolai Haehnle2007-03-191-11/+9
| | | | | | | | | The constant/parameter allocation was significantly simplified, removing one unnecessary copy operation of parameters. The dirty state tracking is unchanged and far from optimal, since all state is always re-fetched. Constants and parameters are now emitted only once, which significantly reduces the resource pressure on larger programs.
* r300: Fix fragment program reorderingNicolai Haehnle2007-03-191-0/+5
| | | | | Do not move an instruction that writes to a temp forward past an instruction that reads the same temporary.
* r300: Fix fragment program instruction pairing and register allocationNicolai Haehnle2007-03-191-24/+70
| | | | | | | | | | | | | 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.
* Guess another unknown register in R300 command buffer initialization. ↵Aapo Tahkola2007-03-111-1/+1
| | | | (Oliver McFadden)