Module: Mesa
Branch: master
Commit: 8cb55dae2e796445635303f03a0e1e6c01a767d5
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cb55dae2e796445635303f03a0e1e6c01a767d5

Author: George Kyriazis <george.kyria...@intel.com>
Date:   Mon Apr 30 17:45:55 2018 -0500

swr/rast: Prepend the console output with a newline

It can get jumbled with output from other threads.

Reviewed-by: Bruce Cherniak <bruce.chern...@intel.com>

---

 .../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 ceded82b73..79612f3120 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

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to