diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2019-10-24 00:45:23 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-24 00:45:23 -0300 |
| commit | 5328d570df4da03a59261917d9e2ee93988665cd (patch) | |
| tree | af762d898b3b02c9f1cdd88a8e2743afc29090d5 /src/video_core/shader/decode/other.cpp | |
| parent | 012d7f52337bae999abcc4943b45b8fe5ab5f7a3 (diff) | |
| parent | 1f5401c89c922a0ff5f6da131675fcdb5c73c5a5 (diff) | |
Merge pull request #3024 from lioncash/shadow
video_core/shader: Resolve instances of variable shadowing
Diffstat (limited to 'src/video_core/shader/decode/other.cpp')
| -rw-r--r-- | src/video_core/shader/decode/other.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp index d46e0f823..116b95f76 100644 --- a/src/video_core/shader/decode/other.cpp +++ b/src/video_core/shader/decode/other.cpp @@ -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); |
