summaryrefslogtreecommitdiffstats
path: root/docs/shading.html
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-14 11:28:28 -0600
committerBrian Paul <brianp@vmware.com>2009-10-14 19:09:08 -0600
commit85fb3e402744bbfd67ca9c79c98f54dd8ad169f5 (patch)
tree12a644b24704bffba076178d4ee710b18fe51ae2 /docs/shading.html
parent24e2f61469a4915ca4aba431cbe4634293cbe92e (diff)
downloadexternal_mesa3d-85fb3e402744bbfd67ca9c79c98f54dd8ad169f5.zip
external_mesa3d-85fb3e402744bbfd67ca9c79c98f54dd8ad169f5.tar.gz
external_mesa3d-85fb3e402744bbfd67ca9c79c98f54dd8ad169f5.tar.bz2
docs: document more MESA_GLSL env var options
Diffstat (limited to 'docs/shading.html')
-rw-r--r--docs/shading.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/shading.html b/docs/shading.html
index 77c86be..96060f1 100644
--- a/docs/shading.html
+++ b/docs/shading.html
@@ -39,7 +39,8 @@ Contents
<p>
The <b>MESA_GLSL</b> environment variable can be set to a comma-separated
-list of keywords to control some aspects of the GLSL compiler:
+list of keywords to control some aspects of the GLSL compiler and shader
+execution. These are generally used for debugging.
</p>
<ul>
<li>dump - print GLSL shader code to stdout at link time
@@ -49,6 +50,11 @@ list of keywords to control some aspects of the GLSL compiler:
<li>nopt - disable compiler optimizations
<li>opt - force compiler optimizations
<li>uniform - print message to stdout when glUniform is called
+<li>nopvert - force vertex shaders to be a simple shader that just transforms
+ the vertex position with ftransform() and passes through the color and
+ texcoord[0] attributes.
+<li>nopfrag - force fragment shader to be a simple shader that passes
+ through the color attribute.
</ul>
<p>
Example: export MESA_GLSL=dump,nopt