mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
log: add Vulkan header version
This commit is contained in:
parent
6c5c89a4a3
commit
bf2f00a163
2 changed files with 12 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue