mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-20 01:07:03 +02:00
[vk_query_cache] add soft recover for GetQueryResults=VK_TIMEOUT
This commit is contained in:
parent
ade02528f1
commit
ef4f7a662f
3 changed files with 30 additions and 2 deletions
|
|
@ -16,6 +16,7 @@
|
|||
#include <queue>
|
||||
|
||||
#include "common/common_types.h"
|
||||
#include "common/logging.h"
|
||||
#include "common/settings.h"
|
||||
#include "common/thread.h"
|
||||
#include "video_core/delayed_destruction_ring.h"
|
||||
|
|
@ -214,7 +215,12 @@ private:
|
|||
if (!current_fence->IsStubbed()) {
|
||||
WaitFence(current_fence);
|
||||
}
|
||||
PopAsyncFlushes();
|
||||
try {
|
||||
PopAsyncFlushes();
|
||||
} catch (const std::exception& e) {
|
||||
LOG_CRITICAL(Render_Vulkan, "GPUFencingThread: exception in PopAsyncFlushes: {}", e.what());
|
||||
throw;
|
||||
}
|
||||
for (auto& operation : current_operations) {
|
||||
operation();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue