OSDN Git Service

i965/fs: Add a little whitespace between shader dumping debug.
authorEric Anholt <eric@anholt.net>
Wed, 23 Mar 2011 19:36:52 +0000 (12:36 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 26 Apr 2011 19:19:59 +0000 (12:19 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 2784e0d..5a643a9 100644 (file)
@@ -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.