diff options
| author | 2021-05-19 16:32:38 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:32 -0400 | |
| commit | 96962c1d3c638d7cb15c89dcc9933b03237c03f6 (patch) | |
| tree | afaea0e66a77b34b9aff49e27dae49a083783980 | |
| parent | glasm: Implement PREC on relevant instructions (diff) | |
| download | yuzu-96962c1d3c638d7cb15c89dcc9933b03237c03f6.tar.gz yuzu-96962c1d3c638d7cb15c89dcc9933b03237c03f6.tar.xz yuzu-96962c1d3c638d7cb15c89dcc9933b03237c03f6.zip | |
glasm: Fix phi instruction types
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp | 2 |
1 files changed, 1 insertions, 1 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 f8a7e2781..066ed1012 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp | |||
| @@ -29,7 +29,7 @@ void EmitPhiMove(EmitContext& ctx, const IR::Value& phi, const IR::Value& value) | |||
| 29 | } | 29 | } |
| 30 | const Register phi_reg{ctx.reg_alloc.Consume(phi)}; | 30 | const Register phi_reg{ctx.reg_alloc.Consume(phi)}; |
| 31 | const Value eval_value{ctx.reg_alloc.Consume(value)}; | 31 | const Value eval_value{ctx.reg_alloc.Consume(value)}; |
| 32 | switch (phi.InstRecursive()->Arg(0).Type()) { | 32 | switch (phi.Inst()->Flags<IR::Type>()) { |
| 33 | case IR::Type::U1: | 33 | case IR::Type::U1: |
| 34 | case IR::Type::U32: | 34 | case IR::Type::U32: |
| 35 | case IR::Type::F32: | 35 | case IR::Type::F32: |