summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_preprocess.c
Commit message (Collapse)AuthorAgeFilesLines
* slang: Remove the old preprocessor.Michal Krol2009-09-081-1406/+0
|
* glsl: fix warnings, update comments, s/TRUE/GL_TRUE/Brian Paul2009-06-101-3/+4
|
* glsl: Handle continuation characters in preprocessor.Michal Krol2009-06-101-2/+63
|
* glsl: Fix symbol replacement handling in preprocessor.Michal Krol2009-06-101-13/+15
|
* glsl: Expand nested preprocessor macros.Michal Krol2009-06-091-1/+14
|
* glsl: Fix preprocessor define argument parsing for dead sections.Michal Krol2009-06-081-4/+4
|
* glsl: preprocessor debug code (disabled)Brian Paul2009-06-081-0/+5
|
* glsl: change GLSL #pragma initializationBrian Paul2009-03-191-13/+10
| | | | | | 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.
* Make GL_ARB_draw_buffers mandatoryIan Romanick2009-01-281-2/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* glsl: propagate pragma info down into compiler from preprocessorBrian Paul2009-01-141-7/+46
|
* glsl: add preprocessor support for #pragmaBrian Paul2009-01-131-1/+43
| | | | | | Two forms are supported: Pragmas are silently ignored at this time.
* glsl: pass GLcontext::Extension info down into GLSL preprocessorBrian Paul2009-01-071-27/+53
| | | | Now the #extension directives can be handled properly.
* glsl: Fix handling of nested parens in macro actual arguments.Michal Krol2008-12-181-2/+15
|
* mesa: import latest GLSL code from gallium-0.1 branchBrian Paul2008-08-161-1/+5
|
* mesa: implement grammar/parsing for precision/invariant syntaxBrian Paul2008-07-291-0/+27
| | | | Plus, fix some issues with pre-defined preprocessor symbols and version checking.
* fix GL_ARB_texture_rectangle breakageBrian Paul2008-04-141-3/+3
|
* define #extension GL_ARB_texture_rectangleDavid Flynn2008-04-141-0/+4
|
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-041-1/+1
| | | | of -I flags.
* call grammar_alloc_free() to fix memleaksBrian2007-04-211-0/+2
|
* #define LONGSTRING __extension__ in imports.h and use it to silence gccBrian Paul2006-11-151-4/+4
| | | | warnings about long string literals.
* Add GLSL preprocessor.Michal Krol2006-09-261-2/+1096
|
* More GLSL preprocessor code:Michal Krol2006-08-211-42/+33
| | | | | | | 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.
* Remove carriage-return chars *ONLY*.Michal Krol2006-04-181-86/+86
|
* More GLSL code:Michal Krol2006-02-271-2/+0
| | | | | | | | | | | | | - 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;
* Get it running for ARB_vertex_shader.Michal Krol2006-02-131-2/+3
| | | | | | | | | | | 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.
* Cosmetic changes.Michal Krol2005-04-221-5/+11
|
* Updates for OpenVMS : New makefilesJouk Jansen2005-04-181-2/+2
| | | | | | | | | | | | | 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 ----------------------------------------------------------------------
* slang preprocessorMichal Krol2005-04-151-0/+81