shader: Add missing UndoUse case for GetSparseFromOp

This commit is contained in:
ReinUsesLisp authored and ameerj committed 2021-07-22 21:51:29 -04:00
1 parent 9b691a28d8
commit 12d7acf707
1 file changed
+4
@@ -364,6 +364,10 @@ void Inst::UndoUse(const Value& value) {
AllocAssociatedInsts(assoc_inst);
RemovePseudoInstruction(assoc_inst->overflow_inst, Opcode::GetOverflowFromOp);
break;
case Opcode::GetSparseFromOp:
AllocAssociatedInsts(assoc_inst);
RemovePseudoInstruction(assoc_inst->sparse_inst, Opcode::GetSparseFromOp);
break;
case Opcode::GetInBoundsFromOp:
AllocAssociatedInsts(assoc_inst);
RemovePseudoInstruction(assoc_inst->in_bounds_inst, Opcode::GetInBoundsFromOp);