1
0
Fork 0
forked from eden-emu/eden

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 273bcde6bc
commit 0a71f5d6f4
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) {