mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-27 09:01:46 +00:00
a/vk: Add VK_KHR_global_priority
This commit is contained in:
parent
9d6c29397f
commit
b6803b4bf8
|
@ -255,6 +255,7 @@ INSTANCE_EXTENSIONS_TO_CHECK = [
|
|||
DEVICE_EXTENSIONS_TO_CHECK = [
|
||||
"VK_KHR_external_fence_fd",
|
||||
"VK_KHR_external_semaphore_fd",
|
||||
"VK_KHR_global_priority",
|
||||
"VK_KHR_image_format_list",
|
||||
"VK_KHR_maintenance1",
|
||||
"VK_KHR_maintenance2",
|
||||
|
|
|
@ -605,6 +605,7 @@ fill_in_has_device_extensions(struct vk_bundle *vk, struct u_string_list *ext_li
|
|||
// Reset before filling out.
|
||||
vk->has_KHR_external_fence_fd = false;
|
||||
vk->has_KHR_external_semaphore_fd = false;
|
||||
vk->has_KHR_global_priority = false;
|
||||
vk->has_KHR_image_format_list = false;
|
||||
vk->has_KHR_maintenance1 = false;
|
||||
vk->has_KHR_maintenance2 = false;
|
||||
|
@ -637,6 +638,13 @@ fill_in_has_device_extensions(struct vk_bundle *vk, struct u_string_list *ext_li
|
|||
}
|
||||
#endif // defined(VK_KHR_external_semaphore_fd)
|
||||
|
||||
#if defined(VK_KHR_global_priority)
|
||||
if (strcmp(ext, VK_KHR_GLOBAL_PRIORITY_EXTENSION_NAME) == 0) {
|
||||
vk->has_KHR_global_priority = true;
|
||||
continue;
|
||||
}
|
||||
#endif // defined(VK_KHR_global_priority)
|
||||
|
||||
#if defined(VK_KHR_image_format_list)
|
||||
if (strcmp(ext, VK_KHR_IMAGE_FORMAT_LIST_EXTENSION_NAME) == 0) {
|
||||
vk->has_KHR_image_format_list = true;
|
||||
|
|
|
@ -119,6 +119,7 @@ struct vk_bundle
|
|||
// beginning of GENERATED device extension code - do not modify - used by scripts
|
||||
bool has_KHR_external_fence_fd;
|
||||
bool has_KHR_external_semaphore_fd;
|
||||
bool has_KHR_global_priority;
|
||||
bool has_KHR_image_format_list;
|
||||
bool has_KHR_maintenance1;
|
||||
bool has_KHR_maintenance2;
|
||||
|
|
Loading…
Reference in a new issue