mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 05:05:44 +00:00
Clamp vulkan physical devices to highest supported version
This commit is contained in:
@@ -81,6 +81,10 @@ void ClampPhysDevAPIVersion(VkPhysicalDeviceProperties *pProperties, VkPhysicalD
|
||||
pProperties->apiVersion = VK_API_VERSION_1_2;
|
||||
}
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
void WrappedVulkan::vkGetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice,
|
||||
|
||||
Reference in New Issue
Block a user