aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glasm
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-11-02 00:59:25 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-11-02 00:59:25 +0100
commit2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9 (patch)
tree99d96acf88f6f1534fb50afbc582bbdc98978b7f /src/shader_recompiler/backend/glasm
parent194579bc4f409ba9a232afc54f19d0610102954e (diff)
Shader Cahe: Fix Phi Nodes on GLASM.
Diffstat (limited to 'src/shader_recompiler/backend/glasm')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp2
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 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: