diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-10-23 21:26:07 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-10-23 23:00:31 -0400 |
| commit | 1f5401c89c922a0ff5f6da131675fcdb5c73c5a5 (patch) | |
| tree | af762d898b3b02c9f1cdd88a8e2743afc29090d5 /src/video_core/shader/decode/shift.cpp | |
| parent | 012d7f52337bae999abcc4943b45b8fe5ab5f7a3 (diff) | |
video_core/shader: Resolve instances of variable shadowing
Silences a few -Wshadow warnings.
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) { |
