mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 04:46:27 -05:00
shader: Add missing UndoUse case for GetSparseFromOp
This commit is contained in:
parent
0ace34575c
commit
aece958c2b
1 changed files with 4 additions and 0 deletions
|
@ -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