summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_program.c
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-04-10 13:59:26 +0200
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-04-10 14:06:52 +0200
commit74559abbef5e5bcd3dbe1b8bbb8a39391a8a8671 (patch)
tree7115b58a8d5279ab2f6c7d3eab6708995b52f3df /src/gallium/drivers/nv50/nv50_program.c
parent003224bd970e9cb63b0d3d12e1a8f2f3b3a736e6 (diff)
downloadexternal_mesa3d-74559abbef5e5bcd3dbe1b8bbb8a39391a8a8671.zip
external_mesa3d-74559abbef5e5bcd3dbe1b8bbb8a39391a8a8671.tar.gz
external_mesa3d-74559abbef5e5bcd3dbe1b8bbb8a39391a8a8671.tar.bz2
nv50,nvc0: silence shader debug output
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 37025a6..41d3e14 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -20,8 +20,6 @@
* SOFTWARE.
*/
-/* #define NV50_PROGRAM_DEBUG */
-
#include "nv50_program.h"
#include "nv50_pc.h"
#include "nv50_context.h"
@@ -564,7 +562,7 @@ nv50_prog_scan(struct nv50_translation_info *ti)
tgsi_scan_shader(p->pipe.tokens, &ti->scan);
-#ifdef NV50_PROGRAM_DEBUG
+#if NV50_DEBUG & NV50_DEBUG_SHADER
tgsi_dump(p->pipe.tokens, 0);
#endif