OSDN Git Service

swr/rast: Prepend the console output with a newline
authorGeorge Kyriazis <george.kyriazis@intel.com>
Mon, 30 Apr 2018 22:45:55 +0000 (17:45 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 11 May 2018 16:25:24 +0000 (11:25 -0500)
It can get jumbled with output from other threads.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp

index ceded82..79612f3 100644 (file)
@@ -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