summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-24 00:36:14 +0200
committerbunnei <bunneidev@gmail.com>2018-07-24 03:11:05 +0200
commitc4322ce87e45452d21b2adb4cbcd1c3f58442dd4 (patch)
treef14e51169aa46cb9169d7a679697bf1e62b0ec61 /src
parentMerge pull request #775 from lioncash/str (diff)
downloadyuzu-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 '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp3
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,