summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-08-09 11:22:45 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2007-08-09 11:23:19 +0100
commit5279b267688ecf0eb8a9b9873d80aa399538303e (patch)
treea7f8ab28eb28185ca004223f0e527909be856826
parent17dde8dbb131a07f4a1109615fa80b60a7857a60 (diff)
Quieten TGSI
-rw-r--r--src/mesa/state_tracker/st_atom_fs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_fs.c b/src/mesa/state_tracker/st_atom_fs.c
index 9ca1807913..58875de3f9 100644
--- a/src/mesa/state_tracker/st_atom_fs.c
+++ b/src/mesa/state_tracker/st_atom_fs.c
@@ -37,6 +37,8 @@
#include "pipe/tgsi/mesa/mesa_to_tgsi.h"
#include "pipe/tgsi/core/tgsi_dump.h"
+#define TGSI_DEBUG 0
+
static void compile_fs( struct st_context *st,
struct st_fragment_program *fs )
{
@@ -44,7 +46,8 @@ static void compile_fs( struct st_context *st,
*/
tgsi_mesa_compile_fp_program( &fs->Base, fs->tokens, ST_FP_MAX_TOKENS );
- tgsi_dump( fs->tokens, TGSI_DUMP_VERBOSE );
+ if (TGSI_DEBUG)
+ tgsi_dump( fs->tokens, TGSI_DUMP_VERBOSE );
}