diff options
| author | 2021-04-22 16:50:13 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:29 -0400 | |
| commit | aece958c2ba5d4fe37246a6a7502d182931a7483 (patch) | |
| tree | da077069949e3b29d4c79443b3d079366b1ed4f8 /src/shader_recompiler/frontend/ir/microinstruction.cpp | |
| parent | shader: Require dual source blending (diff) | |
| download | yuzu-aece958c2ba5d4fe37246a6a7502d182931a7483.tar.gz yuzu-aece958c2ba5d4fe37246a6a7502d182931a7483.tar.xz yuzu-aece958c2ba5d4fe37246a6a7502d182931a7483.zip | |
shader: Add missing UndoUse case for GetSparseFromOp
Diffstat (limited to 'src/shader_recompiler/frontend/ir/microinstruction.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/microinstruction.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/microinstruction.cpp b/src/shader_recompiler/frontend/ir/microinstruction.cpp index b424d038e..5c1b02d53 100644 --- a/src/shader_recompiler/frontend/ir/microinstruction.cpp +++ b/src/shader_recompiler/frontend/ir/microinstruction.cpp | |||
| @@ -364,6 +364,10 @@ void Inst::UndoUse(const Value& value) { | |||
| 364 | AllocAssociatedInsts(assoc_inst); | 364 | AllocAssociatedInsts(assoc_inst); |
| 365 | RemovePseudoInstruction(assoc_inst->overflow_inst, Opcode::GetOverflowFromOp); | 365 | RemovePseudoInstruction(assoc_inst->overflow_inst, Opcode::GetOverflowFromOp); |
| 366 | break; | 366 | break; |
| 367 | case Opcode::GetSparseFromOp: | ||
| 368 | AllocAssociatedInsts(assoc_inst); | ||
| 369 | RemovePseudoInstruction(assoc_inst->sparse_inst, Opcode::GetSparseFromOp); | ||
| 370 | break; | ||
| 367 | case Opcode::GetInBoundsFromOp: | 371 | case Opcode::GetInBoundsFromOp: |
| 368 | AllocAssociatedInsts(assoc_inst); | 372 | AllocAssociatedInsts(assoc_inst); |
| 369 | RemovePseudoInstruction(assoc_inst->in_bounds_inst, Opcode::GetInBoundsFromOp); | 373 | RemovePseudoInstruction(assoc_inst->in_bounds_inst, Opcode::GetInBoundsFromOp); |