[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
1 changed files with 3 additions and 1 deletions

View File

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