From: Kenneth Graunke Date: Fri, 18 Aug 2017 06:41:50 +0000 (-0700) Subject: i965: Fix missing newlines in perf_debug messages. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5af7f1ccec956f054c3bacae91f4f2e7261e8e72;p=mesa.git i965: Fix missing newlines in perf_debug messages. perf_debug() doesn't append a newline for you. --- diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 29fb874ffae..a8ad2ac05a4 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -387,7 +387,7 @@ brw_predraw_resolve_inputs(struct brw_context *brw) if (!aux_supported && brw->gen >= 9 && intel_disable_rb_aux_buffer(brw, tex_obj->mt->bo)) { perf_debug("Sampling renderbuffer with non-compressible format - " - "turning off compression"); + "turning off compression\n"); } brw_render_cache_set_check_flush(brw, tex_obj->mt->bo); @@ -414,7 +414,7 @@ brw_predraw_resolve_inputs(struct brw_context *brw) if (tex_obj->mt->aux_usage == ISL_AUX_USAGE_CCS_E && intel_disable_rb_aux_buffer(brw, tex_obj->mt->bo)) { perf_debug("Using renderbuffer as shader image - turning " - "off lossless compression"); + "off lossless compression\n"); } brw_render_cache_set_check_flush(brw, tex_obj->mt->bo); diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c index 17fa1ce8fe8..f1e9fa38ffc 100644 --- a/src/mesa/drivers/dri/i965/genX_state_upload.c +++ b/src/mesa/drivers/dri/i965/genX_state_upload.c @@ -3686,7 +3686,7 @@ genX(upload_3dstate_streamout)(struct brw_context *brw, bool active, sos.RenderingDisable = true; } else { perf_debug("Rasterizer discard with a GL_PRIMITIVES_GENERATED " - "query active relies on the clipper."); + "query active relies on the clipper.\n"); } }