mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-23 06:01:06 +02:00
a/vk: Add VK_KHR_global_priority
This commit is contained in:
1 parent
9d6c29397f
commit
b6803b4bf8
3 files changed
+10
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user