summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_preprocess.c
AgeCommit message (Collapse)Author
2009-09-08slang: Remove the old preprocessor.Michal Krol
2009-06-10glsl: fix warnings, update comments, s/TRUE/GL_TRUE/Brian Paul
2009-06-10glsl: Handle continuation characters in preprocessor.Michal Krol
2009-06-10glsl: Fix symbol replacement handling in preprocessor.Michal Krol
2009-06-09glsl: Expand nested preprocessor macros.Michal Krol
2009-06-08glsl: Fix preprocessor define argument parsing for dead sections.Michal Krol
2009-06-08glsl: preprocessor debug code (disabled)Brian Paul
2009-03-19glsl: change GLSL #pragma initializationBrian Paul
Initialize the shader's pragma settings before calling the compiler. Added pragma "Ignore" fields to allow overriding the #pragma directives found in shader source code.
2009-01-28Make GL_ARB_draw_buffers mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-14glsl: propagate pragma info down into compiler from preprocessorBrian Paul
2009-01-13glsl: add preprocessor support for #pragmaBrian Paul
Two forms are supported: Pragmas are silently ignored at this time.
2009-01-07glsl: pass GLcontext::Extension info down into GLSL preprocessorBrian Paul
Now the #extension directives can be handled properly.
2008-12-18glsl: Fix handling of nested parens in macro actual arguments.Michal Krol
2008-08-16mesa: import latest GLSL code from gallium-0.1 branchBrian Paul
2008-07-29mesa: implement grammar/parsing for precision/invariant syntaxBrian Paul
Plus, fix some issues with pre-defined preprocessor symbols and version checking.
2008-04-14fix GL_ARB_texture_rectangle breakageBrian Paul
2008-04-14define #extension GL_ARB_texture_rectangleDavid Flynn
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-04-21call grammar_alloc_free() to fix memleaksBrian
2006-11-15#define LONGSTRING __extension__ in imports.h and use it to silence gccBrian Paul
warnings about long string literals.
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-04-18Remove carriage-return chars *ONLY*.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-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.
2005-04-22Cosmetic changes.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-15slang preprocessorMichal Krol