diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-02-21 02:18:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-21 02:18:00 +0100 |
commit | 2807a98168a08a0cebe5c0db42d14d0f2f03f117 (patch) | |
tree | d71f61ddafbdff8b1188171a0e85a0215753235e /src/video_core | |
parent | Merge pull request #5964 from bunnei/timing-fix (diff) | |
parent | gl_disk_shader_cache: Log total shader entries count on game load (diff) | |
download | yuzu-2807a98168a08a0cebe5c0db42d14d0f2f03f117.tar yuzu-2807a98168a08a0cebe5c0db42d14d0f2f03f117.tar.gz yuzu-2807a98168a08a0cebe5c0db42d14d0f2f03f117.tar.bz2 yuzu-2807a98168a08a0cebe5c0db42d14d0f2f03f117.tar.lz yuzu-2807a98168a08a0cebe5c0db42d14d0f2f03f117.tar.xz yuzu-2807a98168a08a0cebe5c0db42d14d0f2f03f117.tar.zst yuzu-2807a98168a08a0cebe5c0db42d14d0f2f03f117.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 4 |
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; } |