X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fshading.html;h=77a0ee413d90492a0f04eb48fad2b0ebbc5a9c4b;hb=8ad486077e122c19b603750e19dd678bb7793d5b;hp=b77745fbf37efbcf06fefe66096ecb37b21e7d31;hpb=53116910b10e3b8a05f42970eff311c21808699f;p=mesa.git diff --git a/docs/shading.html b/docs/shading.html index b77745fbf37..77a0ee413d9 100644 --- a/docs/shading.html +++ b/docs/shading.html @@ -1,28 +1,33 @@ - + + + + + Shading Language Support + + + -Shading Language Support +
+

The Mesa 3D Graphics Library

+
- + +
- - -

Shading Language Support

+

Shading Language Support

This page describes the features and status of Mesa's support for the - + OpenGL Shading Language.

-

-Last updated on 15 December 2008. -

-

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

-GLSL version 1.20 is supported in Mesa 7.3. -Among the features/differences of GLSL 1.20 are: +The GLSL compiler currently supports version 3.30 of the shading language. +

+ +

+Several GLSL extensions are also supported: +

+

Unsupported Features

-
-

Unsupported Features

+

XXX update this section

-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:

@@ -75,8 +102,7 @@ All other major features of the shading language should function.

-
-

Implementation Notes

+

Implementation Notes

+ +