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:
parent
6ac5ca3bff
commit
fd15795a0b
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user