diff options
author | George Kyriazis <[email protected]> | 2018-04-23 18:14:59 -0500 |
---|---|---|
committer | George Kyriazis <[email protected]> | 2018-04-27 14:36:41 -0500 |
commit | 8ace547e8d743dcc51fc3b72ba30067f85232996 (patch) | |
tree | 131d11610eaf5c362cb55bb4bf4635bb0294ea68 | |
parent | c328c5d0f45e4ab7b0bc15fed2b45ff8f0f9ab11 (diff) |
swr/rast: Output rasterizer dir to console since it's process specific
Reviewed-by: Bruce Cherniak <[email protected]>
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 54d24861de5..ceded82b73f 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 @@ -36,6 +36,7 @@ #include "${event_header}" #include <fstream> #include <sstream> +#include <iostream> #include <thread> namespace ArchRast @@ -57,7 +58,9 @@ namespace ArchRast std::stringstream outDir; outDir << KNOB_DEBUG_OUTPUT_DIR << pBaseName << "_" << pid << std::ends; mOutputDir = outDir.str(); - CreateDirectory(mOutputDir.c_str(), NULL); + if (CreateDirectory(mOutputDir.c_str(), NULL)) { + std::cout << "ArchRast Dir: " << mOutputDir << std::endl << std::endl << std::flush; + } // There could be multiple threads creating thread pools. We // want to make sure they are uniquly identified by adding in |