vulkan: Add a generated vk_properties struct

Generates a physical device properties table to avoid dealing with pNext
chains in the driver. Based on vk_features.

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24575>
This commit is contained in:
Konstantin Seurer
2023-08-07 19:04:15 +02:00
committed by Marge Bot
parent 0ab0e5d803
commit eaee792ea5
16 changed files with 333 additions and 10 deletions
+1 -1
View File
@@ -1012,7 +1012,7 @@ create_physical_device(struct v3dv_instance *instance,
&dispatch_table, &wsi_physical_device_entrypoints, false);
result = vk_physical_device_init(&device->vk, &instance->vk, NULL, NULL,
&dispatch_table);
NULL, &dispatch_table);
if (result != VK_SUCCESS)
goto fail;