diff options
Diffstat (limited to 'src/shader_recompiler/frontend/ir')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/basic_block.cpp | 2 | ||||
| -rw-r--r-- | src/shader_recompiler/frontend/ir/post_order.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/ir/basic_block.cpp b/src/shader_recompiler/frontend/ir/basic_block.cpp index 5ae91dd7d..ec029dfd6 100644 --- a/src/shader_recompiler/frontend/ir/basic_block.cpp +++ b/src/shader_recompiler/frontend/ir/basic_block.cpp | |||
| @@ -127,6 +127,8 @@ static std::string ArgToIndex(const std::map<const Block*, size_t>& block_to_ind | |||
| 127 | return fmt::format("#{}", arg.U32()); | 127 | return fmt::format("#{}", arg.U32()); |
| 128 | case Type::U64: | 128 | case Type::U64: |
| 129 | return fmt::format("#{}", arg.U64()); | 129 | return fmt::format("#{}", arg.U64()); |
| 130 | case Type::F32: | ||
| 131 | return fmt::format("#{}", arg.F32()); | ||
| 130 | case Type::Reg: | 132 | case Type::Reg: |
| 131 | return fmt::format("{}", arg.Reg()); | 133 | return fmt::format("{}", arg.Reg()); |
| 132 | case Type::Pred: | 134 | case Type::Pred: |
diff --git a/src/shader_recompiler/frontend/ir/post_order.cpp b/src/shader_recompiler/frontend/ir/post_order.cpp index a48b8dec5..8709a2ea1 100644 --- a/src/shader_recompiler/frontend/ir/post_order.cpp +++ b/src/shader_recompiler/frontend/ir/post_order.cpp | |||
| @@ -28,7 +28,7 @@ BlockList PostOrder(const BlockList& blocks) { | |||
| 28 | if (!visited.insert(branch).second) { | 28 | if (!visited.insert(branch).second) { |
| 29 | return false; | 29 | return false; |
| 30 | } | 30 | } |
| 31 | // Calling push_back twice is faster than insert on msvc | 31 | // Calling push_back twice is faster than insert on MSVC |
| 32 | block_stack.push_back(block); | 32 | block_stack.push_back(block); |
| 33 | block_stack.push_back(branch); | 33 | block_stack.push_back(branch); |
| 34 | return true; | 34 | return true; |