[dxvk] Require VK_KHR_get_physical_device_properties2

We have to enable this extension in order to be able to use
VK_EXT_vertex_attribute_divisor without validation errors.
This commit is contained in:
Philip Rebohle 2018-07-11 15:51:43 +02:00
parent 22bb4391ba
commit cc4b53db43
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 14 additions and 13 deletions

View File

@ -149,6 +149,7 @@ namespace dxvk {
* used by DXVK if supported by the implementation.
*/
struct DxvkInstanceExtensions : public DxvkExtensionList {
DxvkExtension khrGetPhysicalDeviceProperties2 = { this, VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, DxvkExtensionType::Required };
DxvkExtension khrSurface = { this, VK_KHR_SURFACE_EXTENSION_NAME, DxvkExtensionType::Required };
DxvkExtension khrWin32Surface = { this, VK_KHR_WIN32_SURFACE_EXTENSION_NAME, DxvkExtensionType::Required };
};