From ea213417f14a8b2734cb2a88d8aa1ac05a70b7d5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 18 Oct 2010 10:59:46 -0700 Subject: [PATCH] i965: Disable the debug printf I added for FS disasm. --- src/mesa/drivers/dri/i965/brw_fs.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 85fd6d06b92..c9e109871ad 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3288,12 +3288,14 @@ brw_wm_fs_emit(struct brw_context *brw, struct brw_wm_compile *c) if (last_annotation_string) printf(" %s\n", last_annotation_string); } + if (0) { + printf("0x%08x 0x%08x 0x%08x 0x%08x ", + ((uint32_t *)&p->store[i])[3], + ((uint32_t *)&p->store[i])[2], + ((uint32_t *)&p->store[i])[1], + ((uint32_t *)&p->store[i])[0]); + } brw_disasm(stdout, &p->store[i], intel->gen); - printf("0x%08x 0x%08x 0x%08x 0x%08x\n", - ((uint32_t *)&p->store[i])[3], - ((uint32_t *)&p->store[i])[2], - ((uint32_t *)&p->store[i])[1], - ((uint32_t *)&p->store[i])[0]); } printf("\n"); } -- 2.30.2