summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_sanity.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-08-05 17:44:05 -0700
committerJakob Bornecrantz <[email protected]>2010-08-05 17:44:05 -0700
commit9f5c1194ff0ff69be5d7641d68169b152bc6cd0a (patch)
tree7156e41f0c06c406eba299d99f227add139daedd /src/gallium/auxiliary/tgsi/tgsi_sanity.h
parent4d65055b1f2023f95a4f9c2bfab55a67ef72739d (diff)
tgsi: Add option to stop the sanity checker from printing
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_sanity.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_sanity.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sanity.h b/src/gallium/auxiliary/tgsi/tgsi_sanity.h
index 52263ff8832..46d8d184190 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_sanity.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_sanity.h
@@ -35,7 +35,8 @@ extern "C" {
#endif
/* Check the given token stream for errors and common mistakes.
- * Diagnostic messages are printed out to the debug output.
+ * Diagnostic messages are printed out to the debug output, and is
+ * controlled by the debug option TGSI_PRINT_SANITY (default true).
* Returns TRUE if there are no errors, even though there could be some warnings.
*/
boolean