diff options
Diffstat (limited to 'src/shader_recompiler/main.cpp')
| -rw-r--r-- | src/shader_recompiler/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/main.cpp b/src/shader_recompiler/main.cpp index 39f0bf333..e3c9ad6e8 100644 --- a/src/shader_recompiler/main.cpp +++ b/src/shader_recompiler/main.cpp | |||
| @@ -35,12 +35,12 @@ void RunDatabase() { | |||
| 35 | ForEachFile("D:\\Shaders\\Database", [&](const std::filesystem::path& path) { | 35 | ForEachFile("D:\\Shaders\\Database", [&](const std::filesystem::path& path) { |
| 36 | map.emplace_back(std::make_unique<FileEnvironment>(path.string().c_str())); | 36 | map.emplace_back(std::make_unique<FileEnvironment>(path.string().c_str())); |
| 37 | }); | 37 | }); |
| 38 | for (int i = 0; i < 1; ++i) { | 38 | for (int i = 0; i < 300; ++i) { |
| 39 | for (auto& env : map) { | 39 | for (auto& env : map) { |
| 40 | // fmt::print(stdout, "Decoding {}\n", path.string()); | 40 | // fmt::print(stdout, "Decoding {}\n", path.string()); |
| 41 | const Location start_address{0}; | 41 | const Location start_address{0}; |
| 42 | auto cfg{std::make_unique<Flow::CFG>(*env, start_address)}; | 42 | auto cfg{std::make_unique<Flow::CFG>(*env, start_address)}; |
| 43 | // fmt::print(stdout, "{}\n", cfg.Dot()); | 43 | // fmt::print(stdout, "{}\n", cfg->Dot()); |
| 44 | // IR::Program program{env, cfg}; | 44 | // IR::Program program{env, cfg}; |
| 45 | // Optimize(program); | 45 | // Optimize(program); |
| 46 | // const std::string code{EmitGLASM(program)}; | 46 | // const std::string code{EmitGLASM(program)}; |