diff --git a/src/dxvk/dxvk_device_filter.cpp b/src/dxvk/dxvk_device_filter.cpp index 23d18248..a7546d4b 100644 --- a/src/dxvk/dxvk_device_filter.cpp +++ b/src/dxvk/dxvk_device_filter.cpp @@ -17,10 +17,10 @@ namespace dxvk { bool DxvkDeviceFilter::testAdapter(const VkPhysicalDeviceProperties& properties) const { - if (properties.apiVersion < VK_MAKE_VERSION(1, 3, 0)) { + if (properties.apiVersion < VK_MAKE_API_VERSION(0, 1, 3, 0)) { Logger::warn(str::format("Skipping Vulkan ", - VK_VERSION_MAJOR(properties.apiVersion), ".", - VK_VERSION_MINOR(properties.apiVersion), " adapter: ", + VK_API_VERSION_MAJOR(properties.apiVersion), ".", + VK_API_VERSION_MINOR(properties.apiVersion), " adapter: ", properties.deviceName)); return false; } diff --git a/src/dxvk/dxvk_instance.cpp b/src/dxvk/dxvk_instance.cpp index 76ba78c5..d23a3561 100644 --- a/src/dxvk/dxvk_instance.cpp +++ b/src/dxvk/dxvk_instance.cpp @@ -182,8 +182,8 @@ namespace dxvk { appInfo.pApplicationName = appName.c_str(); appInfo.applicationVersion = flags.raw(); appInfo.pEngineName = "DXVK"; - appInfo.engineVersion = VK_MAKE_VERSION(2, 3, 2); - appInfo.apiVersion = VK_MAKE_VERSION(1, 3, 0); + appInfo.engineVersion = VK_MAKE_API_VERSION(0, 2, 3, 2); + appInfo.apiVersion = VK_MAKE_API_VERSION(0, 1, 3, 0); VkInstanceCreateInfo info = { VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO }; info.pApplicationInfo = &appInfo;