summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-02-20 16:34:07 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-02-20 17:08:19 +0100
commit1a5d4d7840c9c674f51b93044f5d279f3077aae5 (patch)
treed71f61ddafbdff8b1188171a0e85a0215753235e /src
parentMerge pull request #5964 from bunnei/timing-fix (diff)
downloadyuzu-1a5d4d7840c9c674f51b93044f5d279f3077aae5.tar
yuzu-1a5d4d7840c9c674f51b93044f5d279f3077aae5.tar.gz
yuzu-1a5d4d7840c9c674f51b93044f5d279f3077aae5.tar.bz2
yuzu-1a5d4d7840c9c674f51b93044f5d279f3077aae5.tar.lz
yuzu-1a5d4d7840c9c674f51b93044f5d279f3077aae5.tar.xz
yuzu-1a5d4d7840c9c674f51b93044f5d279f3077aae5.tar.zst
yuzu-1a5d4d7840c9c674f51b93044f5d279f3077aae5.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index 529570ff0..5cf7cd151 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -335,6 +335,10 @@ void ShaderCacheOpenGL::LoadDiskCache(u64 title_id, const std::atomic_bool& stop
const VideoCore::DiskResourceLoadCallback& callback) {
disk_cache.BindTitleID(title_id);
const std::optional transferable = disk_cache.LoadTransferable();
+
+ LOG_INFO(Render_OpenGL, "Total Shader Count: {}",
+ transferable.has_value() ? transferable->size() : 0);
+
if (!transferable) {
return;
}