mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-15 11:25:13 +00:00
vk_resource_pool: Handle eErrorFragmentedPool. (#2071)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
This commit is contained in:
parent
7cdeb51670
commit
fb67d948b6
|
@ -153,7 +153,8 @@ vk::DescriptorSet DescriptorHeap::Commit(vk::DescriptorSetLayout set_layout) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// The pool has run out. Record current tick and place it in pending list.
|
// The pool has run out. Record current tick and place it in pending list.
|
||||||
ASSERT_MSG(result == vk::Result::eErrorOutOfPoolMemory,
|
ASSERT_MSG(result == vk::Result::eErrorOutOfPoolMemory ||
|
||||||
|
result == vk::Result::eErrorFragmentedPool,
|
||||||
"Unexpected error during descriptor set allocation {}", vk::to_string(result));
|
"Unexpected error during descriptor set allocation {}", vk::to_string(result));
|
||||||
pending_pools.emplace_back(curr_pool, master_semaphore->CurrentTick());
|
pending_pools.emplace_back(curr_pool, master_semaphore->CurrentTick());
|
||||||
if (const auto [pool, tick] = pending_pools.front(); master_semaphore->IsFree(tick)) {
|
if (const auto [pool, tick] = pending_pools.front(); master_semaphore->IsFree(tick)) {
|
||||||
|
|
Loading…
Reference in a new issue