Lines Matching refs:sync
270 .sync = vk_fence_get_active_sync(fence),
324 * differently, there can only be one OPAQUE_FD sync type.
360 struct vk_sync *temporary = NULL, *sync;
370 sync = temporary;
372 sync = &fence->permanent;
374 assert(handle_type & vk_sync_fence_handle_types(sync->type));
379 result = vk_sync_import_opaque_fd(device, sync, fd);
383 result = vk_sync_import_sync_file(device, sync, fd);
426 struct vk_sync *sync = vk_fence_get_active_sync(fence);
431 result = vk_sync_export_opaque_fd(device, sync, pFd);
438 * semaphore export apply. We can't export a sync file from a fence
442 result = vk_sync_wait(device, sync, 0,
449 result = vk_sync_export_sync_file(device, sync, pFd);
461 * In other words, exporting a sync file also resets the fence. We
465 if (sync == &fence->permanent) {
466 result = vk_sync_reset(device, sync);