yuzu-emu
/
yuzu
Archived
1
0
Fork 0

shader: Implement LDG .U.128 as .128

This commit is contained in:
ReinUsesLisp 2021-03-31 19:46:10 -03:00 committed by ameerj
parent c826220733
commit eaafd53cfe
1 changed files with 2 additions and 3 deletions

View File

@ -118,7 +118,8 @@ void TranslatorVisitor::LDG(u64 insn) {
} }
break; break;
} }
case LoadSize::B128: { case LoadSize::B128:
case LoadSize::U128: {
if (!IR::IsAligned(dest_reg, 4)) { if (!IR::IsAligned(dest_reg, 4)) {
throw NotImplementedException("Unaligned data registers"); throw NotImplementedException("Unaligned data registers");
} }
@ -128,8 +129,6 @@ void TranslatorVisitor::LDG(u64 insn) {
} }
break; break;
} }
case LoadSize::U128:
throw NotImplementedException("LDG U.128");
default: default:
throw NotImplementedException("Invalid LDG size {}", ldg.size.Value()); throw NotImplementedException("Invalid LDG size {}", ldg.size.Value());
} }