summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-28 13:43:19 +0100
committerLioncash <mathew1800@gmail.com>2019-01-28 13:43:23 +0100
commit3e1a9a45a6a1686e91768deef5f33afd5e55ed45 (patch)
tree4dfaba3c8ddab8a675674105f821e5c8577f57dc /src/video_core
parentMerge pull request #2060 from lioncash/exception (diff)
downloadyuzu-3e1a9a45a6a1686e91768deef5f33afd5e55ed45.tar
yuzu-3e1a9a45a6a1686e91768deef5f33afd5e55ed45.tar.gz
yuzu-3e1a9a45a6a1686e91768deef5f33afd5e55ed45.tar.bz2
yuzu-3e1a9a45a6a1686e91768deef5f33afd5e55ed45.tar.lz
yuzu-3e1a9a45a6a1686e91768deef5f33afd5e55ed45.tar.xz
yuzu-3e1a9a45a6a1686e91768deef5f33afd5e55ed45.tar.zst
yuzu-3e1a9a45a6a1686e91768deef5f33afd5e55ed45.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/shader/decode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode.cpp b/src/video_core/shader/decode.cpp
index 6fdcac784..812983a99 100644
--- a/src/video_core/shader/decode.cpp
+++ b/src/video_core/shader/decode.cpp
@@ -126,7 +126,7 @@ BasicBlock ShaderIR::DecodeRange(u32 begin, u32 end) {
for (u32 pc = begin; pc < (begin > end ? MAX_PROGRAM_LENGTH : end);) {
pc = DecodeInstr(basic_block, pc);
}
- return std::move(basic_block);
+ return basic_block;
}
u32 ShaderIR::DecodeInstr(BasicBlock& bb, u32 pc) {