mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 17:55:46 +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
|
@ -23,7 +23,7 @@ u32 ShaderIR::DecodeVideo(NodeBlock& bb, u32 pc) {
|
|||
const Node op_a =
|
||||
GetVideoOperand(GetRegister(instr.gpr8), instr.video.is_byte_chunk_a, instr.video.signed_a,
|
||||
instr.video.type_a, instr.video.byte_height_a);
|
||||
const Node op_b = [&]() {
|
||||
const Node op_b = [this, instr] {
|
||||
if (instr.video.use_register_b) {
|
||||
return GetVideoOperand(GetRegister(instr.gpr20), instr.video.is_byte_chunk_b,
|
||||
instr.video.signed_b, instr.video.type_b,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue