summaryrefslogtreecommitdiff
path: root/src/glsl
AgeCommit message (Collapse)AuthorFilesLines
2010-02-25glsl: implement support for GL_EXT_texture_arrayBrian Paul1-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.
2010-02-22glsl/apps: Assert that ftell does not return an error.Vinson Lee5-0/+6
2010-02-21glsl/cl: Prevent possible buffer overflow.Vinson Lee1-1/+2
2010-02-20glsl/cl: Prevent possible string overflow.Vinson Lee1-1/+2
2010-02-17glsl/apps: print usage info if insufficient argsBrian Paul4-0/+4
2010-02-17glsl/pp: Remove sl_pp_get_extension_state().Michal Krol3-53/+0
Parse extension tokens to track current state of extension enables.
2010-02-17glsl/cl: Parse layout qualifiers only when an appropriate extension enabled.Michal Krol1-2/+75
2010-02-17glsl/cl: Properly emit layout qualifier list.Michal Krol1-3/+3
2010-02-16sl/pp: re-do extension testing codeBrian Paul4-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.
2010-02-16glsl/pp: Do not try to enable extension `all'.Michal Krol1-8/+20
2010-02-15glsl/pp: Fix handling of if/elif/else cases.Michal Krol2-11/+28
Once if/elif evalutes to true, all subsequent conditions are always false.
2010-02-15glsl/pp: Add asserts to check for null pointer deferences.Vinson Lee2-0/+5
2010-02-13glsl/cl: implement parsing for layout qualifiersBrian Paul1-4/+74
For GL_ARB_fragment_coord_conventions support.
2010-02-13glsl/pp: fix incorrect extension enable flag for warn modeBrian Paul1-1/+1
2010-02-10glsl/pp: fix extension enable/disable optionsBrian Paul3-1/+22
Now the #extension name: disable/enable flags do the right thing. Fixes glean/glsl1 "Preprocessor test (extension test 3)"
2010-02-10Simplify GLSL extension mechanism.Michal Krol5-16/+8
Since extension name and extension name string are the same, collapse them into one name.
2010-02-10glsl/pp: Fix ifdef directive for extension names.Michal Krol1-42/+30
2010-01-26glsl/pp: Silence GCC "no previous prototype" warning.Vinson Lee1-1/+1
2010-01-18glsl: remove __inline directiveBrian Paul1-1/+1
It makes no difference with gcc -O3, for example.
2010-01-01glsl: Ignore programs.José Fonseca1-0/+5
2009-12-29glsl: added default case in _fetch_token() to silence warningsBrian Paul1-0/+2
2009-12-28scons: Fix xlib build.José Fonseca1-1/+1
After glsl rework merge.
2009-12-23glsl/pp: move static functions out of header fileKeith Whitwell4-139/+215
2009-12-23glsl/pp: quieten compiler about missing case statementsKeith Whitwell1-0/+3
2009-12-21glsl: make stack compile.Dave Airlie1-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 <airlied@redhat.com>
2009-12-20glsl/apps: Update after glsl cl interface changes.Michal Krol1-35/+2
2009-12-20glsl: Do syntax parsing inline with processing.Michal Krol13-62/+225
2009-12-20glsl/apps: Update after glsl pp interface changes.Michal Krol2-22/+9
2009-12-20glsl/apps: Do not print number of eaten tokens in version.Michal Krol1-20/+4
This is due to the glsl pp interface changes.
2009-12-20glsl/apps: Print error line number in compile.Michal Krol1-23/+13
2009-12-20glsl/pp: Do processing inline with tokenisation.Michal Krol13-269/+524
2009-12-20glsl/pp: Remove outdated TODO.Michal Krol1-5/+0
Already implemented in mesa compiler using predefined symbols.
2009-12-20glsl/pp: Report correct error line for purify and tokeniser errors.Michal Krol4-2/+21
2009-12-17glsl/apps: Add dummy install target to fix 'make install'Sedat Dilek1-1/+2
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-12-10scons: Get GLSL code building correctly when cross compiling.José Fonseca4-71/+68
This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS.
2009-12-10glsl/sl: fix _parse_boolconstant()Brian Paul1-0/+2
Need to emit the radix before the digits. This fixes several glean/glgl1 regressions.
2009-12-10glsl/apps: remove unused varsBrian Paul4-7/+0
2009-12-10glsl/pp: make some functions staticBrian Paul1-3/+3
2009-12-10glsl/pp: declare sl_pp_purify_options to silence warningBrian Paul1-0/+2
2009-12-10glsl/cl: silence unused var warningBrian Paul1-0/+2
2009-12-10glsl/apps: Predefine __GLSL_PP_PREDEFINED_MACRO_TEST for testing.Michal Krol1-0/+10
2009-12-10glsl/pp: Add support for user-defined macros.Michal Krol4-0/+57
2009-12-10glsl/apps: Explicitly add ARB_draw_buffers and ARB_texture_rectangle.Michal Krol2-0/+22
2009-12-10glsl/pp: Add sl_pp_context_add_extension().Michal Krol6-16/+64
This way third parties are able to add supported extension strings.
2009-12-10Build mesa glsl with make.michal5-0/+146
Still don't know how to add glsl to mesa dependencies.
2009-11-25glsl/apps: Make compile more shell friendly.Michal Krol1-8/+27
2009-11-25scons: Autogenerate GLSL builtin library *_gc.h from *.gc files.Michal Krol1-1/+2
2009-11-21glsl/apps: No need to purify source text for tokeniser.Michal Krol4-60/+16
2009-11-21glsl/pp: Do purification and tokenisation in a single step.Michal Krol6-307/+561
2009-11-20glsl/pp: Expand unknown identifiers to 0 in if/elif expressions.Michal Krol5-8/+22