summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode/other.cpp
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2019-10-24 05:45:23 +0200
committerGitHub <noreply@github.com>2019-10-24 05:45:23 +0200
commit5328d570df4da03a59261917d9e2ee93988665cd (patch)
treeaf762d898b3b02c9f1cdd88a8e2743afc29090d5 /src/video_core/shader/decode/other.cpp
parentMerge pull request #3022 from DarkLordZach/azure-folder-rename (diff)
parentvideo_core/shader: Resolve instances of variable shadowing (diff)
downloadyuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar
yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar.gz
yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar.bz2
yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar.lz
yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar.xz
yuzu-5328d570df4da03a59261917d9e2ee93988665cd.tar.zst
yuzu-5328d570df4da03a59261917d9e2ee93988665cd.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/shader/decode/other.cpp2
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);