i965: Remove gratuitous whitespace in INTEL_DEBUG=wm output.
authorEric Anholt <eric@anholt.net>
Fri, 9 Jan 2009 03:15:04 +0000 (19:15 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 21 Jan 2009 22:03:56 +0000 (14:03 -0800)
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm_debug.c
src/mesa/drivers/dri/i965/brw_wm_fp.c

index 2084480e8987200b3b3d32c33c87b27dc1a552a4..174331a765fee1acee215c0acc78354a8685d5a0 100644 (file)
@@ -1006,7 +1006,7 @@ void brw_vs_emit(struct brw_vs_compile *c )
    GLuint file;
 
    if (INTEL_DEBUG & DEBUG_VS) {
-      _mesa_printf("\n\n\nvs-emit:\n");
+      _mesa_printf("vs-emit:\n");
       _mesa_print_program(&c->vp->program.Base); 
       _mesa_printf("\n");
    }
index b8fbc8cdff836b5ca2008f8bd2edda244c3c2ba9..c50b0d2dd9535ff1169810d7ada67086afc84ddf 100644 (file)
@@ -136,6 +136,9 @@ static void do_wm_prog( struct brw_context *brw,
        */
        brw_wm_emit(c);
    }
+   if (INTEL_DEBUG & DEBUG_WM)
+      fprintf(stderr, "\n");
+
    /* get the program
     */
    program = brw_get_program(&c->func, &program_size);
index f31d0974ecf32318f2c8446da9e87896fd142f88..8f07f89ebc5979cff6a91d25a4eaf4760cedbf51 100644 (file)
@@ -163,9 +163,9 @@ void brw_wm_print_program( struct brw_wm_compile *c,
 {
    GLuint insn;
 
-   _mesa_printf("\n\n\n%s:\n", stage);
+   _mesa_printf("%s:\n", stage);
    for (insn = 0; insn < c->nr_insns; insn++)
       brw_wm_print_insn(c, &c->instruction[insn]);
-   _mesa_printf("\n\n\n");
+   _mesa_printf("\n");
 }
 
index 1a00b698256528d852ef4b63bca3b27780efc318..6df2c95d80ca71cee65155a5d513fb7ff26e30e8 100644 (file)
@@ -913,7 +913,7 @@ void brw_wm_pass_fp( struct brw_wm_compile *c )
    GLuint insn;
 
    if (INTEL_DEBUG & DEBUG_WM) {
-      _mesa_printf("\n\n\npre-fp:\n");
+      _mesa_printf("pre-fp:\n");
       _mesa_print_program(&fp->program.Base); 
       _mesa_printf("\n");
    }
@@ -1020,7 +1020,7 @@ void brw_wm_pass_fp( struct brw_wm_compile *c )
    }
 
    if (INTEL_DEBUG & DEBUG_WM) {
-          _mesa_printf("\n\n\npass_fp:\n");
+          _mesa_printf("pass_fp:\n");
           print_insns( c->prog_instructions, c->nr_fp_insns );
           _mesa_printf("\n");
    }