summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_context.h
AgeCommit message (Collapse)Author
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-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-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.
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: Report correct error line for purify and tokeniser errors.Michal Krol
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-11-21glsl/pp: Do purification and tokenisation in a single step.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 remaining error messages.Michal Krol
2009-09-14glsl/pp: Add a dictionary to a context.Michal Krol
2009-09-07glsl: Handle file numbering.Michal Krol
2009-09-07glsl: Correctly handle line numbering.Michal Krol
2009-09-07glsl: Implement `error' preprocessor directive.Michal Krol
2009-09-07glsl: Allow for preprocessor macro redefinition.Michal Krol
2009-09-07glsl: Support if preprocessor directive and friends.Michal Krol
2009-09-07glsl: Rename sl_pp_context_add_str to sl_pp_context_add_unique_str.Michal Krol
Return the same offset for same strings. Allows to compare strings by comparing their's offsets.
2009-09-07glsl: Parse define directive in preprocessor.Michal Krol
2009-09-07glsl: Simplify directive parser skeleton.Michal Krol
2009-09-07glsl: Introduce sl_pp_context and maintain a reuseable pool of strings.Michal Krol