zink: allow vk 1.2 timelineSemaphore feature if extension isn't supported

this is a weird case but whatever

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22760>
(cherry picked from commit e205a4839b)
This commit is contained in:
Mike Blumenkrantz 2023-04-28 09:50:28 -04:00 committed by Dylan Baker
parent 080aa11fbc
commit c2435ea929
2 changed files with 2 additions and 2 deletions

View File

@ -4634,7 +4634,7 @@
"description": "zink: allow vk 1.2 timelineSemaphore feature if extension isn't supported",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View File

@ -2548,7 +2548,7 @@ zink_internal_create_screen(const struct pipe_screen_config *config)
}
zink_internal_setup_moltenvk(screen);
if (!screen->info.have_KHR_timeline_semaphore) {
if (!screen->info.have_KHR_timeline_semaphore && !screen->info.feats12.timelineSemaphore) {
mesa_loge("zink: KHR_timeline_semaphore is required");
goto fail;
}