log: add Vulkan header version
This commit is contained in:
@@ -38,6 +38,10 @@
|
|||||||
|
|
||||||
#include "Utilities/GDBDebugServer.h"
|
#include "Utilities/GDBDebugServer.h"
|
||||||
|
|
||||||
|
#if defined(_WIN32) || defined(HAVE_VULKAN)
|
||||||
|
#include "Emu/RSX/VK/VulkanAPI.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
cfg_root g_cfg;
|
cfg_root g_cfg;
|
||||||
|
|
||||||
bool g_use_rtm = utils::has_rtm();
|
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());
|
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());
|
LOG_NOTICE(LOADER, "Used configuration:\n%s\n", g_cfg.to_string());
|
||||||
|
|
||||||
// Load patches from different locations
|
// Load patches from different locations
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
<AdditionalIncludeDirectories>..\3rdparty\zlib;..\llvm\include;..\llvm_build\include;</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\3rdparty\zlib;..\llvm\include;..\llvm_build\include;$(VULKAN_SDK)\Include</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Command>%windir%\sysnative\cmd.exe /c "$(SolutionDir)\Utilities\git-version-gen.cmd"</Command>
|
<Command>%windir%\sysnative\cmd.exe /c "$(SolutionDir)\Utilities\git-version-gen.cmd"</Command>
|
||||||
|
|||||||
Reference in New Issue
Block a user