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

View File

@ -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());
}