summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp
AgeCommit message (Expand)AuthorFilesLines
2014-07-30glsl/glcpp: rename ERROR to ERROR_TOKEN to fix MSVC buildBrian Paul2-4/+4
2014-07-29glsl/glcpp: Add flex options to eliminate the default rule.Carl Worth1-1/+2
2014-07-29glsl/glcpp: Combine the two rules matching any characterCarl Worth1-6/+6
2014-07-29glsl/glcpp: Alphabetize lists of start conditionsCarl Worth1-3/+3
2014-07-29glsl/glcpp: Add a catch-all rule for unexpected characters.Carl Worth1-0/+13
2014-07-29glsl/glcpp: Treat carriage return as equivalent to line feed.Carl Worth1-9/+8
2014-07-29glsl/glcpp: Add test for a multi-line comment within an #if 0 blockCarl Worth2-0/+14
2014-07-29glsl/glcpp: Test that macro parameters substitute immediately after periodsCarl Worth2-0/+8
2014-07-29glsl/glcpp: Add (non)-support for ++ and -- operatorsCarl Worth4-1/+33
2014-07-29glsl/glcpp: Emit error for duplicate parameter name in function-like macroCarl Worth3-0/+35
2014-07-29glsl/glcpp: Add an explanatory comment for "loc != NULL" checkCarl Worth1-0/+4
2014-07-29glsl/glcpp: Drop the HASH_ prefix from token names like HASH_IFCarl Worth2-38/+39
2014-07-29glsl/glcpp: Correctly parse directives with intervening commentsCarl Worth16-110/+242
2014-07-29glsl/glcpp: Rename HASH token to HASH_TOKENCarl Worth2-5/+8
2014-07-29glsl/glcpp: Don't use start-condition stack when switching to/from <DEFINE>Carl Worth1-3/+3
2014-07-29glsl/glcpp: Add a -d/--debug option to the standalone glcpp programCarl Worth2-1/+7
2014-07-29glsl/glcpp: Fix off-by-one error in column in first-line error messagesCarl Worth17-19/+19
2014-07-29glsl/glcpp: Minor tweak to wording of error messageCarl Worth3-3/+3
2014-07-29glsl/glcpp: Stop using a lexer start condition (<SKIP>) for token skipping.Carl Worth3-63/+99
2014-07-29glsl/glcpp: Abstract a bit of common code for returning string tokensCarl Worth1-22/+18
2014-07-29glsl/glcpp: Drop extra, final newline from most outputCarl Worth130-165/+51
2014-07-29glsl/glcpp: Add testing for EOF sans newline (and fix for <DEFINE>, <COMMENT>)Carl Worth7-2/+13
2014-07-29glsl/glcpp: Remove some un-needed calls to NEWLINE_CATCHUPCarl Worth1-4/+0
2014-07-29glsl/glcpp: Add support for comments between #define and macro identifierCarl Worth3-2/+41
2014-07-29glsl/glcpp: Emit proper error for #define with a non-identifierCarl Worth3-0/+9
2014-07-29glsl/glcpp: Add testing for directives preceded by a spaceCarl Worth2-0/+43
2014-07-29glsl/glcpp: Fix to emit spaces following directivesCarl Worth2-2/+3
2014-07-10glsl/glcpp: move macro declaration before code to fix MSVC buildBrian Paul1-1/+2
2014-07-09glsl/glcpp: Don't choke on an empty pragmaCarl Worth3-1/+8
2014-07-09glsl/glcpp: Promote "extra token at end of directive" from warning to errorCarl Worth3-1/+14
2014-07-09glsl/glcpp: Once again report undefined macro name in error message.Carl Worth3-38/+86
2014-07-09glsl/glcpp: Add short-circuiting for || and && in #if/#elif for OpenGL ES.Carl Worth4-30/+140
2014-07-09glsl/glcpp: Fix glcpp to properly lex entire "preprocessing numbers"Carl Worth3-0/+81
2014-07-09glsl/glcpp: Fix glcpp to catch garbage after #if 1 ... #elseCarl Worth7-16/+24
2014-07-09glsl/glcpp: Fixup glcpp tests for redefining a macro with whitespace changes.Carl Worth3-1/+40
2014-07-09glsl/glcpp: Fix preprocessor error condition for macro redefinitionAnuj Phogat1-8/+10
2014-07-09glsl/glcpp: Add test to ensure compiler won't allow #undef for some builtinsCarl Worth2-0/+10
2014-07-09glsl/glcpp: Do not allow undefining the built-in macrosAnuj Phogat1-0/+6
2014-07-02glsl: add support for AMD_vertex_shader_viewport_indexIlia Mirkin1-0/+3
2014-06-22Partially revert "glsl: Add builtin define for ARB_fragment_layer_viewport"Chris Forbes1-0/+6
2014-06-22glsl: Add builtin define for ARB_fragment_layer_viewportChris Forbes1-6/+3
2014-06-16glsl: parser changes for GL_ARB_explicit_uniform_locationTapani Pälli1-0/+3
2014-05-02mesa: Enable GL_EXT_separate_shader_objects for OpenGL ESIan Romanick1-0/+1
2014-05-02mesa/sso: Enable GL_ARB_separate_shader_objects by defaultIan Romanick1-3/+1
2014-03-08glcpp: Do not remove spaces to preserve locations.Sir Anthony4-5/+5
2014-03-08glsl: Update lexers in glsl and glcpp to hande end position of token.Sir Anthony1-1/+2
2014-02-21glsl/sso: Add parser and AST-to-HIR support for separate shader object layoutsIan Romanick1-0/+3
2014-02-19glcpp: Only warn for macro names containing __Ian Romanick2-5/+21
2014-02-12glcpp: Add built-in define for ARB_shader_image_load_store.Francisco Jerez1-0/+3
2014-02-05mesa/cs: Add extension enable flags for ARB_compute_shader.Paul Berry1-0/+3