mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 09:27:48 +00:00
video_core/shader: Resolve instances of variable shadowing
Silences a few -Wshadow warnings.
This commit is contained in:
parent
273bcde6bc
commit
0a71f5d6f4
6 changed files with 12 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue