diff options
author | Lioncash <mathew1800@gmail.com> | 2020-07-21 06:29:23 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-07-21 06:36:13 +0200 |
commit | 6adc824d9d15b476320739788564023f995b9da0 (patch) | |
tree | bb5f4932c851a88e5a9e05ddceb4ebb26c11403b /src/video_core/shader/decode/arithmetic_integer.cpp | |
parent | Merge pull request #4376 from ogniK5377/dark-wait-tree (diff) | |
download | yuzu-6adc824d9d15b476320739788564023f995b9da0.tar yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.gz yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.bz2 yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.lz yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.xz yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.zst yuzu-6adc824d9d15b476320739788564023f995b9da0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/decode/arithmetic_integer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader/decode/arithmetic_integer.cpp b/src/video_core/shader/decode/arithmetic_integer.cpp index a041519b7..73155966f 100644 --- a/src/video_core/shader/decode/arithmetic_integer.cpp +++ b/src/video_core/shader/decode/arithmetic_integer.cpp @@ -98,12 +98,12 @@ u32 ShaderIR::DecodeArithmeticInteger(NodeBlock& bb, u32 pc) { op_b = GetOperandAbsNegInteger(op_b, false, instr.iadd3.neg_b, true); op_c = GetOperandAbsNegInteger(op_c, false, instr.iadd3.neg_c, true); - const Node value = [&]() { - const Node add_ab = Operation(OperationCode::IAdd, NO_PRECISE, op_a, op_b); + const Node value = [&] { + Node add_ab = Operation(OperationCode::IAdd, NO_PRECISE, op_a, op_b); if (opcode->get().GetId() != OpCode::Id::IADD3_R) { return Operation(OperationCode::IAdd, NO_PRECISE, add_ab, op_c); } - const Node shifted = [&]() { + const Node shifted = [&] { switch (instr.iadd3.mode) { case Tegra::Shader::IAdd3Mode::RightShift: // TODO(tech4me): According to |