X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fshading.html;h=750884cf36c448c8acfb7fd98edb0d0d70bfa5e7;hb=e6ff995d14085caa447c4e8634bf069c8a94f0ec;hp=2cd17c76ac927fede0709978942559766d26ed6a;hpb=4af0d940a35536f096a9289470af0268a79402b3;p=mesa.git diff --git a/docs/shading.html b/docs/shading.html index 2cd17c76ac9..750884cf36c 100644 --- a/docs/shading.html +++ b/docs/shading.html @@ -14,42 +14,87 @@ This page describes the features and status of Mesa's support for the OpenGL Shading Language.

-

-Last updated on 28 March 2007. -

-

Contents

+ + +

Environment Variables

+ +

+The MESA_GLSL environment variable can be set to a comma-separated +list of keywords to control some aspects of the GLSL compiler and shader +execution. These are generally used for debugging. +

+ +

+Example: export MESA_GLSL=dump,nopt +

+ + +
+

GLSL 1.20 support

+ +

+GLSL version 1.20 is supported in Mesa 7.3 and later. +Among the features/differences of GLSL 1.20 are: +

+ + +

Unsupported Features

-The following features of the shading language are not yet supported +The following features of the shading language are not yet fully supported in Mesa:

@@ -159,6 +204,8 @@ This tool is useful for: After building Mesa, the glslcompiler can be built by manually running:

+    make realclean
+    make linux
     cd src/mesa/drivers/glslcompiler
     make
 
@@ -304,11 +351,11 @@ Extra NOP instructions will also be inserted.

Compiler Validation

-A new Glean test has +A Glean test has been create to exercise the GLSL compiler.

-The glsl1 test runs over 150 sub-tests to check that the language +The glsl1 test runs over 170 sub-tests to check that the language features and built-in functions work properly. This test should be run frequently while working on the compiler to catch regressions. @@ -319,39 +366,5 @@ should be added.

- - -

GLSL 1.20 support

- -

-Support for GLSL version 1.20 is underway. Status as follows. -

- -

Supported

- - -

Partially Complete

- - -

Not Completed

- - - - -