log: add Vulkan header version

This commit is contained in:
scribam 2018-05-18 21:37:20 +02:00 committed by kd-11
parent 6c5c89a4a3
commit bf2f00a163
2 changed files with 12 additions and 1 deletions

View file

@ -38,6 +38,10 @@
#include "Utilities/GDBDebugServer.h"
#if defined(_WIN32) || defined(HAVE_VULKAN)
#include "Emu/RSX/VK/VulkanAPI.h"
#endif
cfg_root g_cfg;
bool g_use_rtm = utils::has_rtm();
@ -497,6 +501,13 @@ void Emulator::Load(bool add_only)
g_cfg.from_string(cfg_file.to_string());
}
#if defined(_WIN32) || defined(HAVE_VULKAN)
if (g_cfg.video.renderer == video_renderer::vulkan)
{
LOG_NOTICE(LOADER, "Vulkan SDK Revision: %d", VK_HEADER_VERSION);
}
#endif
LOG_NOTICE(LOADER, "Used configuration:\n%s\n", g_cfg.to_string());
// Load patches from different locations