diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-04-01 07:52:36 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:25 +0200 |
commit | 5ed8f2438498d3281c2ce8621869995de3908413 (patch) | |
tree | be8c944e46c0ce84def6e38cee63324915ac83a4 /src/shader_recompiler/frontend/ir | |
parent | shader: Fold composite extract (diff) | |
download | yuzu-5ed8f2438498d3281c2ce8621869995de3908413.tar yuzu-5ed8f2438498d3281c2ce8621869995de3908413.tar.gz yuzu-5ed8f2438498d3281c2ce8621869995de3908413.tar.bz2 yuzu-5ed8f2438498d3281c2ce8621869995de3908413.tar.lz yuzu-5ed8f2438498d3281c2ce8621869995de3908413.tar.xz yuzu-5ed8f2438498d3281c2ce8621869995de3908413.tar.zst yuzu-5ed8f2438498d3281c2ce8621869995de3908413.zip |
Diffstat (limited to 'src/shader_recompiler/frontend/ir')
-rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cpp index edf8c05d4..5258ede09 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp +++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp @@ -256,6 +256,13 @@ static U1 GetFlowTest(IREmitter& ir, FlowTest flow_test) { return ir.LogicalOr(ir.GetSFlag(), ir.GetZFlag()); case FlowTest::RGT: return ir.LogicalAnd(ir.LogicalNot(ir.GetSFlag()), ir.LogicalNot(ir.GetZFlag())); + case FlowTest::CSM_TA: + case FlowTest::CSM_TR: + case FlowTest::CSM_MX: + case FlowTest::FCSM_TA: + case FlowTest::FCSM_TR: + case FlowTest::FCSM_MX: + return ir.Imm1(false); default: throw NotImplementedException("Flow test {}", flow_test); } |