summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix up some assorted issues with initialization of vertex program registers.Brian Paul2004-04-214-89/+98
| | | | | Some need to be set per-vertex, other per-primitive. Cleared that up. Only need to init temp/result registers if executing an NV vertex program.
* Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.Brian Paul2004-04-182-2/+3
| | | | | | Some texture instructions were using wrong LOD. Fixed interpolate_texcoords() so it doesn't do texcoord projective division when using a fragment program. The TXP instruction does that.
* Committing in .Jouk Jansen2004-04-052-4022/+4022
| | | | | | | | | | | | | Correction on last commit (My FTP-server on linux is playing games with <CR>'s) Modified Files: Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/shader/arbprogparse.c Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Committing in .Jouk Jansen2004-04-052-4012/+4012
| | | | | | | | | | | | | | Updated OpenVMS compile support due to shader directory. Removed <CR>'s in arbprogparse.c Modified Files: Mesa/src/mesa/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/shader/arbprogparse.c Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Implement ARB_f_p KIL correctly.Brian Paul2004-04-022-3/+4
|
* add braces to silence warningsBrian Paul2004-04-021-2/+5
|
* Reorder some code so we don't upset program state when there's a parsing error.Brian Paul2004-03-303-21/+22
| | | | Be sure to assign program.Base.String pointer.
* Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.Keith Whitwell2004-03-293-3/+4
|
* Take a stab at updating the VMS files.Brian Paul2004-03-291-0/+69
|
* fix the buildBrian Paul2004-03-291-6/+6
|
* Moved from src/mesa/mainMichal Krol2004-03-2912-0/+7028
|
* The OpenGL Shading Language Runtime Library for Legacy Target.Michal Krol2004-03-253-0/+1916
| | | | Sounds good :)
* Slang internal include file defining constructors and operatorsMichal Krol2004-03-241-0/+1654
| | | | for built-in data types.
* Moved from src/mesa/main.Michal Krol2004-03-102-0/+849
|
* Fixed a number of typos.Michal Krol2004-03-101-19/+19
|
* Initial changes after moving from src/mesa/main/.Michal Krol2004-03-046-0/+4571
| | | | Needs testing - it havent been even compiled yet.
* Added missing Copyrights.Michal Krol2004-03-047-7139/+7316
|
* Grammar package supporting 8-bit registers.Michal Krol2004-03-036-0/+3622
| | | | | | | | | | TODO: - add checking for duplicate symbols (or is it done already?) - move all the statics (grammar objects list and last error message) to the GL context state; I think simple pointer initialized in a first call to ProgramString() is sufficent. - apply an optimized version of match() - this will be needed for glslang compiler.
* Added support for ARB_fragment_program_shadow.Michal Krol2004-03-032-0/+4039
|
* Initial registry for ARB_fragment_program and ARB_vertex_program.Michal Krol2004-03-031-0/+78