Browse Source
Merge pull request #5965 from Morph1984/shader-count
gl_disk_shader_cache: Log total shader entries count on game load
pull/15/merge
Ameer J
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
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; |
|
|
|
} |
|
|
|
|