summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile.c
AgeCommit message (Collapse)Author
2006-12-19Clean-up and re-org of the main GLSL object types.Brian
Use the gl_shader struct as it should be. Renamed gl_linked_program to gl_shader_program. Store both shaders and programs in the same hash table and use the Type field to distinguish them.
2006-12-19new error msgBrian
2006-12-14Updated #includes after splitting program.hBrian
2006-12-13Checkpoint new GLSL compiler back-end to produce fp/vp-style assembly ↵Brian
instructions.
2006-11-24call slang_variable_construct() inside slang_variable_scope_grow()Brian Paul
2006-11-24new slang_variable_scope_grow() functionBrian Paul
2006-11-15reindent, add some commentsBrian Paul
2006-09-26Add GLSL preprocessor.Michal Krol
2006-08-21More GLSL preprocessor code:Michal Krol
Rename slang_version.syn to slang_pp_version.syn. The #version directive understands version 120. Cosmetic changes in version preprocessor. Checks if requested version is supported by the compiler.
2006-08-02Enable vec4 extension for x86 back-end.Michal Krol
2006-05-16Cleanup code.Michal Krol
2006-03-21Silencium gcc warnings.Michal Krol
2006-02-27More GLSL code:Michal Krol
- add x86 code generator; - add full support for uniforms in ARB_shader_objects; - add assembly instruction: global_addr; - reorganize #includes; - built-in uniforms accessed by index, rather than by name; - add some entries to x86sse rtasm; - add configurations to VC6 projects: 'Release x86' and 'Debug x86'; - #define SLANG_X86 active only on VC6 x86 builds; - introduce code export table for a shader; - remove GNU license from the noise library;
2006-02-21More GLSL code:Michal Krol
- uniforms (only GetLocation, Uniform1f and Uniform4fv for now for demos); - fix bugs and optimize array size handling; - 2D texture sampling (needs Enable(TEXTURE_2D) to work); - decrease built-in library assembly size by 30%.
2006-02-18More GLSL code.Michal Krol
- general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff.
2006-02-15Fix a few warnings:Brian Paul
- nested comments (use #if 0 / #endif instead) - missing default clause in switch statements - use of possibly undefined variables
2006-02-15Add support for forward function declarations.Michal Krol
2006-02-13Get it running for ARB_vertex_shader.Michal Krol
Add experimental print functions to builtin library. Some functionality missing: - automatic arrays; - general constructors; - local variable initialization; - texture sampling and noise; - semantic error checking; - function prototypes.
2006-01-30Split slang_compile.c into several smaller files - it was just too big.Michal Krol
Minor fixes and cosmetic changes.
2006-01-16remove some test code;Michal Krol
rewrite the intermediate code executor to address 64-bit platforms and global memory; store built-in library code in a precompiled form only;
2005-09-19additional wrapper updates, bug 4468Brian Paul
2005-09-16use mesa import wrappers, bug 4468Brian Paul
2005-06-01 Committing in .Jouk Jansen
Update OpneVMS compilesupport Modified Files: Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/shader/slang/slang_compile.c Mesa/src/mesa/shader/slang/slang_storage.c Mesa/src/mesa/shader/slang/slang_storage.h ----------------------------------------------------------------------
2005-05-25more slang codeMichal Krol
2005-05-19intermediate code generator (not finished);Michal Krol
generic back-end interpreter (interprets directly intermediate code)
2005-04-22Add more error checking.Michal Krol
2005-04-22Move some utility functions to slang_utility.c.Michal Krol
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-15remove carriage returnsBrian Paul
2005-04-15implement info log; parse #version directiveMichal Krol
2005-04-13simple front-end compilerMichal Krol