diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-24 00:36:14 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-07-24 03:11:05 +0200 |
commit | c4322ce87e45452d21b2adb4cbcd1c3f58442dd4 (patch) | |
tree | f14e51169aa46cb9169d7a679697bf1e62b0ec61 /src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |
parent | Merge pull request #775 from lioncash/str (diff) | |
download | yuzu-c4322ce87e45452d21b2adb4cbcd1c3f58442dd4.tar yuzu-c4322ce87e45452d21b2adb4cbcd1c3f58442dd4.tar.gz yuzu-c4322ce87e45452d21b2adb4cbcd1c3f58442dd4.tar.bz2 yuzu-c4322ce87e45452d21b2adb4cbcd1c3f58442dd4.tar.lz yuzu-c4322ce87e45452d21b2adb4cbcd1c3f58442dd4.tar.xz yuzu-c4322ce87e45452d21b2adb4cbcd1c3f58442dd4.tar.zst yuzu-c4322ce87e45452d21b2adb4cbcd1c3f58442dd4.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_decompiler.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index ba827181b..0b097aae2 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -769,7 +769,8 @@ private: return offset + 1; } - shader.AddLine("// " + std::to_string(offset) + ": " + opcode->GetName()); + shader.AddLine("// " + std::to_string(offset) + ": " + opcode->GetName() + " (" + + std::to_string(instr.value) + ')'); using Tegra::Shader::Pred; ASSERT_MSG(instr.pred.full_pred != Pred::NeverExecute, |