[Mesa-dev] [PATCH 5/7] swr/rast: Prepend the console output with a newline

George Kyriazis george.kyriazis at intel.com
Fri May 4 18:40:57 UTC 2018


It can get jumbled with output from other threads.
---
 .../swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp
index ceded82..79612f3 100644
--- a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp
+++ b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp
@@ -59,7 +59,7 @@ namespace ArchRast
             outDir << KNOB_DEBUG_OUTPUT_DIR << pBaseName << "_" << pid << std::ends;
             mOutputDir = outDir.str();
             if (CreateDirectory(mOutputDir.c_str(), NULL)) {
-                std::cout << "ArchRast Dir:      " << mOutputDir << std::endl << std::endl << std::flush;
+                std::cout << std::endl << "ArchRast Dir:       " << mOutputDir << std::endl << std::endl << std::flush;
             }
 
             // There could be multiple threads creating thread pools. We
-- 
2.7.4



More information about the mesa-dev mailing list