diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-27 07:14:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-27 07:14:34 +0200 |
commit | 7fa9177830c201d249884cdc922edd7570b24ad5 (patch) | |
tree | 75cbd304edef7dfe5e9e479f8da99b66608d0244 /src | |
parent | Merge pull request #594 from bunnei/max-constbuff (diff) | |
download | yuzu-7fa9177830c201d249884cdc922edd7570b24ad5.tar yuzu-7fa9177830c201d249884cdc922edd7570b24ad5.tar.gz yuzu-7fa9177830c201d249884cdc922edd7570b24ad5.tar.bz2 yuzu-7fa9177830c201d249884cdc922edd7570b24ad5.tar.lz yuzu-7fa9177830c201d249884cdc922edd7570b24ad5.tar.xz yuzu-7fa9177830c201d249884cdc922edd7570b24ad5.tar.zst yuzu-7fa9177830c201d249884cdc922edd7570b24ad5.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index cd7569e2f..46eaad021 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -811,6 +811,7 @@ private: if (!opcode) { NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {0:x}", instr.value); UNREACHABLE(); + return offset + 1; } shader.AddLine("// " + std::to_string(offset) + ": " + opcode->GetName()); |