mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 14:00:16 +01:00
zink: Advertise PIPE_CAP_NATIVE_FENCE_FD
Enables EGL_ANDROID_native_fence_sync Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17478>
This commit is contained in:
parent
86e4fcd9a9
commit
4e2f6e5b4c
2 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ EXTENSIONS = [
|
|||
Extension("VK_EXT_debug_utils"),
|
||||
Extension("VK_KHR_get_physical_device_properties2"),
|
||||
Extension("VK_KHR_external_memory_capabilities"),
|
||||
Extension("VK_KHR_external_semaphore_capabilities"),
|
||||
Extension("VK_MVK_moltenvk",
|
||||
nonstandard=True),
|
||||
Extension("VK_KHR_surface"),
|
||||
|
|
|
|||
|
|
@ -410,6 +410,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
return screen->instance_info.have_KHR_external_memory_capabilities && (screen->info.have_KHR_external_memory_fd || screen->info.have_KHR_external_memory_win32);
|
||||
case PIPE_CAP_FENCE_SIGNAL:
|
||||
return screen->info.have_KHR_external_semaphore_fd || screen->info.have_KHR_external_semaphore_win32;
|
||||
case PIPE_CAP_NATIVE_FENCE_FD:
|
||||
return screen->instance_info.have_KHR_external_semaphore_capabilities && screen->info.have_KHR_external_semaphore_fd;
|
||||
|
||||
case PIPE_CAP_DEVICE_RESET_STATUS_QUERY:
|
||||
case PIPE_CAP_QUERY_MEMORY_INFO:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue