From 70b14f9dbf71cd4882d22ad1c15cb892f4569f64 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 7 Nov 2018 21:52:54 +0100 Subject: [PATCH] [dxvk] Report app name to the Vulkan implementation Because why not? --- src/dxvk/dxvk_instance.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_instance.cpp b/src/dxvk/dxvk_instance.cpp index 192b0d788..da88a4975 100644 --- a/src/dxvk/dxvk_instance.cpp +++ b/src/dxvk/dxvk_instance.cpp @@ -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);