diff options
| author | 2021-02-20 10:34:07 -0500 | |
|---|---|---|
| committer | 2021-02-20 11:08:19 -0500 | |
| commit | 1a5d4d7840c9c674f51b93044f5d279f3077aae5 (patch) | |
| tree | d71f61ddafbdff8b1188171a0e85a0215753235e | |
| parent | Merge pull request #5964 from bunnei/timing-fix (diff) | |
| download | yuzu-1a5d4d7840c9c674f51b93044f5d279f3077aae5.tar.gz yuzu-1a5d4d7840c9c674f51b93044f5d279f3077aae5.tar.xz yuzu-1a5d4d7840c9c674f51b93044f5d279f3077aae5.zip | |
gl_disk_shader_cache: Log total shader entries count on game load
| -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 | |||
| 335 | const VideoCore::DiskResourceLoadCallback& callback) { | 335 | const VideoCore::DiskResourceLoadCallback& callback) { |
| 336 | disk_cache.BindTitleID(title_id); | 336 | disk_cache.BindTitleID(title_id); |
| 337 | const std::optional transferable = disk_cache.LoadTransferable(); | 337 | const std::optional transferable = disk_cache.LoadTransferable(); |
| 338 | |||
| 339 | LOG_INFO(Render_OpenGL, "Total Shader Count: {}", | ||
| 340 | transferable.has_value() ? transferable->size() : 0); | ||
| 341 | |||
| 338 | if (!transferable) { | 342 | if (!transferable) { |
| 339 | return; | 343 | return; |
| 340 | } | 344 | } |