Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl/pp: Fix handling of if/elif/else cases. | Michal Krol | 2010-02-15 | 2 | -11/+28 |
| | | | | Once if/elif evalutes to true, all subsequent conditions are always false. | ||||
* | glsl/pp: Add asserts to check for null pointer deferences. | Vinson Lee | 2010-02-15 | 2 | -0/+5 |
| | |||||
* | glsl/cl: implement parsing for layout qualifiers | Brian Paul | 2010-02-13 | 1 | -4/+74 |
| | | | | For GL_ARB_fragment_coord_conventions support. | ||||
* | glsl/pp: fix incorrect extension enable flag for warn mode | Brian Paul | 2010-02-13 | 1 | -1/+1 |
| | |||||
* | glsl/pp: fix extension enable/disable options | Brian Paul | 2010-02-10 | 3 | -1/+22 |
| | | | | | | Now the #extension name: disable/enable flags do the right thing. Fixes glean/glsl1 "Preprocessor test (extension test 3)" | ||||
* | Simplify GLSL extension mechanism. | Michal Krol | 2010-02-10 | 5 | -16/+8 |
| | | | | | Since extension name and extension name string are the same, collapse them into one name. | ||||
* | glsl/pp: Fix ifdef directive for extension names. | Michal Krol | 2010-02-10 | 1 | -42/+30 |
| | |||||
* | glsl/pp: Silence GCC "no previous prototype" warning. | Vinson Lee | 2010-01-26 | 1 | -1/+1 |
| | |||||
* | glsl: remove __inline directive | Brian Paul | 2010-01-18 | 1 | -1/+1 |
| | | | | It makes no difference with gcc -O3, for example. | ||||
* | glsl: Ignore programs. | José Fonseca | 2010-01-01 | 1 | -0/+5 |
| | |||||
* | glsl: added default case in _fetch_token() to silence warnings | Brian Paul | 2009-12-29 | 1 | -0/+2 |
| | |||||
* | scons: Fix xlib build. | José Fonseca | 2009-12-28 | 1 | -1/+1 |
| | | | | After glsl rework merge. | ||||
* | glsl/pp: move static functions out of header file | Keith Whitwell | 2009-12-23 | 4 | -139/+215 |
| | |||||
* | 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/apps: Update after glsl cl interface changes. | Michal Krol | 2009-12-20 | 1 | -35/+2 |
| | |||||
* | glsl: Do syntax parsing inline with processing. | Michal Krol | 2009-12-20 | 13 | -62/+225 |
| | |||||
* | glsl/apps: Update after glsl pp interface changes. | Michal Krol | 2009-12-20 | 2 | -22/+9 |
| | |||||
* | glsl/apps: Do not print number of eaten tokens in version. | Michal Krol | 2009-12-20 | 1 | -20/+4 |
| | | | | This is due to the glsl pp interface changes. | ||||
* | glsl/apps: Print error line number in compile. | Michal Krol | 2009-12-20 | 1 | -23/+13 |
| | |||||
* | 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 |
| | |||||
* | glsl/apps: Add dummy install target to fix 'make install' | Sedat Dilek | 2009-12-17 | 1 | -1/+2 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | scons: Get GLSL code building correctly when cross compiling. | José Fonseca | 2009-12-10 | 4 | -71/+68 |
| | | | | | This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS. | ||||
* | glsl/sl: fix _parse_boolconstant() | Brian Paul | 2009-12-10 | 1 | -0/+2 |
| | | | | | Need to emit the radix before the digits. This fixes several glean/glgl1 regressions. | ||||
* | glsl/apps: remove unused vars | Brian Paul | 2009-12-10 | 4 | -7/+0 |
| | |||||
* | 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/cl: silence unused var warning | Brian Paul | 2009-12-10 | 1 | -0/+2 |
| | |||||
* | glsl/apps: Predefine __GLSL_PP_PREDEFINED_MACRO_TEST for testing. | Michal Krol | 2009-12-10 | 1 | -0/+10 |
| | |||||
* | glsl/pp: Add support for user-defined macros. | Michal Krol | 2009-12-10 | 4 | -0/+57 |
| | |||||
* | glsl/apps: Explicitly add ARB_draw_buffers and ARB_texture_rectangle. | Michal Krol | 2009-12-10 | 2 | -0/+22 |
| | |||||
* | 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 | 5 | -0/+146 |
| | | | | Still don't know how to add glsl to mesa dependencies. | ||||
* | glsl/apps: Make compile more shell friendly. | Michal Krol | 2009-11-25 | 1 | -8/+27 |
| | |||||
* | scons: Autogenerate GLSL builtin library *_gc.h from *.gc files. | Michal Krol | 2009-11-25 | 1 | -1/+2 |
| | |||||
* | glsl/apps: No need to purify source text for tokeniser. | Michal Krol | 2009-11-21 | 4 | -60/+16 |
| | |||||
* | 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/apps: Report syntax parser errors. | Michal Krol | 2009-11-13 | 1 | -1/+4 |
| | |||||
* | glsl/cl: Add simple error reporting. | Michal Krol | 2009-11-13 | 2 | -8/+74 |
| | |||||
* | glsl/apps: Add GLSL compiler that translates source text into binary stream. | Michal Krol | 2009-11-13 | 2 | -1/+219 |
| | | | | Should be used in place of gc_to_bin utility to precompile builtin library. | ||||
* | glsl/cl: Add a hard-coded syntax parser. | Michal Krol | 2009-11-13 | 3 | -0/+2696 |
| | |||||
* | glsl/pp: Add sl_pp_purify_getc(). | Michal Krol | 2009-11-10 | 2 | -87/+133 |
| | |||||
* | glsl/apps: Update for glsl/pp interface changes. | Michal Krol | 2009-11-10 | 4 | -8/+16 |
| | |||||
* | 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 |
| |