Update vulkan version clamp to 1.4

This commit is contained in:
Pavel Asyutchenko
2025-08-28 22:07:55 +02:00
committed by Baldur Karlsson
parent 9558d25fc4
commit c280fc7230
@@ -84,9 +84,9 @@ void ClampPhysDevAPIVersion(VkPhysicalDeviceProperties *pProperties, VkPhysicalD
}
}
// clamp to highest supported API version, currently vulkan 1.3, because loader no longer does this for us
if(pProperties->apiVersion > VK_API_VERSION_1_3)
pProperties->apiVersion = VK_API_VERSION_1_3;
// clamp to highest supported API version, currently vulkan 1.4, because loader no longer does this for us
if(pProperties->apiVersion > VK_API_VERSION_1_4)
pProperties->apiVersion = VK_API_VERSION_1_4;
}
void WrappedVulkan::PatchImageCreateInfo(VkImageCreateInfo *info, VkFormat *newViewFormatsTempMem)