X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fshading.html;h=750884cf36c448c8acfb7fd98edb0d0d70bfa5e7;hb=60558b1594e864ce8d44f2fe910075f2e47a164f;hp=2cd17c76ac927fede0709978942559766d26ed6a;hpb=a8d1521f30766b6a4707aa9966e1f2f9c0b3ac00;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
+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 version 1.20 is supported in Mesa 7.3 and later. +Among the features/differences of GLSL 1.20 are: +
mat2x3, mat2x4
, etc. types and functions
+transpose(), outerProduct(), matrixCompMult()
functions
+(but untested)
+invariant
qualifier
+array.length()
method
+float[5] a;
array syntax
+centroid
qualifier
+-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.
-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.
- - --Support for GLSL version 1.20 is underway. Status as follows. -
- -mat2x3, mat2x4
, etc. types and functions
-transpose(), outerProduct(), matrixCompMult()
functions
-(but untested)
-invariant
qualifier
-array.length()
method
-float[5] a;
array syntax
-centroid
qualifier
-