Skip to content

In the Vulkan API, the timeout parameter of vkWaitForFences is of typ… #1328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions framework/fence_pool.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2019-2023, Arm Limited and Contributors
/* Copyright (c) 2019-2025, Arm Limited and Contributors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -66,7 +66,7 @@ VkFence FencePool::request_fence()
return fences.back();
}

VkResult FencePool::wait(uint32_t timeout) const
VkResult FencePool::wait(uint64_t timeout) const
{
if (active_fence_count < 1 || fences.empty())
{
Expand Down
4 changes: 2 additions & 2 deletions framework/fence_pool.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2019-2020, Arm Limited and Contributors
/* Copyright (c) 2019-2025, Arm Limited and Contributors
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -40,7 +40,7 @@ class FencePool

VkFence request_fence();

VkResult wait(uint32_t timeout = std::numeric_limits<uint32_t>::max()) const;
VkResult wait(uint64_t timeout = std::numeric_limits<uint64_t>::max()) const;

VkResult reset();

Expand Down
Loading