summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode/video.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-24 03:26:07 +0200
committerLioncash <mathew1800@gmail.com>2019-10-24 05:00:31 +0200
commit1f5401c89c922a0ff5f6da131675fcdb5c73c5a5 (patch)
treeaf762d898b3b02c9f1cdd88a8e2743afc29090d5 /src/video_core/shader/decode/video.cpp
parentMerge pull request #3022 from DarkLordZach/azure-folder-rename (diff)
downloadyuzu-1f5401c89c922a0ff5f6da131675fcdb5c73c5a5.tar
yuzu-1f5401c89c922a0ff5f6da131675fcdb5c73c5a5.tar.gz
yuzu-1f5401c89c922a0ff5f6da131675fcdb5c73c5a5.tar.bz2
yuzu-1f5401c89c922a0ff5f6da131675fcdb5c73c5a5.tar.lz
yuzu-1f5401c89c922a0ff5f6da131675fcdb5c73c5a5.tar.xz
yuzu-1f5401c89c922a0ff5f6da131675fcdb5c73c5a5.tar.zst
yuzu-1f5401c89c922a0ff5f6da131675fcdb5c73c5a5.zip
Diffstat (limited to 'src/video_core/shader/decode/video.cpp')
-rw-r--r--src/video_core/shader/decode/video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/video.cpp b/src/video_core/shader/decode/video.cpp
index 97fc6f9b1..b047cf870 100644
--- a/src/video_core/shader/decode/video.cpp
+++ b/src/video_core/shader/decode/video.cpp
@@ -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,