summaryrefslogtreecommitdiffstats
path: root/src/glsl
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* glsl/pp: Fix macro formal argument parsing, more descriptive error msgs.Michal Krol2009-11-171-3/+4
|
* glsl/apps: Report syntax parser errors.Michal Krol2009-11-131-1/+4
|
* glsl/cl: Add simple error reporting.Michal Krol2009-11-132-8/+74
|
* glsl/apps: Add GLSL compiler that translates source text into binary stream.Michal Krol2009-11-132-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 Krol2009-11-133-0/+2696
|
* glsl/pp: Add sl_pp_purify_getc().Michal Krol2009-11-102-87/+133
|
* glsl/apps: Update for glsl/pp interface changes.Michal Krol2009-11-104-8/+16
|
* glsl/pp: Have sl_pp_purify() return error msg/line no.Michal Krol2009-11-102-11/+50
|
* glsl/pp: Expand macro actual arguments before pasting into its body.Michal Krol2009-09-281-49/+53
|