vkd3d-utils: Support many different surface types when creating a device.

This is nice for the application, which can use our implementation of
D3D12CreateDevice() in more environments, and basically free for us,
because surface creation is still the application's business.
This commit is contained in:
Giovanni Mascellani 2024-01-09 10:44:37 +01:00 committed by Alexandre Julliard
parent 0752e545e4
commit e3fb4e7eac
Notes: Alexandre Julliard 2024-01-09 23:37:41 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/547

View File

@ -70,8 +70,14 @@ HRESULT WINAPI D3D12CreateDeviceVKD3D(IUnknown *adapter, D3D_FEATURE_LEVEL minim
};
static const char * const optional_instance_extensions[] =
{
"VK_KHR_android_surface",
"VK_KHR_wayland_surface",
"VK_KHR_win32_surface",
"VK_KHR_xcb_surface",
"VK_KHR_xlib_surface",
"VK_EXT_metal_surface",
"VK_MVK_macos_surface",
"VK_MVK_ios_surface",
};
static const char * const device_extensions[] =
{