From 5279b267688ecf0eb8a9b9873d80aa399538303e Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 9 Aug 2007 11:22:45 +0100 Subject: [PATCH] Quieten TGSI --- src/mesa/state_tracker/st_atom_fs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_atom_fs.c b/src/mesa/state_tracker/st_atom_fs.c index 9ca1807913c..58875de3f94 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 ); } -- 2.30.2