VERY experimental Nintendo Switch 2 emulator
C++
Shader Cahe: Fix Phi Nodes on GLASM.
Fernando Sahmkowa354c3ae82e1
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cppindex ff64c69247..e537f60736 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp@@ -18,7 +18,7 @@ namespace Shader::Backend::GLASM {#define NotImplemented() throw NotImplementedException("GLASM instruction {}", __LINE__)static void DefinePhi(EmitContext& ctx, IR::Inst& phi) {- switch (phi.Arg(0).Type()) {+ switch (phi.Type()) {case IR::Type::U1:case IR::Type::U32:case IR::Type::F32: