summaryrefslogtreecommitdiff
path: root/src/glsl/pp
AgeCommit message (Collapse)Author
2010-08-14glsl: Clean up header file inclusion.Vinson Lee
2010-02-17glsl/pp: Remove sl_pp_get_extension_state().Michal Krol
Parse extension tokens to track current state of extension enables.
2010-02-16sl/pp: re-do extension testing codeBrian Paul
The #extension directive should not effect which extension preprocessor symbols are defined/undefined; only whether/how the compiler accepts language features defined by the extension.
2010-02-16glsl/pp: Do not try to enable extension `all'.Michal Krol
2010-02-15glsl/pp: Fix handling of if/elif/else cases.Michal Krol
Once if/elif evalutes to true, all subsequent conditions are always false.
2010-02-15glsl/pp: Add asserts to check for null pointer deferences.Vinson Lee
2010-02-13glsl/pp: fix incorrect extension enable flag for warn modeBrian Paul
2010-02-10glsl/pp: fix extension enable/disable optionsBrian Paul
Now the #extension name: disable/enable flags do the right thing. Fixes glean/glsl1 "Preprocessor test (extension test 3)"
2010-02-10Simplify GLSL extension mechanism.Michal Krol
Since extension name and extension name string are the same, collapse them into one name.
2010-02-10glsl/pp: Fix ifdef directive for extension names.Michal Krol
2010-01-26glsl/pp: Silence GCC "no previous prototype" warning.Vinson Lee
2009-12-23glsl/pp: move static functions out of header fileKeith Whitwell
2009-12-23glsl/pp: quieten compiler about missing case statementsKeith Whitwell
2009-12-21glsl: make stack compile.Dave Airlie
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 <airlied@redhat.com>
2009-12-20glsl: Do syntax parsing inline with processing.Michal Krol
2009-12-20glsl/pp: Do processing inline with tokenisation.Michal Krol
2009-12-20glsl/pp: Remove outdated TODO.Michal Krol
Already implemented in mesa compiler using predefined symbols.
2009-12-20glsl/pp: Report correct error line for purify and tokeniser errors.Michal Krol
2009-12-10scons: Get GLSL code building correctly when cross compiling.José Fonseca
This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS.
2009-12-10glsl/pp: make some functions staticBrian Paul
2009-12-10glsl/pp: declare sl_pp_purify_options to silence warningBrian Paul
2009-12-10glsl/pp: Add support for user-defined macros.Michal Krol
2009-12-10glsl/pp: Add sl_pp_context_add_extension().Michal Krol
This way third parties are able to add supported extension strings.
2009-12-10Build mesa glsl with make.michal
Still don't know how to add glsl to mesa dependencies.
2009-11-21glsl/pp: Do purification and tokenisation in a single step.Michal Krol
2009-11-20glsl/pp: Expand unknown identifiers to 0 in if/elif expressions.Michal Krol
2009-11-17glsl/pp: Fix macro formal argument parsing, more descriptive error msgs.Michal Krol
2009-11-10glsl/pp: Add sl_pp_purify_getc().Michal Krol
2009-11-10glsl/pp: Have sl_pp_purify() return error msg/line no.Michal Krol
2009-09-28glsl/pp: Expand macro actual arguments before pasting into its body.Michal Krol
2009-09-24glsl/pp: Add forward decls to silence gcc warnings.Michal Krol
2009-09-24glsl/pp: Avoid using `__VERSION__' as an identifier.Michal Krol
2009-09-24glsl/pp: Include missing headers.Michal Krol
2009-09-24glsl/pp: Allow builds on all platforms.Michal Krol
2009-09-24glsl/pp: Use struct instead of union.Michal Krol
2009-09-24glsl/pp: Store both line number and file index in a single token.Michal Krol
2009-09-23glsl/pp: Include missing headers.Michal Krol
2009-09-23glsl/pp: Add `0' and `1' to dictionary.Michal Krol
2009-09-23glsl/pp: Check for reserved macro names.Michal Krol
2009-09-22glsl/pp: Differentiate between integer and floating-point number tokens.Michal Krol
2009-09-18glsl/pp: Define a public interface for external modules.Michal Krol
Make sl_pp_context struct opaque. Move all public declarations to sl_pp_public.h.
2009-09-17glsl/pp: Add a TODO for FEATURE_es2_glsl.Michal Krol
2009-09-17slang/pp: Fix file number parsing.Michal Krol
2009-09-17slang/pp: Use a dictionary for the remaining string literals.Michal Krol
2009-09-17glsl/pp: Add remaining error messages.Michal Krol
2009-09-16glsl/pp: Validate numbers.Michal Krol
2009-09-16glsl/pp: Add more error messages.Michal Krol
2009-09-16glsl/pp: Add more error messages.Michal Krol
2009-09-14glsl/pp: Support GL_ARB_draw_buffers and GL_ARB_texture_rectangle.Michal Krol
2009-09-14glsl/pp: Add a dictionary to a context.Michal Krol