diff options
| author | 2016-04-24 23:41:25 +0800 | |
|---|---|---|
| committer | 2016-04-25 00:39:54 +0800 | |
| commit | c6709d97bce27f248b78374a531a3ee01275c65d (patch) | |
| tree | df0bab005da2ce7686d6be03e164810c43c43496 | |
| parent | shader: Format string must be provided inline and not as a variable (diff) | |
| download | yuzu-c6709d97bce27f248b78374a531a3ee01275c65d.tar.gz yuzu-c6709d97bce27f248b78374a531a3ee01275c65d.tar.xz yuzu-c6709d97bce27f248b78374a531a3ee01275c65d.zip | |
shader: Handle non-CALL opcodes with a break
| -rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp index d5a6a349c..9ee4065bf 100644 --- a/src/video_core/shader/shader_jit_x64.cpp +++ b/src/video_core/shader/shader_jit_x64.cpp | |||
| @@ -795,6 +795,8 @@ void JitShader::FindReturnOffsets() { | |||
| 795 | case OpCode::Id::CALLU: | 795 | case OpCode::Id::CALLU: |
| 796 | return_offsets.push_back(instr.flow_control.dest_offset + instr.flow_control.num_instructions); | 796 | return_offsets.push_back(instr.flow_control.dest_offset + instr.flow_control.num_instructions); |
| 797 | break; | 797 | break; |
| 798 | default: | ||
| 799 | break; | ||
| 798 | } | 800 | } |
| 799 | } | 801 | } |
| 800 | 802 | ||