Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl/pp: Silence GCC "no previous prototype" warning. | Vinson Lee | 2010-01-26 | 1 | -1/+1 |
| | |||||
* | glsl/pp: move static functions out of header file | Keith Whitwell | 2009-12-23 | 3 | -139/+214 |
| | |||||
* | glsl/pp: quieten compiler about missing case statements | Keith Whitwell | 2009-12-23 | 1 | -0/+3 |
| | |||||
* | glsl: make stack compile. | Dave Airlie | 2009-12-21 | 1 | -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 Krol | 2009-12-20 | 11 | -40/+95 |
| | |||||
* | glsl/pp: Do processing inline with tokenisation. | Michal Krol | 2009-12-20 | 13 | -269/+524 |
| | |||||
* | glsl/pp: Remove outdated TODO. | Michal Krol | 2009-12-20 | 1 | -5/+0 |
| | | | | Already implemented in mesa compiler using predefined symbols. | ||||
* | glsl/pp: Report correct error line for purify and tokeniser errors. | Michal Krol | 2009-12-20 | 4 | -2/+21 |
| | |||||
* | scons: Get GLSL code building correctly when cross compiling. | José Fonseca | 2009-12-10 | 1 | -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 static | Brian Paul | 2009-12-10 | 1 | -3/+3 |
| | |||||
* | glsl/pp: declare sl_pp_purify_options to silence warning | Brian Paul | 2009-12-10 | 1 | -0/+2 |
| | |||||
* | glsl/pp: Add support for user-defined macros. | Michal Krol | 2009-12-10 | 4 | -0/+57 |
| | |||||
* | glsl/pp: Add sl_pp_context_add_extension(). | Michal Krol | 2009-12-10 | 6 | -16/+64 |
| | | | | This way third parties are able to add supported extension strings. | ||||
* | Build mesa glsl with make. | michal | 2009-12-10 | 1 | -0/+26 |
| | | | | Still don't know how to add glsl to mesa dependencies. | ||||
* | glsl/pp: Do purification and tokenisation in a single step. | Michal Krol | 2009-11-21 | 6 | -307/+561 |
| | |||||
* | glsl/pp: Expand unknown identifiers to 0 in if/elif expressions. | Michal Krol | 2009-11-20 | 5 | -8/+22 |
| | |||||
* | glsl/pp: Fix macro formal argument parsing, more descriptive error msgs. | Michal Krol | 2009-11-17 | 1 | -3/+4 |
| | |||||
* | glsl/pp: Add sl_pp_purify_getc(). | Michal Krol | 2009-11-10 | 2 | -87/+133 |
| | |||||
* | glsl/pp: Have sl_pp_purify() return error msg/line no. | Michal Krol | 2009-11-10 | 2 | -11/+50 |
| | |||||
* | glsl/pp: Expand macro actual arguments before pasting into its body. | Michal Krol | 2009-09-28 | 1 | -49/+53 |
| | |||||
* | glsl/pp: Add forward decls to silence gcc warnings. | Michal Krol | 2009-09-24 | 2 | -0/+5 |
| | |||||
* | glsl/pp: Avoid using `__VERSION__' as an identifier. | Michal Krol | 2009-09-24 | 3 | -3/+7 |
| | |||||
* | glsl/pp: Include missing headers. | Michal Krol | 2009-09-24 | 10 | -0/+11 |
| | |||||
* | glsl/pp: Allow builds on all platforms. | Michal Krol | 2009-09-24 | 1 | -3/+0 |
| | |||||
* | glsl/pp: Use struct instead of union. | Michal Krol | 2009-09-24 | 1 | -1/+1 |
| | |||||
* | glsl/pp: Store both line number and file index in a single token. | Michal Krol | 2009-09-24 | 3 | -25/+16 |
| | |||||
* | glsl/pp: Include missing headers. | Michal Krol | 2009-09-23 | 2 | -0/+2 |
| | |||||
* | glsl/pp: Add `0' and `1' to dictionary. | Michal Krol | 2009-09-23 | 3 | -8/+7 |
| | |||||
* | glsl/pp: Check for reserved macro names. | Michal Krol | 2009-09-23 | 1 | -0/+16 |
| | |||||
* | glsl/pp: Differentiate between integer and floating-point number tokens. | Michal Krol | 2009-09-22 | 8 | -22/+39 |
| | |||||
* | glsl/pp: Define a public interface for external modules. | Michal Krol | 2009-09-18 | 8 | -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 Krol | 2009-09-17 | 1 | -0/+5 |
| | |||||
* | slang/pp: Fix file number parsing. | Michal Krol | 2009-09-17 | 1 | -1/+1 |
| | |||||
* | slang/pp: Use a dictionary for the remaining string literals. | Michal Krol | 2009-09-17 | 7 | -54/+95 |
| | |||||
* | glsl/pp: Add remaining error messages. | Michal Krol | 2009-09-17 | 9 | -97/+68 |
| | |||||
* | glsl/pp: Validate numbers. | Michal Krol | 2009-09-16 | 1 | -23/+227 |
| | |||||
* | glsl/pp: Add more error messages. | Michal Krol | 2009-09-16 | 1 | -0/+3 |
| | |||||
* | glsl/pp: Add more error messages. | Michal Krol | 2009-09-16 | 1 | -1/+10 |
| | |||||
* | glsl/pp: Support GL_ARB_draw_buffers and GL_ARB_texture_rectangle. | Michal Krol | 2009-09-14 | 1 | -34/+49 |
| | |||||
* | glsl/pp: Add a dictionary to a context. | Michal Krol | 2009-09-14 | 5 | -2/+115 |
| | |||||
* | glsl: Add error messages for version parser. | Michal Krol | 2009-09-07 | 1 | -3/+3 |
| | |||||
* | glsl: Handle file numbering. | Michal Krol | 2009-09-07 | 5 | -3/+25 |
| | |||||
* | glsl: Actually respect the hash-line directive. | Michal Krol | 2009-09-07 | 1 | -0/+2 |
| | |||||
* | glsl: Correctly handle line numbering. | Michal Krol | 2009-09-07 | 8 | -7/+81 |
| | |||||
* | glsl: Preserve newline inside comment blocks. | Michal Krol | 2009-09-07 | 1 | -31/+58 |
| | |||||
* | glsl: Implement predefinded macros. | Michal Krol | 2009-09-07 | 1 | -0/+41 |
| | | | | The values are hardcoded: __LINE__ = 1, __FILE__ = 0 and __VERSION__ = 110. | ||||
* | glsl: Implement `line' preprocessor directive. | Michal Krol | 2009-09-07 | 4 | -1/+108 |
| | |||||
* | glsl: Output endof token after processing a directive. | Michal Krol | 2009-09-07 | 1 | -6/+7 |
| | | | | Some directives may output tokens as a result of their operation. | ||||
* | glsl: Implement `extension' preprocessor directive. | Michal Krol | 2009-09-07 | 5 | -0/+147 |
| | | | | No extensions supported. | ||||
* | glsl: Implement `pragma' preprocessor directive. | Michal Krol | 2009-09-07 | 5 | -0/+122 |
| | | | | Handle `optimize(on|off)' and `debug(on|off)' pragmas. |