summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rowley <timothy.o.rowley@intel.com>2017-09-07 15:18:08 -0500
committerTim Rowley <timothy.o.rowley@intel.com>2017-09-13 10:09:30 -0500
commit6b9e801832c2691b311ab2429fda1f9ec774f021 (patch)
treec23ec618ab00b39e6cb456c7cdb68ded9c6e651f
parent6f0fcec07a16eb48ebdafffd0b4ae0bb5ac611a4 (diff)
swr/rast: add graph write to jit debug putput
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
-rw-r--r--src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
index fc32b627bd..e4281f8e92 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
+++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
@@ -296,10 +296,10 @@ void JitManager::DumpToFile(Function *f, const char *fileName)
#endif
fd.flush();
- //raw_fd_ostream fd_cfg(fName, EC, llvm::sys::fs::F_Text);
- //WriteGraph(fd_cfg, (const Function*)f);
+ raw_fd_ostream fd_cfg(fName, EC, llvm::sys::fs::F_Text);
+ WriteGraph(fd_cfg, (const Function*)f);
- //fd_cfg.flush();
+ fd_cfg.flush();
}
}