Mesa (master): i965: Disable the debug printf I added for FS disasm.

Eric Anholt anholt at kemper.freedesktop.org
Mon Oct 18 19:58:20 UTC 2010


Module: Mesa
Branch: master
Commit: ea213417f14a8b2734cb2a88d8aa1ac05a70b7d5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea213417f14a8b2734cb2a88d8aa1ac05a70b7d5

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Oct 18 10:59:46 2010 -0700

i965: Disable the debug printf I added for FS disasm.

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |   12 +++++++-----
 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 85fd6d0..c9e1098 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");
    }




More information about the mesa-commit mailing list