diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-26 23:42:37 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:33 +0200 |
commit | 8f3043c3cf6f6baa1d235e6789533fbf567d1c2d (patch) | |
tree | e9c017011fe7578f3b243d01badc7c8faa21da1b /src/shader_recompiler/backend | |
parent | glasm: Remove unintentional '\n' on Undef32 (diff) | |
download | yuzu-8f3043c3cf6f6baa1d235e6789533fbf567d1c2d.tar yuzu-8f3043c3cf6f6baa1d235e6789533fbf567d1c2d.tar.gz yuzu-8f3043c3cf6f6baa1d235e6789533fbf567d1c2d.tar.bz2 yuzu-8f3043c3cf6f6baa1d235e6789533fbf567d1c2d.tar.lz yuzu-8f3043c3cf6f6baa1d235e6789533fbf567d1c2d.tar.xz yuzu-8f3043c3cf6f6baa1d235e6789533fbf567d1c2d.tar.zst yuzu-8f3043c3cf6f6baa1d235e6789533fbf567d1c2d.zip |
Diffstat (limited to 'src/shader_recompiler/backend')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp index e6a880a36..95bcbd750 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp @@ -58,9 +58,7 @@ void EmitPhiMove(EmitContext& ctx, const IR::Value& phi_value, const IR::Value& } const Register phi_reg{ctx.reg_alloc.Consume(IR::Value{&phi})}; const Value eval_value{ctx.reg_alloc.Consume(value)}; - if (!value.IsImmediate() && IR::IsUndef(RegAlloc::AliasInst(*value.Inst()))) { - return; - } + if (phi_reg == eval_value) { return; } |