mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
shader: Simplify ISCADD
This commit is contained in:
parent
3633e43377
commit
4b438f94cf
1 changed files with 1 additions and 6 deletions
|
@ -50,12 +50,7 @@ void ISCADD(TranslatorVisitor& v, u64 insn, IR::U32 op_b) {
|
||||||
} // Anonymous namespace
|
} // Anonymous namespace
|
||||||
|
|
||||||
void TranslatorVisitor::ISCADD_reg(u64 insn) {
|
void TranslatorVisitor::ISCADD_reg(u64 insn) {
|
||||||
union {
|
ISCADD(*this, insn, GetReg20(insn));
|
||||||
u64 raw;
|
|
||||||
BitField<20, 8, IR::Reg> op_b;
|
|
||||||
} const iscadd{insn};
|
|
||||||
|
|
||||||
ISCADD(*this, insn, X(iscadd.op_b));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TranslatorVisitor::ISCADD_cbuf(u64) {
|
void TranslatorVisitor::ISCADD_cbuf(u64) {
|
||||||
|
|
Loading…
Reference in a new issue