summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-04-01 08:25:55 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:25 +0200
commitfd496d0401e601d3fec4d38208bcf52410e3b74c (patch)
tree54e42ca7546e6da5845a86b06550fec34c6b7517 /src/shader_recompiler
parentshader: Stub VOTE.VTG (diff)
downloadyuzu-fd496d0401e601d3fec4d38208bcf52410e3b74c.tar
yuzu-fd496d0401e601d3fec4d38208bcf52410e3b74c.tar.gz
yuzu-fd496d0401e601d3fec4d38208bcf52410e3b74c.tar.bz2
yuzu-fd496d0401e601d3fec4d38208bcf52410e3b74c.tar.lz
yuzu-fd496d0401e601d3fec4d38208bcf52410e3b74c.tar.xz
yuzu-fd496d0401e601d3fec4d38208bcf52410e3b74c.tar.zst
yuzu-fd496d0401e601d3fec4d38208bcf52410e3b74c.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv_image.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp
index bc7de509b..fc40615af 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp
@@ -40,7 +40,8 @@ public:
}
const std::array values{offset.InstRecursive(), offset2.InstRecursive()};
if (!values[0]->AreAllArgsImmediates() || !values[1]->AreAllArgsImmediates()) {
- throw NotImplementedException("Not all arguments in PTP are immediate");
+ // LOG_WARNING("Not all arguments in PTP are immediate, STUBBING");
+ return;
}
const IR::Opcode opcode{values[0]->Opcode()};
if (opcode != values[1]->Opcode() || opcode != IR::Opcode::CompositeConstructU32x4) {