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 012d7f5233
commit 1f5401c89c
6 changed files with 12 additions and 11 deletions

View File

@ -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);