summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_pc.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2010-08-31 13:17:07 +0200
committerChristoph Bumiller <[email protected]>2010-09-01 18:02:50 +0200
commitd90502b2b468732e2a42985580bbbe9d9fdfd14e (patch)
tree05577128b9731570382f054c846d5b231061a817 /src/gallium/drivers/nv50/nv50_pc.h
parent3844c365947082550565accefd996c10fbb15cc4 (diff)
nv50: turn off verbose debug output by default
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_pc.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_pc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_pc.h b/src/gallium/drivers/nv50/nv50_pc.h
index d24375100d8..48918f46d5b 100644
--- a/src/gallium/drivers/nv50/nv50_pc.h
+++ b/src/gallium/drivers/nv50/nv50_pc.h
@@ -23,6 +23,12 @@
#ifndef __NV50_COMPILER_H__
#define __NV50_COMPILER_H__
+#ifdef NV50PC_DEBUG
+# define NV50_DBGMSG(args...) debug_printf(args)
+#else
+# define NV50_DBGMSG(args...)
+#endif
+
#include "pipe/p_defines.h"
#include "util/u_inlines.h"
#include "util/u_memory.h"