diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-22 21:50:13 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:29 +0200 |
commit | aece958c2ba5d4fe37246a6a7502d182931a7483 (patch) | |
tree | da077069949e3b29d4c79443b3d079366b1ed4f8 /src | |
parent | shader: Require dual source blending (diff) | |
download | yuzu-aece958c2ba5d4fe37246a6a7502d182931a7483.tar yuzu-aece958c2ba5d4fe37246a6a7502d182931a7483.tar.gz yuzu-aece958c2ba5d4fe37246a6a7502d182931a7483.tar.bz2 yuzu-aece958c2ba5d4fe37246a6a7502d182931a7483.tar.lz yuzu-aece958c2ba5d4fe37246a6a7502d182931a7483.tar.xz yuzu-aece958c2ba5d4fe37246a6a7502d182931a7483.tar.zst yuzu-aece958c2ba5d4fe37246a6a7502d182931a7483.zip |
Diffstat (limited to '')
-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) { 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); |