diff options
Diffstat (limited to 'src/video_core/shader/decode.cpp')
| -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) { | |||
| 126 | for (u32 pc = begin; pc < (begin > end ? MAX_PROGRAM_LENGTH : end);) { | 126 | for (u32 pc = begin; pc < (begin > end ? MAX_PROGRAM_LENGTH : end);) { |
| 127 | pc = DecodeInstr(basic_block, pc); | 127 | pc = DecodeInstr(basic_block, pc); |
| 128 | } | 128 | } |
| 129 | return std::move(basic_block); | 129 | return basic_block; |
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | u32 ShaderIR::DecodeInstr(BasicBlock& bb, u32 pc) { | 132 | u32 ShaderIR::DecodeInstr(BasicBlock& bb, u32 pc) { |