VERY experimental Nintendo Switch 2 emulator
C++
shader: Implement LDG .U.128 as .128
ReinUsesLispce39989ea9de
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.cppindex 748b856c9b..71688b1d78 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());}