summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/ir_opt
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-25 08:20:37 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:33 +0200
commit77ee733c3ac8b78194c4214330237f641712c1d6 (patch)
tree101fd5d7302cbd6d09704713480d5c4a401f53f3 /src/shader_recompiler/ir_opt
parentglasm: Fix INeg32 on negative immediates (diff)
downloadyuzu-77ee733c3ac8b78194c4214330237f641712c1d6.tar
yuzu-77ee733c3ac8b78194c4214330237f641712c1d6.tar.gz
yuzu-77ee733c3ac8b78194c4214330237f641712c1d6.tar.bz2
yuzu-77ee733c3ac8b78194c4214330237f641712c1d6.tar.lz
yuzu-77ee733c3ac8b78194c4214330237f641712c1d6.tar.xz
yuzu-77ee733c3ac8b78194c4214330237f641712c1d6.tar.zst
yuzu-77ee733c3ac8b78194c4214330237f641712c1d6.zip
Diffstat (limited to 'src/shader_recompiler/ir_opt')
-rw-r--r--src/shader_recompiler/ir_opt/verification_pass.cpp2
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) {
continue;
}
if (!definitions.contains(inst.Arg(arg).Inst())) {
- fmt::print("{}\n", IR::DumpBlock(*block));
throw LogicError("Forward declaration in block: {}", IR::DumpBlock(*block));
}
}
@@ -80,7 +79,6 @@ static void ValidatePhiNodes(const IR::Program& program) {
for (const IR::Inst& inst : *block) {
if (inst.GetOpcode() == IR::Opcode::Phi) {
if (no_more_phis) {
- fmt::print("{}\n", IR::DumpBlock(*block));
throw LogicError("Interleaved phi nodes: {}", IR::DumpBlock(*block));
}
} else {