diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2019-10-24 05:45:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-24 05:45:23 +0200 |
commit | 5328d570df4da03a59261917d9e2ee93988665cd (patch) | |
tree | af762d898b3b02c9f1cdd88a8e2743afc29090d5 /src/video_core/shader/decode/shift.cpp | |
parent | Merge pull request #3022 from DarkLordZach/azure-folder-rename (diff) | |
parent | video_core/shader: Resolve instances of variable shadowing (diff) | |
download | yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar.gz yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar.bz2 yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar.lz yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar.xz yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar.zst yuzu-5328d570df4da03a59261917d9e2ee93988665cd.zip |
Diffstat (limited to 'src/video_core/shader/decode/shift.cpp')
-rw-r--r-- | src/video_core/shader/decode/shift.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/shift.cpp b/src/video_core/shader/decode/shift.cpp index f6ee68a54..d419e9c45 100644 --- a/src/video_core/shader/decode/shift.cpp +++ b/src/video_core/shader/decode/shift.cpp @@ -18,7 +18,7 @@ u32 ShaderIR::DecodeShift(NodeBlock& bb, u32 pc) { const auto opcode = OpCode::Decode(instr); Node op_a = GetRegister(instr.gpr8); - Node op_b = [&]() { + Node op_b = [this, instr] { if (instr.is_b_imm) { return Immediate(instr.alu.GetSignedImm20_20()); } else if (instr.is_b_gpr) { |