diff options
author | bunnei <bunneidev@gmail.com> | 2022-06-11 09:06:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-11 09:06:59 +0200 |
commit | ae83d5c6d30b9835bd642abcf3f037191f70d001 (patch) | |
tree | e7c0d0f69687834abdf434577b46f02f20c7f335 /src/video_core | |
parent | Merge pull request #8405 from Docteh/dock_undock (diff) | |
parent | configure_graphics: Remove unused include (diff) | |
download | yuzu-ae83d5c6d30b9835bd642abcf3f037191f70d001.tar yuzu-ae83d5c6d30b9835bd642abcf3f037191f70d001.tar.gz yuzu-ae83d5c6d30b9835bd642abcf3f037191f70d001.tar.bz2 yuzu-ae83d5c6d30b9835bd642abcf3f037191f70d001.tar.lz yuzu-ae83d5c6d30b9835bd642abcf3f037191f70d001.tar.xz yuzu-ae83d5c6d30b9835bd642abcf3f037191f70d001.tar.zst yuzu-ae83d5c6d30b9835bd642abcf3f037191f70d001.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_library.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_library.cpp b/src/video_core/vulkan_common/vulkan_library.cpp index a5dd33fb2..4eb3913ee 100644 --- a/src/video_core/vulkan_common/vulkan_library.cpp +++ b/src/video_core/vulkan_common/vulkan_library.cpp @@ -5,11 +5,13 @@ #include "common/dynamic_library.h" #include "common/fs/path_util.h" +#include "common/logging/log.h" #include "video_core/vulkan_common/vulkan_library.h" namespace Vulkan { Common::DynamicLibrary OpenLibrary() { + LOG_DEBUG(Render_Vulkan, "Looking for a Vulkan library"); Common::DynamicLibrary library; #ifdef __APPLE__ // Check if a path to a specific Vulkan library has been specified. @@ -22,9 +24,11 @@ Common::DynamicLibrary OpenLibrary() { } #else std::string filename = Common::DynamicLibrary::GetVersionedFilename("vulkan", 1); + LOG_DEBUG(Render_Vulkan, "Trying Vulkan library: {}", filename); if (!library.Open(filename.c_str())) { // Android devices may not have libvulkan.so.1, only libvulkan.so. filename = Common::DynamicLibrary::GetVersionedFilename("vulkan"); + LOG_DEBUG(Render_Vulkan, "Trying Vulkan library (second attempt): {}", filename); void(library.Open(filename.c_str())); } #endif |