From: Eric Anholt Date: Mon, 18 Oct 2010 17:59:46 +0000 (-0700) Subject: i965: Disable the debug printf I added for FS disasm. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea213417f14a8b2734cb2a88d8aa1ac05a70b7d5;p=mesa.git i965: Disable the debug printf I added for FS disasm. --- 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"); }