summaryrefslogtreecommitdiff
path: root/src/mesa/shader/program.c
AgeCommit message (Collapse)Author
2005-09-02add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with ↵Roland Scheidegger
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)
2005-06-08Use ALIGN_MALLOC for parameter lists.Keith Whitwell
2005-05-10Fix some valgrind complaintsKeith Whitwell
2005-05-10Fix some valgrind complaintsKeith Whitwell
2005-05-10reduce the use of malloc and strdup for parameter listsKeith Whitwell
2005-04-21Reduce the size of mesa's internal fragment and vertex programKeith Whitwell
representations by switching to packed structures for registers and instructions.
2005-04-20fix state.light[n].spot.direction.w value (bug 3083)Brian Paul
2005-04-18 Updates for OpenVMS : New makefilesJouk Jansen
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 ----------------------------------------------------------------------
2005-04-15Fix alpha value of STATE_LIGHTMODEL_SCENECOLOR. From the spec:Keith Whitwell
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.
2005-02-14ProgramCallbackMesa must match the prototypeDaniel Borca
2005-01-20Update glDeletePrograms/Buffers() so that the ID is freed immediately, likeBrian Paul
texture objects.
2005-01-11prototype _mesa_init_ati_fragment_shader()Brian Paul
2004-12-19Implement software ATI_fragment_shaderDave Airlie
no error detection, slow, may not be 100% correct but a good start
2004-12-18Added PRINT instruction for GL_NV_fragment_program.Brian Paul
2004-12-16Experimental PRINT instruction for NV_vertex_program.Brian Paul
Basically, this lets you put a "PRINT 'mesage', register;" statement in a vertex program to aid in debugging.
2004-12-02Fix some warningsAlan Hourihane
2004-10-02fix LoadProgramNV regression when I had fixed the RefCount bugBrian Paul
2004-09-14also fix possible delete bugs with buffer objects and vertex/fragment programsBrian Paul
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-08-14fix some memory leaks (bug #1002030)Brian Paul
2004-06-29remove trailing whitespace and misc clean-upsBrian Paul
2004-06-25remove program from hash table when deleted (bug 979514)Brian Paul
2004-06-20remove redundant program field initializers in BindProgram(); ↵Brian Paul
ctx->Driver.NewProgram() does the inits
2004-05-04remove unneeded lineBrian Paul
2004-04-23Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul
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.
2004-03-29Moved from src/mesa/mainMichal Krol