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
@@ -792,7 +792,7 @@ dzn_physical_device_create(struct vk_instance *instance,
VkResult result =
vk_physical_device_init(&pdev->vk, instance,
NULL, NULL, /* We set up extensions later */
NULL, NULL, NULL, /* We set up extensions later */
&dispatch_table);
if (result != VK_SUCCESS) {
vk_free(&instance->alloc, pdev);