From bf2f00a163e6064466c95b54503c439c785c300f Mon Sep 17 00:00:00 2001 From: scribam Date: Fri, 18 May 2018 21:37:20 +0200 Subject: [PATCH] log: add Vulkan header version --- rpcs3/Emu/System.cpp | 11 +++++++++++ rpcs3/emucore.vcxproj | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 7164318477..1e3d26b5d5 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -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 diff --git a/rpcs3/emucore.vcxproj b/rpcs3/emucore.vcxproj index 61ead03e43..80363d4dea 100644 --- a/rpcs3/emucore.vcxproj +++ b/rpcs3/emucore.vcxproj @@ -61,7 +61,7 @@ Use - ..\3rdparty\zlib;..\llvm\include;..\llvm_build\include; + ..\3rdparty\zlib;..\llvm\include;..\llvm_build\include;$(VULKAN_SDK)\Include %windir%\sysnative\cmd.exe /c "$(SolutionDir)\Utilities\git-version-gen.cmd"