mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
a/vk: Track VK_KHR_format_feature_flags2
This commit is contained in:
parent
3dc0415374
commit
b7addee249
|
@ -258,6 +258,7 @@ INSTANCE_EXTENSIONS_TO_CHECK = [
|
|||
DEVICE_EXTENSIONS_TO_CHECK = [
|
||||
"VK_KHR_external_fence_fd",
|
||||
"VK_KHR_external_semaphore_fd",
|
||||
"VK_KHR_format_feature_flags2",
|
||||
"VK_KHR_global_priority",
|
||||
"VK_KHR_image_format_list",
|
||||
"VK_KHR_maintenance1",
|
||||
|
|
|
@ -641,6 +641,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_format_feature_flags2 = false;
|
||||
vk->has_KHR_global_priority = false;
|
||||
vk->has_KHR_image_format_list = false;
|
||||
vk->has_KHR_maintenance1 = false;
|
||||
|
@ -676,6 +677,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_format_feature_flags2)
|
||||
if (strcmp(ext, VK_KHR_FORMAT_FEATURE_FLAGS_2_EXTENSION_NAME) == 0) {
|
||||
vk->has_KHR_format_feature_flags2 = true;
|
||||
continue;
|
||||
}
|
||||
#endif // defined(VK_KHR_format_feature_flags2)
|
||||
|
||||
#if defined(VK_KHR_global_priority)
|
||||
if (strcmp(ext, VK_KHR_GLOBAL_PRIORITY_EXTENSION_NAME) == 0) {
|
||||
vk->has_KHR_global_priority = true;
|
||||
|
|
|
@ -120,6 +120,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_format_feature_flags2;
|
||||
bool has_KHR_global_priority;
|
||||
bool has_KHR_image_format_list;
|
||||
bool has_KHR_maintenance1;
|
||||
|
|
Loading…
Reference in a new issue