mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 15:17:51 +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
|
@ -67,7 +67,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
|
|||
break;
|
||||
}
|
||||
case OpCode::Id::MOV_SYS: {
|
||||
const Node value = [&]() {
|
||||
const Node value = [this, instr] {
|
||||
switch (instr.sys20) {
|
||||
case SystemVariable::Ydirection:
|
||||
return Operation(OperationCode::YNegate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue