From 85fb3e402744bbfd67ca9c79c98f54dd8ad169f5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 14 Oct 2009 11:28:28 -0600 Subject: docs: document more MESA_GLSL env var options --- docs/shading.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/shading.html') diff --git a/docs/shading.html b/docs/shading.html index 77c86be3aa..96060f1a75 100644 --- a/docs/shading.html +++ b/docs/shading.html @@ -39,7 +39,8 @@ Contents

The MESA_GLSL 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.

Example: export MESA_GLSL=dump,nopt -- cgit v1.2.3 From 347fb3737be03488827d25610bec59cfb05bcab0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 22 Oct 2009 09:38:39 -0600 Subject: docs: document 'useprog' debug option --- docs/shading.html | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/shading.html') diff --git a/docs/shading.html b/docs/shading.html index 96060f1a75..bd02335a80 100644 --- a/docs/shading.html +++ b/docs/shading.html @@ -55,6 +55,7 @@ execution. These are generally used for debugging. texcoord[0] attributes.

  • nopfrag - force fragment shader to be a simple shader that passes through the color attribute. +
  • useprog - log glUseProgram calls to stderr

    Example: export MESA_GLSL=dump,nopt -- cgit v1.2.3