vulkan: introduce supported_features parameter to vk_physical_device_init

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22333>
This commit is contained in:
Constantine Shablya
2023-04-07 05:51:02 +03:00
committed by Marge Bot
parent cc02214304
commit 61413d70a0
12 changed files with 27 additions and 16 deletions

View File

@@ -2173,7 +2173,7 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
vk_physical_device_dispatch_table_from_entrypoints(&dispatch_table,
&wsi_physical_device_entrypoints, false);
result = vk_physical_device_init(&device->vk, &instance->vk, NULL, &dispatch_table);
result = vk_physical_device_init(&device->vk, &instance->vk, NULL, NULL, &dispatch_table);
if (result != VK_SUCCESS) {
goto fail_alloc;
}