3
0
Fork 0
forked from suyu/suyu

shader: Simplify ISCADD

This commit is contained in:
ReinUsesLisp 2021-02-16 19:49:45 -03:00 committed by ameerj
parent 3633e43377
commit 4b438f94cf

View file

@ -50,12 +50,7 @@ void ISCADD(TranslatorVisitor& v, u64 insn, IR::U32 op_b) {
} // Anonymous namespace
void TranslatorVisitor::ISCADD_reg(u64 insn) {
union {
u64 raw;
BitField<20, 8, IR::Reg> op_b;
} const iscadd{insn};
ISCADD(*this, insn, X(iscadd.op_b));
ISCADD(*this, insn, GetReg20(insn));
}
void TranslatorVisitor::ISCADD_cbuf(u64) {