summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlat9nq <lat9nq@gmail.com>2022-05-30 01:49:44 +0200
committerlat9nq <lat9nq@gmail.com>2022-05-30 16:57:59 +0200
commitb43ae9d5edd0333e004605cef97256699169343d (patch)
tree1ad6b21c3e1a8d55d049cc347d75dd2cc13d9b54 /src
parentyuzu-qt: Attempt to workaround broken Vulkan installations (diff)
downloadyuzu-b43ae9d5edd0333e004605cef97256699169343d.tar
yuzu-b43ae9d5edd0333e004605cef97256699169343d.tar.gz
yuzu-b43ae9d5edd0333e004605cef97256699169343d.tar.bz2
yuzu-b43ae9d5edd0333e004605cef97256699169343d.tar.lz
yuzu-b43ae9d5edd0333e004605cef97256699169343d.tar.xz
yuzu-b43ae9d5edd0333e004605cef97256699169343d.tar.zst
yuzu-b43ae9d5edd0333e004605cef97256699169343d.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/vulkan_common/vulkan_library.cpp4
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