diff options
Diffstat (limited to 'src/shader_recompiler')
| -rw-r--r-- | src/shader_recompiler/ir_opt/verification_pass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shader_recompiler/ir_opt/verification_pass.cpp b/src/shader_recompiler/ir_opt/verification_pass.cpp index 207355ecc..975d5aadf 100644 --- a/src/shader_recompiler/ir_opt/verification_pass.cpp +++ b/src/shader_recompiler/ir_opt/verification_pass.cpp | |||
| @@ -66,7 +66,6 @@ static void ValidateForwardDeclarations(const IR::Program& program) { | |||
| 66 | continue; | 66 | continue; |
| 67 | } | 67 | } |
| 68 | if (!definitions.contains(inst.Arg(arg).Inst())) { | 68 | if (!definitions.contains(inst.Arg(arg).Inst())) { |
| 69 | fmt::print("{}\n", IR::DumpBlock(*block)); | ||
| 70 | throw LogicError("Forward declaration in block: {}", IR::DumpBlock(*block)); | 69 | throw LogicError("Forward declaration in block: {}", IR::DumpBlock(*block)); |
| 71 | } | 70 | } |
| 72 | } | 71 | } |
| @@ -80,7 +79,6 @@ static void ValidatePhiNodes(const IR::Program& program) { | |||
| 80 | for (const IR::Inst& inst : *block) { | 79 | for (const IR::Inst& inst : *block) { |
| 81 | if (inst.GetOpcode() == IR::Opcode::Phi) { | 80 | if (inst.GetOpcode() == IR::Opcode::Phi) { |
| 82 | if (no_more_phis) { | 81 | if (no_more_phis) { |
| 83 | fmt::print("{}\n", IR::DumpBlock(*block)); | ||
| 84 | throw LogicError("Interleaved phi nodes: {}", IR::DumpBlock(*block)); | 82 | throw LogicError("Interleaved phi nodes: {}", IR::DumpBlock(*block)); |
| 85 | } | 83 | } |
| 86 | } else { | 84 | } else { |