summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texenvprogram.c
Commit message (Collapse)AuthorAgeFilesLines
* additional wrapper updates, bug 4468Brian Paul2005-09-191-6/+6
|
* use mesa import wrappers, bug 4468Brian Paul2005-09-161-4/+4
|
* Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul2005-09-151-1/+1
| | | | with GLboolean in a few places.
* Keep NumTemporaries uptodate.Keith Whitwell2005-09-081-0/+7
| | | | Make sure oC alpha is populated when separate_specular enabled.
* Follow suggestion by Aapo Tahkola to fix giant memory leak from forgetting ↵Vladimir Dergachev2005-08-061-0/+1
| | | | to free the key when entry was already found (presumably a common case).
* replace fprintf() calls with _mesa_problem()Brian Paul2005-07-191-4/+5
|
* Cache texenv programs to avoid repeated compilation (Ben Skeggs)Keith Whitwell2005-07-111-224/+435
|
* Detect use of disabled textures as tex_env_crossbar sources.Keith Whitwell2005-05-231-8/+18
|
* Support ARB_texture_env_crossbar. Changes the way programs areKeith Whitwell2005-05-231-41/+119
| | | | | generated somewhat, with all TEX instructions now emitted at the head of the program.
* Restore the negate() function.Keith Whitwell2005-05-231-5/+33
| | | | Add Ben Skegg's ATI_texture_env_combine3 support.
* don't include strings.hBrian Paul2005-05-171-2/+0
|
* Deal better with indirection and indirection accounting, developedKeith Whitwell2005-05-161-33/+53
| | | | with Ben Skeggs.
* new MESA_DEBUG option: disassemKeith Whitwell2005-05-121-1/+1
|
* Fix glean/conform problems. Don't generate so much output whenKeith Whitwell2005-05-111-26/+36
| | | | disassembling.
* Fix logic for allocating texture temporaries (Ben Skeggs).Keith Whitwell2005-05-111-15/+24
| | | | | Rename temp_flag, tex_temp_flag to make this clearer. Respect ctx->Const.MaxFragmentProgramTemps limit.
* Double-buffer generated instructions and only notify driver when theKeith Whitwell2005-05-101-1/+0
| | | | generated program differs from the previous one.
* Double-buffer generated instructions and only notify driver when theKeith Whitwell2005-05-101-8/+21
| | | | generated program differs from the previous one.
* Better driver notification on changes.Keith Whitwell2005-05-101-7/+10
|
* Temporary fix - delete and recreate texenvprogram so that driversKeith Whitwell2005-05-101-5/+10
| | | | notice when it changes.
* Fix texenv segfault. Reported by Ben Skeggs.Keith Whitwell2005-05-101-0/+10
|
* Try not to use the same temp reg as a TXP destination more than once,Keith Whitwell2005-05-101-2/+40
| | | | | as this also constitutes a texture indirection. Reported by Ben Skeggs.
* Use driver functions to create TexEnvProgram, TnlProgramKeith Whitwell2005-05-091-1/+10
|
* Add a facility to route all rasterization through a fragment programKeith Whitwell2005-05-041-152/+102
| | | | | | | | | | | 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.
* Maintain a fragment program for current texturing state.Keith Whitwell2005-04-291-0/+772