diff options
author | Lioncash <mathew1800@gmail.com> | 2019-01-28 13:43:19 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-01-28 13:43:23 +0100 |
commit | 3e1a9a45a6a1686e91768deef5f33afd5e55ed45 (patch) | |
tree | 4dfaba3c8ddab8a675674105f821e5c8577f57dc /src/video_core/shader | |
parent | Merge pull request #2060 from lioncash/exception (diff) | |
download | yuzu-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/shader')
-rw-r--r-- | src/video_core/shader/decode.cpp | 2 |
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) { |