Lines Matching refs:fences
759 const VkFence *fences, in vn_find_first_signaled_fence() argument
763 VkResult result = vn_GetFenceStatus(device, fences[i]); in vn_find_first_signaled_fence()
771 vn_remove_signaled_fences(VkDevice device, VkFence *fences, uint32_t *count) in vn_remove_signaled_fences() argument
775 VkResult result = vn_GetFenceStatus(device, fences[i]); in vn_remove_signaled_fences()
779 fences[cur++] = fences[i]; in vn_remove_signaled_fences()
822 VkFence *fences = local_fences; in vn_WaitForFences() local
824 fences = in vn_WaitForFences()
825 vk_alloc(alloc, sizeof(*fences) * fenceCount, VN_DEFAULT_ALIGN, in vn_WaitForFences()
827 if (!fences) in vn_WaitForFences()
830 memcpy(fences, pFences, sizeof(*fences) * fenceCount); in vn_WaitForFences()
833 result = vn_remove_signaled_fences(device, fences, &fenceCount); in vn_WaitForFences()
837 if (fences != local_fences) in vn_WaitForFences()
838 vk_free(alloc, fences); in vn_WaitForFences()