From: Eric Anholt Date: Wed, 23 Mar 2011 19:36:52 +0000 (-0700) Subject: i965/fs: Add a little whitespace between shader dumping debug. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b943b9b1a696cf51adfb2a18bcb9cf503fb2737f;p=mesa.git i965/fs: Add a little whitespace between shader dumping debug. Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 2784e0d96bc..5a643a94200 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.