aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vp_build.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate a couple of swizzles.Keith Whitwell2005-05-181-3/+4
|
* don't include strings.hBrian Paul2005-05-171-2/+0
|
* Turn disassem off (oops).Keith Whitwell2005-05-121-1/+1
|
* When lighting is enabled, but no lights are enabled, the scenecolorKeith Whitwell2005-05-121-27/+85
| | | | | | | | | becomes the result of lighting. When lighting is disabled, pass-through incoming color value. Likewise, pass through incoming texture values. (Based on patch by Aapo Tahkola) Add compile-time configuration to switch between DP4 and MUL/MAD for matrix-vector multiplications.
* Use _mesa_memset rather than memsetKeith Whitwell2005-05-111-1/+1
|
* Rename temp_flag to temp_in_use. Use ctx->Const.MaxVertexProgramTempsKeith Whitwell2005-05-111-8/+13
| | | | | rather than MAX_NV_VERTEX_PROGRAM_TEMPS and deal with this possibly being greater than 32.
* Ensure programs don't overflow allocated instruction store.Keith Whitwell2005-05-101-1/+8
|
* Improved detection of program changes.Keith Whitwell2005-05-101-20/+32
|
* Double-buffer generated instructions and only notify driver when theKeith Whitwell2005-05-101-5/+27
| | | | generated program differs from the previous one.
* Missing from previous commitKeith Whitwell2005-05-101-2/+6
|
* Add a facility to route all rasterization through a fragment programKeith Whitwell2005-05-041-5/+22
| | | | | | | | | | | which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
* Format for 80 columns. Add alternate matrix mul based on MAD rather than DP4.Keith Whitwell2005-04-291-115/+217
|
* Simplify the pipeline_stage structureKeith Whitwell2005-04-221-1/+1
| | | | | | | | | | - remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
* Facility to construct a vertex program which executes the currentKeith Whitwell2005-04-211-0/+1047
fixed function t&l pipeline. Currently runs most of the Mesa demos OK, but still needs debugging & polishing.