1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[dxvk] Report app name to the Vulkan implementation

Because why not?
This commit is contained in:
Philip Rebohle 2018-11-07 21:52:54 +01:00
parent f32aff29fa
commit 70b14f9dbf
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -62,10 +62,12 @@ namespace dxvk {
Logger::info("Enabled instance extensions:"); Logger::info("Enabled instance extensions:");
this->logNameList(extensionNameList); this->logNameList(extensionNameList);
std::string appName = env::getExeName();
VkApplicationInfo appInfo; VkApplicationInfo appInfo;
appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO; appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
appInfo.pNext = nullptr; appInfo.pNext = nullptr;
appInfo.pApplicationName = nullptr; appInfo.pApplicationName = appName.c_str();
appInfo.applicationVersion = 0; appInfo.applicationVersion = 0;
appInfo.pEngineName = "DXVK"; appInfo.pEngineName = "DXVK";
appInfo.engineVersion = VK_MAKE_VERSION(0, 9, 1); appInfo.engineVersion = VK_MAKE_VERSION(0, 9, 1);