i965: Fix missing newlines in perf_debug messages.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 18 Aug 2017 06:41:50 +0000 (23:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 18 Aug 2017 06:42:49 +0000 (23:42 -0700)
perf_debug() doesn't append a newline for you.

src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/genX_state_upload.c

index 29fb874ffae73cf404d37177ea02f53460a9d19d..a8ad2ac05a465f3b2180a64ed654554f7f88d277 100644 (file)
@@ -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);
index 17fa1ce8fe84173a5c53667fdd5719b4861c4ce6..f1e9fa38ffc283f0abe34da9f89098e8f629b070 100644 (file)
@@ -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");
             }
          }