Mesa (master): i965/fs: Add a little whitespace between shader dumping debug.

Eric Anholt anholt at kemper.freedesktop.org
Tue Apr 26 12:26:03 PDT 2011


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

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Mar 23 12:36:52 2011 -0700

i965/fs: Add a little whitespace between shader dumping debug.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 2784e0d..5a643a9 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -3904,6 +3904,10 @@ fs_visitor::generate_code()
       last_native_inst = p->nr_insn;
    }
 
+   if (unlikely(INTEL_DEBUG & DEBUG_WM)) {
+      printf("\n");
+   }
+
    ralloc_free(if_stack);
    ralloc_free(loop_stack);
    ralloc_free(if_depth_in_loop);
@@ -4050,7 +4054,7 @@ brw_wm_fs_emit(struct brw_context *brw, struct brw_wm_compile *c)
    if (unlikely(INTEL_DEBUG & DEBUG_WM)) {
       printf("GLSL IR for native fragment shader %d:\n", prog->Name);
       _mesa_print_ir(shader->ir, NULL);
-      printf("\n");
+      printf("\n\n");
    }
 
    /* Now the main event: Visit the shader IR and generate our FS IR for it.



More information about the mesa-commit mailing list