aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_preprocess.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: glsl: only allow one #version directiveBrian Paul2008-08-041-0/+4
|
* mesa: Prefix main includes with dir to avoid conflicts.José Fonseca2008-07-241-1/+1
| | | | | Some of the headers in src/mesa/main have pretty common names which easily conflict with third-party code, e.g. config.h
* mesa: implement grammar/parsing for precision/invariant syntaxBrian Paul2008-07-161-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
|
* mesa: 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