summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_log.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-06 10:21:36 -0700
committerBrian Paul <brianp@vmware.com>2009-02-06 10:21:36 -0700
commite01a03d2220199a4541f2cb8b42035237a571aa4 (patch)
treeefc2fdd4c2341ad8763082396d44971481a28cf9 /src/mesa/shader/slang/slang_log.c
parent6ce0c6e743b27cc284e8f164585cfe5892cd662a (diff)
glsl: new MESA_GLSL env var for GLSL debugging features
Replaces the VERBOSE_GLSL, VERBOSE_GLSL_DUMP flags which only worked in debug builds. MESA_GLSL will work both in debug and non-debug builds. Also add facility to dump glUniform() calls to stdout.
Diffstat (limited to 'src/mesa/shader/slang/slang_log.c')
-rw-r--r--src/mesa/shader/slang/slang_log.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/shader/slang/slang_log.c b/src/mesa/shader/slang/slang_log.c
index d5576d7ee2..d7d2b4fbfd 100644
--- a/src/mesa/shader/slang/slang_log.c
+++ b/src/mesa/shader/slang/slang_log.c
@@ -77,10 +77,6 @@ slang_info_log_message(slang_info_log * log, const char *prefix,
slang_string_concat(log->text, msg);
slang_string_concat(log->text, "\n");
- if (MESA_VERBOSE & VERBOSE_GLSL) {
- _mesa_printf("Mesa: GLSL %s", log->text);
- }
-
return 1;
}