video_core/shader: Resolve instances of variable shadowing

Silences a few -Wshadow warnings.
This commit is contained in:
Lioncash
2019-10-23 21:26:07 -04:00
parent 012d7f5233
commit 1f5401c89c
6 changed files with 12 additions and 11 deletions

View File

@ -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) {