mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-27 18:48:14 +02:00
swr/rast: Output rasterizer dir to console since it's process specific
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
c328c5d0f4
commit
8ace547e8d
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue