summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer')
-rw-r--r--src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp5
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