summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-01 00:46:10 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:25 +0200
commiteaafd53cfedf0c7ae40a3f790af5f0aec63ebd13 (patch)
tree41dd5b44f3f5be33f655fdca736e28c26dfa1b00 /src/shader_recompiler/frontend/maxwell/translate
parentshader: Unroll "using enum" for opcode declarations (diff)
downloadyuzu-eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13.tar
yuzu-eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13.tar.gz
yuzu-eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13.tar.bz2
yuzu-eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13.tar.lz
yuzu-eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13.tar.xz
yuzu-eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13.tar.zst
yuzu-eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13.zip
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp
index 748b856c9..71688b1d7 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp
@@ -118,7 +118,8 @@ void TranslatorVisitor::LDG(u64 insn) {
}
break;
}
- case LoadSize::B128: {
+ case LoadSize::B128:
+ case LoadSize::U128: {
if (!IR::IsAligned(dest_reg, 4)) {
throw NotImplementedException("Unaligned data registers");
}
@@ -128,8 +129,6 @@ void TranslatorVisitor::LDG(u64 insn) {
}
break;
}
- case LoadSize::U128:
- throw NotImplementedException("LDG U.128");
default:
throw NotImplementedException("Invalid LDG size {}", ldg.size.Value());
}