diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-09-14 19:17:10 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-09-14 19:18:26 +0200 |
commit | 2df2b3719a3870e56129bfb384fc2da33d723e93 (patch) | |
tree | e97d9a19f1f2a9368dc2bd1799ac9fe092d9d1c2 /src/video_core | |
parent | Merge pull request #7009 from ameerj/main_process_cleanup (diff) | |
download | yuzu-2df2b3719a3870e56129bfb384fc2da33d723e93.tar yuzu-2df2b3719a3870e56129bfb384fc2da33d723e93.tar.gz yuzu-2df2b3719a3870e56129bfb384fc2da33d723e93.tar.bz2 yuzu-2df2b3719a3870e56129bfb384fc2da33d723e93.tar.lz yuzu-2df2b3719a3870e56129bfb384fc2da33d723e93.tar.xz yuzu-2df2b3719a3870e56129bfb384fc2da33d723e93.tar.zst yuzu-2df2b3719a3870e56129bfb384fc2da33d723e93.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 2 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 2 |
2 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 b0e14182e..02682bd76 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -293,6 +293,8 @@ void ShaderCache::LoadDiskResources(u64 title_id, std::stop_token stop_loading, }}; LoadPipelines(stop_loading, shader_cache_filename, CACHE_VERSION, load_compute, load_graphics); + LOG_INFO(Render_OpenGL, "Total Pipeline Count: {}", state.total); + std::unique_lock lock{state.mutex}; callback(VideoCore::LoadCallbackStage::Build, 0, state.total); state.has_loaded = true; diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index 31bfbcb06..eb8b4e08b 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -447,6 +447,8 @@ void PipelineCache::LoadDiskResources(u64 title_id, std::stop_token stop_loading VideoCommon::LoadPipelines(stop_loading, pipeline_cache_filename, CACHE_VERSION, load_compute, load_graphics); + LOG_INFO(Render_Vulkan, "Total Pipeline Count: {}", state.total); + std::unique_lock lock{state.mutex}; callback(VideoCore::LoadCallbackStage::Build, 0, state.total); state.has_loaded = true; |