Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Define GL_ES preprocessor macro if API is OpenGL ES 2.0. | Kenneth Graunke | 2010-09-07 | 1 | -2/+2 |
| | | | | Also define it if #version 100 is encountered. | ||||
* | glsl2: remove 'extern' keyword in .c file | Brian Paul | 2010-08-27 | 1 | -1/+1 |
| | |||||
* | glsl/mesa: fixes for MSVC | Aras Pranckevicius | 2010-08-25 | 1 | -0/+1 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | glsl2: Include string.h in preprocessor | Jakob Bornecrantz | 2010-08-13 | 1 | -0/+1 |
| | |||||
* | glcpp: Fix "unterminated if" diagnostic. | Carl Worth | 2010-08-11 | 1 | -0/+3 |
| | | | | | | | | | | | This was previously being appended to the output string *after* a copy of the supposedly final string was made and handed to the caller. So the diagnostic was never actually visible to the user. We fix this by moving the check for an unterminated #if from glcpp_parser_destroy to the calling function, preprocess. This fixes the test case 083-unterminated-if.c. | ||||
* | glsl2: move declarations before code | Brian Paul | 2010-08-11 | 1 | -2/+4 |
| | |||||
* | glcpp: Don't look for backslashes before the beginning of the string. | Kenneth Graunke | 2010-07-30 | 1 | -3/+7 |
| | | | | Fixes a valgrind error. | ||||
* | glsl2: Conditionally define preprocessor tokens for optional extensions | Ian Romanick | 2010-07-01 | 1 | -2/+3 |
| | | | | | The only optional extension currently supported by the compiler is GL_EXT_texture_array. | ||||
* | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | 2010-06-24 | 1 | -0/+155 |