summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-10-18 10:59:46 -0700
committerEric Anholt <[email protected]>2010-10-18 12:56:44 -0700
commitea213417f14a8b2734cb2a88d8aa1ac05a70b7d5 (patch)
treef1103a2a41bb310a390003f4ae738636abb21d3e
parent65d4234c2398aaa48eb5e29e6e7bede40fe2fd36 (diff)
i965: Disable the debug printf I added for FS disasm.
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp12
1 files 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");
}