X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fshading.html;h=77a0ee413d90492a0f04eb48fad2b0ebbc5a9c4b;hb=dec9664e35a35b447f21ea15631ae5a5404e9624;hp=bd02335a803d0ccd4bb9512c9b8bc0b59e0f1f16;hpb=b57abd3bea29e95e5dee2524c3f1be4b26017c0f;p=mesa.git diff --git a/docs/shading.html b/docs/shading.html index bd02335a803..77a0ee413d9 100644 --- a/docs/shading.html +++ b/docs/shading.html @@ -1,29 +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

+

Environment Variables

The MESA_GLSL environment variable can be set to a comma-separated @@ -43,49 +45,44 @@ 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

+ +

+The GLSL compiler currently supports version 3.30 of the shading language. +

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

+

Unsupported Features

-
-

Unsupported Features

+

XXX update this section

The following features of the shading language are not yet fully supported @@ -96,7 +93,6 @@ in Mesa:

  • Linking of multiple shaders does not always work. Currently, linking is implemented through shader concatenation and re-compiling. This doesn't always work because of some #pragma and preprocessor issues. -
  • gl_ClipVertex
  • The gl_Color and gl_SecondaryColor varying vars are interpolated without perspective correction @@ -106,8 +102,7 @@ All other major features of the shading language should function.

    -
    -

    Implementation Notes

    +

    Implementation Notes

  • + +