Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: implement support for GL_EXT_texture_array | Brian Paul | 2010-02-25 | 1 | -0/+31 |
| | | | | | | | | GL_EXT_texture_array is different from the existing GL_MESA_texture_array support in that the former is only supported for GLSL, not fixed-function. The shadow compare versions of the sampler functions haven't been tested yet. The non-shadow versions have been tested with a new piglit test. | ||||
* | glsl/apps: Assert that ftell does not return an error. | Vinson Lee | 2010-02-22 | 5 | -0/+6 |
| | |||||
* | glsl/cl: Prevent possible buffer overflow. | Vinson Lee | 2010-02-21 | 1 | -1/+2 |
| | |||||
* | glsl/cl: Prevent possible string overflow. | Vinson Lee | 2010-02-20 | 1 | -1/+2 |
| | |||||
* | glsl/apps: print usage info if insufficient args | Brian Paul | 2010-02-17 | 4 | -0/+4 |
| | |||||
* | glsl/pp: Remove sl_pp_get_extension_state(). | Michal Krol | 2010-02-17 | 3 | -53/+0 |
| | | | | Parse extension tokens to track current state of extension enables. | ||||
* | glsl/cl: Parse layout qualifiers only when an appropriate extension enabled. | Michal Krol | 2010-02-17 | 1 | -2/+75 |
| | |||||
* | glsl/cl: Properly emit layout qualifier list. | Michal Krol | 2010-02-17 | 1 | -3/+3 |
| | |||||
* | sl/pp: re-do extension testing code | Brian Paul | 2010-02-16 | 4 | -7/+36 |
| | | | | | | 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. | ||||
* | glsl/pp: Do not try to enable extension `all'. | Michal Krol | 2010-02-16 | 1 | -8/+20 |
| | |||||
* | 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 |
| |