summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp
Commit message (Collapse)AuthorAgeFilesLines
* glsl/pp: Silence GCC "no previous prototype" warning.Vinson Lee2010-01-261-1/+1
|
* glsl/pp: move static functions out of header fileKeith Whitwell2009-12-233-139/+214
|
* glsl/pp: quieten compiler about missing case statementsKeith Whitwell2009-12-231-0/+3
|
* glsl: make stack compile.Dave Airlie2009-12-211-0/+1
| | | | | | | it would be nice if this stuff would be test built on mesa's primary platform with mesa's primary build system. Signed-off-by: Dave Airlie <[email protected]>
* glsl: Do syntax parsing inline with processing.Michal Krol2009-12-2011-40/+95
|
* glsl/pp: Do processing inline with tokenisation.Michal Krol2009-12-2013-269/+524
|
* glsl/pp: Remove outdated TODO.Michal Krol2009-12-201-5/+0
| | | | Already implemented in mesa compiler using predefined symbols.
* glsl/pp: Report correct error line for purify and tokeniser errors.Michal Krol2009-12-204-2/+21
|
* scons: Get GLSL code building correctly when cross compiling.José Fonseca2009-12-101-24/+0
| | | | | This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS.
* glsl/pp: make some functions staticBrian Paul2009-12-101-3/+3
|
* glsl/pp: declare sl_pp_purify_options to silence warningBrian Paul2009-12-101-0/+2
|
* glsl/pp: Add support for user-defined macros.Michal Krol2009-12-104-0/+57
|
* glsl/pp: Add sl_pp_context_add_extension().Michal Krol2009-12-106-16/+64
| | | | This way third parties are able to add supported extension strings.
* Build mesa glsl with make.michal2009-12-101-0/+26
| | | | Still don't know how to add glsl to mesa dependencies.
* glsl/pp: Do purification and tokenisation in a single step.Michal Krol2009-11-216-307/+561
|
* glsl/pp: Expand unknown identifiers to 0 in if/elif expressions.Michal Krol2009-11-205-8/+22
|
* glsl/pp: Fix macro formal argument parsing, more descriptive error msgs.Michal Krol2009-11-171-3/+4
|
* glsl/pp: Add sl_pp_purify_getc().Michal Krol2009-11-102-87/+133
|
* glsl/pp: Have sl_pp_purify() return error msg/line no.Michal Krol2009-11-102-11/+50
|
* glsl/pp: Expand macro actual arguments before pasting into its body.Michal Krol2009-09-281-49/+53
|
* glsl/pp: Add forward decls to silence gcc warnings.Michal Krol2009-09-242-0/+5
|
* glsl/pp: Avoid using `__VERSION__' as an identifier.Michal Krol2009-09-243-3/+7
|
* glsl/pp: Include missing headers.Michal Krol2009-09-2410-0/+11
|
* glsl/pp: Allow builds on all platforms.Michal Krol2009-09-241-3/+0
|
* glsl/pp: Use struct instead of union.Michal Krol2009-09-241-1/+1
|
* glsl/pp: Store both line number and file index in a single token.Michal Krol2009-09-243-25/+16
|
* glsl/pp: Include missing headers.Michal Krol2009-09-232-0/+2
|
* glsl/pp: Add `0' and `1' to dictionary.Michal Krol2009-09-233-8/+7
|
* glsl/pp: Check for reserved macro names.Michal Krol2009-09-231-0/+16
|
* glsl/pp: Differentiate between integer and floating-point number tokens.Michal Krol2009-09-228-22/+39
|
* glsl/pp: Define a public interface for external modules.Michal Krol2009-09-188-29/+52
| | | | | Make sl_pp_context struct opaque. Move all public declarations to sl_pp_public.h.
* glsl/pp: Add a TODO for FEATURE_es2_glsl.Michal Krol2009-09-171-0/+5
|
* slang/pp: Fix file number parsing.Michal Krol2009-09-171-1/+1
|
* slang/pp: Use a dictionary for the remaining string literals.Michal Krol2009-09-177-54/+95
|
* glsl/pp: Add remaining error messages.Michal Krol2009-09-179-97/+68
|
* glsl/pp: Validate numbers.Michal Krol2009-09-161-23/+227
|
* glsl/pp: Add more error messages.Michal Krol2009-09-161-0/+3
|
* glsl/pp: Add more error messages.Michal Krol2009-09-161-1/+10
|
* glsl/pp: Support GL_ARB_draw_buffers and GL_ARB_texture_rectangle.Michal Krol2009-09-141-34/+49
|
* glsl/pp: Add a dictionary to a context.Michal Krol2009-09-145-2/+115
|
* glsl: Add error messages for version parser.Michal Krol2009-09-071-3/+3
|
* glsl: Handle file numbering.Michal Krol2009-09-075-3/+25
|
* glsl: Actually respect the hash-line directive.Michal Krol2009-09-071-0/+2
|
* glsl: Correctly handle line numbering.Michal Krol2009-09-078-7/+81
|
* glsl: Preserve newline inside comment blocks.Michal Krol2009-09-071-31/+58
|
* glsl: Implement predefinded macros.Michal Krol2009-09-071-0/+41
| | | | The values are hardcoded: __LINE__ = 1, __FILE__ = 0 and __VERSION__ = 110.
* glsl: Implement `line' preprocessor directive.Michal Krol2009-09-074-1/+108
|
* glsl: Output endof token after processing a directive.Michal Krol2009-09-071-6/+7
| | | | Some directives may output tokens as a result of their operation.
* glsl: Implement `extension' preprocessor directive.Michal Krol2009-09-075-0/+147
| | | | No extensions supported.
* glsl: Implement `pragma' preprocessor directive.Michal Krol2009-09-075-0/+122
| | | | Handle `optimize(on|off)' and `debug(on|off)' pragmas.