diff options
author | Tim Rowley <[email protected]> | 2017-09-07 15:18:08 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-09-13 10:09:30 -0500 |
commit | 6b9e801832c2691b311ab2429fda1f9ec774f021 (patch) | |
tree | c23ec618ab00b39e6cb456c7cdb68ded9c6e651f /src | |
parent | 6f0fcec07a16eb48ebdafffd0b4ae0bb5ac611a4 (diff) |
swr/rast: add graph write to jit debug putput
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 6 |
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 fc32b627bd1..e4281f8e920 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(); } } |