summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program.c
Commit message (Collapse)AuthorAgeFilesLines
* use mesa import wrappers, bug 4468Brian Paul2005-09-161-1/+1
|
* add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with ↵Roland Scheidegger2005-09-021-2/+8
| | | | scope of ati fragment shader constants. Fix issues with specifying color/alpha instructions not pair-wise. Change internal representation of the shader (to better fit how the extension works, should make driver implementations simpler, and saves some memory). (still doesn't work correctly with doom3 and swrast, but not worse than before)
* Use ALIGN_MALLOC for parameter lists.Keith Whitwell2005-06-081-6/+13
|
* Fix some valgrind complaintsKeith Whitwell2005-05-101-0/+4
|
* Fix some valgrind complaintsKeith Whitwell2005-05-101-2/+0
|
* reduce the use of malloc and strdup for parameter listsKeith Whitwell2005-05-101-25/+32
|
* Reduce the size of mesa's internal fragment and vertex programKeith Whitwell2005-04-211-11/+37
| | | | | representations by switching to packed structures for registers and instructions.
* fix state.light[n].spot.direction.w value (bug 3083)Brian Paul2005-04-201-1/+2
|
* Updates for OpenVMS : New makefilesJouk Jansen2005-04-181-1/+1
| | | | | | | | | | | | | added some type-casts Modified Files: Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/program.c Mesa/src/mesa/shader/slang/slang_compile.c Mesa/src/mesa/shader/slang/slang_preprocess.c Added Files: Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
* Fix alpha value of STATE_LIGHTMODEL_SCENECOLOR. From the spec:Keith Whitwell2005-04-151-3/+7
| | | | | | | The "w" component of the program parameter variable is filled with the alpha component of the front diffuse material color. Make sure matrix inverses are uptodate also.
* ProgramCallbackMesa must match the prototypeDaniel Borca2005-02-141-2/+2
|
* Update glDeletePrograms/Buffers() so that the ID is freed immediately, likeBrian Paul2005-01-201-10/+5
| | | | texture objects.
* prototype _mesa_init_ati_fragment_shader()Brian Paul2005-01-111-2/+3
|
* Implement software ATI_fragment_shaderDave Airlie2004-12-191-0/+38
| | | | no error detection, slow, may not be 100% correct but a good start
* Added PRINT instruction for GL_NV_fragment_program.Brian Paul2004-12-181-1/+7
|
* Experimental PRINT instruction for NV_vertex_program.Brian Paul2004-12-161-1/+8
| | | | | Basically, this lets you put a "PRINT 'mesage', register;" statement in a vertex program to aid in debugging.
* Fix some warningsAlan Hourihane2004-12-021-5/+1
|
* fix LoadProgramNV regression when I had fixed the RefCount bugBrian Paul2004-10-021-4/+4
|
* also fix possible delete bugs with buffer objects and vertex/fragment programsBrian Paul2004-09-141-50/+75
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+2
| | | | 1015696)
* fix some memory leaks (bug #1002030)Brian Paul2004-08-141-3/+30
|
* remove trailing whitespace and misc clean-upsBrian Paul2004-06-291-20/+16
|
* remove program from hash table when deleted (bug 979514)Brian Paul2004-06-251-8/+7
|
* remove redundant program field initializers in BindProgram(); ↵Brian Paul2004-06-201-4/+0
| | | | ctx->Driver.NewProgram() does the inits
* remove unneeded lineBrian Paul2004-05-041-1/+0
|
* Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul2004-04-231-4/+4
| | | | | | | program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
* Moved from src/mesa/mainMichal Krol2004-03-291-0/+1271