summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2021-11-02 00:59:25 +0100
committerGravatar Fernando Sahmkow2021-11-02 00:59:25 +0100
commit2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9 (patch)
tree99d96acf88f6f1534fb50afbc582bbdc98978b7f /src/shader_recompiler/backend
parentShaderCache: Fix Phi Nodes Type on OGL. (diff)
downloadyuzu-2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9.tar.gz
yuzu-2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9.tar.xz
yuzu-2d4bbd83e6f29850558fc6d741a93b5bf0d9bbb9.zip
Shader Cahe: Fix Phi Nodes on GLASM.
Diffstat (limited to 'src/shader_recompiler/backend')
-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 {
18#define NotImplemented() throw NotImplementedException("GLASM instruction {}", __LINE__) 18#define NotImplemented() throw NotImplementedException("GLASM instruction {}", __LINE__)
19 19
20static void DefinePhi(EmitContext& ctx, IR::Inst& phi) { 20static void DefinePhi(EmitContext& ctx, IR::Inst& phi) {
21 switch (phi.Arg(0).Type()) { 21 switch (phi.Type()) {
22 case IR::Type::U1: 22 case IR::Type::U1:
23 case IR::Type::U32: 23 case IR::Type::U32:
24 case IR::Type::F32: 24 case IR::Type::F32: