mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-11 01:24:12 +01:00
[dxvk] Use VK_MAKE_API_VERSION instead of VK_MAKE_VERSION.
The old macro is deprecated.
This commit is contained in:
parent
c1f665f92b
commit
2cb2f8694e
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user