aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl
Commit message (Collapse)AuthorAgeFilesLines
* glsl: implement support for GL_EXT_texture_arrayBrian Paul2010-02-251-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 Lee2010-02-225-0/+6
|
* glsl/cl: Prevent possible buffer overflow.Vinson Lee2010-02-211-1/+2
|
* glsl/cl: Prevent possible string overflow.Vinson Lee2010-02-201-1/+2
|
* glsl/apps: print usage info if insufficient argsBrian Paul2010-02-174-0/+4
|
* glsl/pp: Remove sl_pp_get_extension_state().Michal Krol2010-02-173-53/+0
| | | | Parse extension tokens to track current state of extension enables.
* glsl/cl: Parse layout qualifiers only when an appropriate extension enabled.Michal Krol2010-02-171-2/+75
|
* glsl/cl: Properly emit layout qualifier list.Michal Krol2010-02-171-3/+3
|
* sl/pp: re-do extension testing codeBrian Paul2010-02-164-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 Krol2010-02-161-8/+20
|
* glsl/pp: Fix handling of if/elif/else cases.Michal Krol2010-02-152-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 Lee2010-02-152-0/+5
|
* glsl/cl: implement parsing for layout qualifiersBrian Paul2010-02-131-4/+74
| | | | For GL_ARB_fragment_coord_conventions support.
* glsl/pp: fix incorrect extension enable flag for warn modeBrian Paul2010-02-131-1/+1
|
* glsl/pp: fix extension enable/disable optionsBrian Paul2010-02-103-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 Krol2010-02-105-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 Krol2010-02-101-42/+30
|
* glsl/pp: Silence GCC "no previous prototype" warning.Vinson Lee2010-01-261-1/+1
|
* glsl: remove __inline directiveBrian Paul2010-01-181-1/+1
| | | | It makes no difference with gcc -O3, for example.
* glsl: Ignore programs.José Fonseca2010-01-011-0/+5
|
* glsl: added default case in _fetch_token() to silence warningsBrian Paul2009-12-291-0/+2
|
* scons: Fix xlib build.José Fonseca2009-12-281-1/+1
| | | | After glsl rework merge.
* glsl/pp: move static functions out of header fileKeith Whitwell2009-12-234-139/+215
|
* glsl/pp: quieten compiler about missing case statementsKeith Whitwell2009-12-231-0/+3
|
* glsl: make stack compile.Dave Airlie2009-12-211-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 Krol2009-12-201-35/+2
|
* glsl: Do syntax parsing inline with processing.Michal Krol2009-12-2013-62/+225
|
* glsl/apps: Update after glsl pp interface changes.Michal Krol2009-12-202-22/+9
|
* glsl/apps: Do not print number of eaten tokens in version.Michal Krol2009-12-201-20/+4
| | | | This is due to the glsl pp interface changes.
* glsl/apps: Print error line number in compile.Michal Krol2009-12-201-23/+13
|
* glsl/pp: Do processing inline with tokenisation.Michal Krol2009-12-2013-269/+524
|
* glsl/pp: Remove outdated TODO.Michal Krol2009-12-201-5/+0
| | | | Already implemented in mesa compiler using predefined symbols.
* glsl/pp: Report correct error line for purify and tokeniser errors.Michal Krol2009-12-204-2/+21
|
* glsl/apps: Add dummy install target to fix 'make install'Sedat Dilek2009-12-171-1/+2
| | | | Signed-off-by: Brian Paul <[email protected]>
* scons: Get GLSL code building correctly when cross compiling.José Fonseca2009-12-104-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 Paul2009-12-101-0/+2
| | | | | Need to emit the radix before the digits. This fixes several glean/glgl1 regressions.
* glsl/apps: remove unused varsBrian Paul2009-12-104-7/+0
|
* glsl/pp: make some functions staticBrian Paul2009-12-101-3/+3
|
* glsl/pp: declare sl_pp_purify_options to silence warningBrian Paul2009-12-101-0/+2
|
* glsl/cl: silence unused var warningBrian Paul2009-12-101-0/+2
|
* glsl/apps: Predefine __GLSL_PP_PREDEFINED_MACRO_TEST for testing.Michal Krol2009-12-101-0/+10
|
* glsl/pp: Add support for user-defined macros.Michal Krol2009-12-104-0/+57
|
* glsl/apps: Explicitly add ARB_draw_buffers and ARB_texture_rectangle.Michal Krol2009-12-102-0/+22
|
* glsl/pp: Add sl_pp_context_add_extension().Michal Krol2009-12-106-16/+64
| | | | This way third parties are able to add supported extension strings.
* Build mesa glsl with make.michal2009-12-105-0/+146
| | | | Still don't know how to add glsl to mesa dependencies.
* glsl/apps: Make compile more shell friendly.Michal Krol2009-11-251-8/+27
|
* scons: Autogenerate GLSL builtin library *_gc.h from *.gc files.Michal Krol2009-11-251-1/+2
|
* glsl/apps: No need to purify source text for tokeniser.Michal Krol2009-11-214-60/+16
|
* glsl/pp: Do purification and tokenisation in a single step.Michal Krol2009-11-216-307/+561
|
* glsl/pp: Expand unknown identifiers to 0 in if/elif expressions.Michal Krol2009-11-205-8/+22
|