aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_state.c
Commit message (Collapse)AuthorAgeFilesLines
* Removing some of r200 dependency, cleaning up code a bit,Jerome Glisse2006-09-121-52/+51
| | | | | | | and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300).
* fix #8008Aapo Tahkola2006-08-261-8/+4
|
* fix broken write-only depth setting. use early z where possible.Aapo Tahkola2006-08-221-126/+117
|
* support shorts as vertex dataAapo Tahkola2006-08-111-17/+7
|
* fix #6991Aapo Tahkola2006-07-311-0/+10
|
* R300_RR_ROUTE_1 still needs to be initialized.Aapo Tahkola2006-07-051-0/+2
|
* Vertex/fragment program patches (Rune Petersen)Brian Paul2006-06-301-4/+3
|
* prevent run_arb_vertex_program from running tnl programs unless ↵Aapo Tahkola2006-06-061-4/+0
| | | | ctx->_MaintainTnlProgram is set
* updates to dri drivers for recent stencil changesKeith Whitwell2006-05-081-5/+5
|
* limit max program/param length to 255 (spotted by sroland)Aapo Tahkola2006-04-201-0/+1
|
* GLboolean cannot hold GLuint! usage of tmus >= 4 no longer lock r300.Aapo Tahkola2006-04-121-12/+7
|
* add missing 'union' keywordBrian Paul2006-04-111-2/+3
|
* More GLSL code:Michal Krol2006-04-111-9/+22
| | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
* get fog going(for real)Aapo Tahkola2006-04-111-1/+0
|
* Fog support (Ewald Snel)Aapo Tahkola2006-04-111-11/+124
|
* fix missing *_STATECHANGE in *UpdateViewportOffset for radeon, r200 and r300 ↵Roland Scheidegger2006-03-281-0/+1
| | | | (reported by Jim Duchek). Fix some potential problems with strict-aliasing with r200 and radeon drivers in *UpdateViewportOffset, *PolygonOffset and *UpdateWindow functions (some compiler warnings about strict-aliasing remain in the codegen vertex code, and there may be more problems unnoticed by the compiler).
* Disable tnl programs when doing software vertex programs. compiz with its ↵Aapo Tahkola2006-03-191-0/+4
| | | | texrect and lighting needs was broken because of this.
* Clean build.Aapo Tahkola2006-03-131-3/+2
|
* Fix broken max mipmap leveling that was horribly wrong.Aapo Tahkola2006-03-131-51/+14
|
* Fix aliasing bug (Benjamin Herrenschmidt)Aapo Tahkola2006-02-281-8/+10
|
* Add all pci ids known by ddx to radeon dri driver. Remove the entries not ↵Roland Scheidegger2006-02-251-1/+7
| | | | known by ddx (probably secondary ids, non-existant cards and similar). Add rs400 to the family enum, and configure the rv410 like a 2 quad chip (?)
* remove broken non arb fp pathAapo Tahkola2006-01-271-254/+0
|
* remove some testing codeAapo Tahkola2006-01-261-30/+0
|
* Fix a problem where offsets from disabled tmus reach drmAapo Tahkola2006-01-261-38/+66
|
* namespace pollution fixes (Tilman Sauerbeck)Aapo Tahkola2006-01-131-1/+1
|
* Fix invalid tex coord routing and couple other small things.Aapo Tahkola2006-01-131-13/+15
|
* Missing patch from Ben Skeggs:Aapo Tahkola2006-01-091-10/+9
| | | | | | | | | | | | | | | | | | | | | | Lots of changes, and fixes for some badness on my behalf. 1. Disposable data used during fp compile is now per-context, rather than per-program to save memory. 2. Track usage of INPUT/TEMP registers from Mesa program, free them when no longer required so the hw temps can be re-used. 3. Changed LAST_NODE to OUTPUT_COLOR (see r300_reg.h) 4. Implemented remaining ARB_f_p instructions, with the exception of the trig/LIT opcodes. 5. Treat ZERO/ONE swizzles the same way as other native swizzles. 6. emit_arith changes, basically a complete re-write. Should produce cleaner instructions, but no real functional changes. internal reg -> hw reg routines shared with emit_tex. A bit messy still.
* Handle fatal case.Aapo Tahkola2005-12-181-4/+8
|
* Warn only when being enabled.Aapo Tahkola2005-12-171-1/+1
|
* Fix (likely) typo.Aapo Tahkola2005-12-171-1/+1
|
* Add some missing hooks. This should fix various little problems with window ↵Aapo Tahkola2005-12-171-1/+88
| | | | movement and 2d windows flashing on top of 3d windows. This problem was previously shadowed by r300ResetHwState as it gets called frequently.
* Make missing interpolator inputs fatalAapo Tahkola2005-12-061-5/+38
|
* Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeonDave Airlie2005-12-041-0/+3
| | | | sw tcl
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-121-4/+4
| | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
* First step of Radeon DRI unification:Eric Anholt2005-11-021-3/+3
| | | | | | | | | | | | - Makes all three drivers use the same screen structure and setup code, with a few ifdefs for the separate compilation to deal with symbols not being available to all drivers and the fact that we have no mechanism for dealing with different config options for different chip families in the same driver. These issues should be dealt with later. - Introduces IS_R[123]00_CLASS(radeonScreenPtr) macro for code for taking different paths depending on the general class of chipset. - Adds many new R300-class PCI IDs, though not all those listed in radeon_driver.c.
* Re-enable fallbacks.Aapo Tahkola2005-11-011-3/+1
|
* -Fix first frame -bugAapo Tahkola2005-11-011-31/+41
| | | | | | | -Use 16-bit elts in vtxfmt_a path if possible -Optimize VSF param uploading -return in r300DepthMask looks suspicious, use r300Enable instead -Dont use r300ResetHwState in invalidate state(disabled, missing hooks, possible instabilities)
* Compiled arrays for vtxfmt_a path.Aapo Tahkola2005-10-281-1/+5
|
* Correct the ordering of the blend constant color.Eric Anholt2005-10-281-2/+3
|
* Reduce stderr noise and fix some compiler warnings.Aapo Tahkola2005-10-261-67/+7
|
* Sync with my local tree.Aapo Tahkola2005-10-261-0/+30
| | | | | | Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
* fix breakage from Brians changes earlierDave Airlie2005-09-141-3/+3
|
* Replace ctx->Driver.StencilOp/Func/Mask() functions withBrian Paul2005-09-131-8/+8
| | | | ctx->Driver.Stencil*Separate() functions.
* Clean up warnings in r300 code by making some symbols static, adding prototypesEric Anholt2005-07-201-6/+7
| | | | | for others, and being cleaner with types in fragment/vertex program structures. One warning in r300_shader.c is still concerning.
* Expose the fact that we do not do either selection of feedback buffers - ↵Vladimir Dergachev2005-07-021-0/+9
| | | | either with software or hardware rendering.
* -"fix" page flippingAapo Tahkola2005-06-301-13/+12
| | | | -use depth tiling if tiling is enabled
* Rename unchecked state to match DRM driver.Vladimir Dergachev2005-06-271-19/+19
| | | | Emit wait idle and pacify r300 before emitting state - this seems to improve stability.
* Back out the actual enabling of depth tiling.Nicolai Haehnle2005-06-211-7/+0
| | | | | Depth tiling breaks software fallbacks and depth buffer reads. radeon_span.c **must** be updated for anything that is related to tiling.
* r300 driver side of color tiling support.Aapo Tahkola2005-06-211-0/+3
|
* Make sure texture base addresses are used correctly.Nicolai Haehnle2005-06-211-1/+1
| | | | | | They are relative to the card's address space, not relative to fbLocation, which will be important once we program MC_FB/AGP_LOCATION in the way they are programmed on older Radeon chips.