[Mesa-dev] [PATCH 06/10] swr/rast: add graph write to jit debug putput

Tim Rowley timothy.o.rowley at intel.com
Mon Sep 11 19:28:26 UTC 2017


---
 src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 6 +++---
 1 file 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 fc32b62..e4281f8 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();
     }
 }
 
-- 
2.7.4



More information about the mesa-dev mailing list