summaryrefslogtreecommitdiff
path: root/src/glsl
AgeCommit message (Collapse)Author
2010-06-24glsl2: Stop .gitignoring the old standalone build system.Eric Anholt
2010-06-24glsl2: Move the Mesa IR codegen into mesa/shader/Eric Anholt
2010-06-24Merge branch 'glsl2-head' into glsl2Eric Anholt
This brings in the standalone GLSL compiler that we are planning on replacing the existing Mesa GLSL compiler. It currently targets GLSL 1.20 and the Mesa IR.
2010-06-24glsl2: Add a README file for the new compiler.Eric Anholt
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt
2010-06-04glsl: Recject rect samplers when GL_ARB_texture_rectangle is disabledKristian Høgsberg
2010-02-25glsl: implement support for GL_EXT_texture_arrayBrian Paul
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 Lee
2010-02-21glsl/cl: Prevent possible buffer overflow.Vinson Lee
2010-02-20glsl/cl: Prevent possible string overflow.Vinson Lee
2010-02-17glsl/apps: print usage info if insufficient argsBrian Paul
2010-02-17glsl/pp: Remove sl_pp_get_extension_state().Michal Krol
Parse extension tokens to track current state of extension enables.
2010-02-17glsl/cl: Parse layout qualifiers only when an appropriate extension enabled.Michal Krol
2010-02-17glsl/cl: Properly emit layout qualifier list.Michal Krol
2010-02-16sl/pp: re-do extension testing codeBrian Paul
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 Krol
2010-02-15glsl/pp: Fix handling of if/elif/else cases.Michal Krol
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 Lee
2010-02-13glsl/cl: implement parsing for layout qualifiersBrian Paul
For GL_ARB_fragment_coord_conventions support.
2010-02-13glsl/pp: fix incorrect extension enable flag for warn modeBrian Paul
2010-02-10glsl/pp: fix extension enable/disable optionsBrian Paul
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 Krol
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 Krol
2010-01-26glsl/pp: Silence GCC "no previous prototype" warning.Vinson Lee
2010-01-18glsl: remove __inline directiveBrian Paul
It makes no difference with gcc -O3, for example.
2010-01-01glsl: Ignore programs.José Fonseca
2009-12-29glsl: added default case in _fetch_token() to silence warningsBrian Paul
2009-12-28scons: Fix xlib build.José Fonseca
After glsl rework merge.
2009-12-23glsl/pp: move static functions out of header fileKeith Whitwell
2009-12-23glsl/pp: quieten compiler about missing case statementsKeith Whitwell
2009-12-21glsl: make stack compile.Dave Airlie
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 Krol
2009-12-20glsl: Do syntax parsing inline with processing.Michal Krol
2009-12-20glsl/apps: Update after glsl pp interface changes.Michal Krol
2009-12-20glsl/apps: Do not print number of eaten tokens in version.Michal Krol
This is due to the glsl pp interface changes.
2009-12-20glsl/apps: Print error line number in compile.Michal Krol
2009-12-20glsl/pp: Do processing inline with tokenisation.Michal Krol
2009-12-20glsl/pp: Remove outdated TODO.Michal Krol
Already implemented in mesa compiler using predefined symbols.
2009-12-20glsl/pp: Report correct error line for purify and tokeniser errors.Michal Krol
2009-12-17glsl/apps: Add dummy install target to fix 'make install'Sedat Dilek
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-12-10scons: Get GLSL code building correctly when cross compiling.José Fonseca
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 Paul
Need to emit the radix before the digits. This fixes several glean/glgl1 regressions.
2009-12-10glsl/apps: remove unused varsBrian Paul
2009-12-10glsl/pp: make some functions staticBrian Paul
2009-12-10glsl/pp: declare sl_pp_purify_options to silence warningBrian Paul
2009-12-10glsl/cl: silence unused var warningBrian Paul
2009-12-10glsl/apps: Predefine __GLSL_PP_PREDEFINED_MACRO_TEST for testing.Michal Krol
2009-12-10glsl/pp: Add support for user-defined macros.Michal Krol
2009-12-10glsl/apps: Explicitly add ARB_draw_buffers and ARB_texture_rectangle.Michal Krol
2009-12-10glsl/pp: Add sl_pp_context_add_extension().Michal Krol
This way third parties are able to add supported extension strings.