mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-28 17:45:29 +00:00
shader: Add missing UndoUse case for GetSparseFromOp
This commit is contained in:
parent
0ace34575c
commit
aece958c2b
|
@ -364,6 +364,10 @@ void Inst::UndoUse(const Value& value) {
|
||||||
AllocAssociatedInsts(assoc_inst);
|
AllocAssociatedInsts(assoc_inst);
|
||||||
RemovePseudoInstruction(assoc_inst->overflow_inst, Opcode::GetOverflowFromOp);
|
RemovePseudoInstruction(assoc_inst->overflow_inst, Opcode::GetOverflowFromOp);
|
||||||
break;
|
break;
|
||||||
|
case Opcode::GetSparseFromOp:
|
||||||
|
AllocAssociatedInsts(assoc_inst);
|
||||||
|
RemovePseudoInstruction(assoc_inst->sparse_inst, Opcode::GetSparseFromOp);
|
||||||
|
break;
|
||||||
case Opcode::GetInBoundsFromOp:
|
case Opcode::GetInBoundsFromOp:
|
||||||
AllocAssociatedInsts(assoc_inst);
|
AllocAssociatedInsts(assoc_inst);
|
||||||
RemovePseudoInstruction(assoc_inst->in_bounds_inst, Opcode::GetInBoundsFromOp);
|
RemovePseudoInstruction(assoc_inst->in_bounds_inst, Opcode::GetInBoundsFromOp);
|
||||||
|
|
Loading…
Reference in a new issue