1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-13 16:08:50 +01:00

[dxvk] Require Vulkan 1.3 adapter

This commit is contained in:
Philip Rebohle 2022-07-14 18:37:28 +02:00
parent 6ac5ca3bff
commit fd15795a0b
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 6 additions and 3 deletions

View File

@ -17,8 +17,11 @@ namespace dxvk {
bool DxvkDeviceFilter::testAdapter(const VkPhysicalDeviceProperties& properties) const {
if (properties.apiVersion < VK_MAKE_VERSION(1, 1, 0)) {
Logger::warn(str::format("Skipping Vulkan 1.0 adapter: ", properties.deviceName));
if (properties.apiVersion < VK_MAKE_VERSION(1, 3, 0)) {
Logger::warn(str::format("Skipping Vulkan ",
VK_VERSION_MAJOR(properties.apiVersion), ".",
VK_VERSION_MINOR(properties.apiVersion), " adapter: ",
properties.deviceName));
return false;
}

View File

@ -129,7 +129,7 @@ namespace dxvk {
appInfo.applicationVersion = 0;
appInfo.pEngineName = "DXVK";
appInfo.engineVersion = VK_MAKE_VERSION(1, 10, 1);
appInfo.apiVersion = VK_MAKE_VERSION(1, 1, 0);
appInfo.apiVersion = VK_MAKE_VERSION(1, 3, 0);
VkInstanceCreateInfo info;
info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;