mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-07-04 02:10:46 -07:00
video_core/shader: Resolve instances of variable shadowing
Silences a few -Wshadow warnings.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user