summaryrefslogtreecommitdiffstats
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
parentShaderCache: Fix Phi Nodes Type on OGL. (diff)
downloadyuzu-2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9.tar
yuzu-2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9.tar.gz
yuzu-2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9.tar.bz2
yuzu-2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9.tar.lz
yuzu-2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9.tar.xz
yuzu-2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9.tar.zst
yuzu-2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9.zip
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 ff64c6924..e537f6073 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: