diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-29 11:15:48 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-29 20:49:48 -0400 |
| commit | 00c059cd39f4fd9d1244345d6727a171acec4f86 (patch) | |
| tree | 1da835c61e81dac8fe77769b922431850ba0cd84 /src/video_core/control/scheduler.cpp | |
| parent | 24d3a1dbb3f2bb6dc5b8a515c1be1f7bad956b4b (diff) | |
vulkan: never flush the scheduler from the async present thread
Swapchain::AcquireNextImage waits for the main scheduler's tick of the
image's last use; when that tick was not submitted yet, Scheduler::Wait
flushed, recording into the current chunk on the present thread while
the GPU thread recorded into it too (corrupt command buffers, crashes
in vkCmdEndRenderPass and in CommandChunk::Record). With async
presentation the present thread now waits up to 20 ms for the
recording thread to submit the tick, and goes on without the wait
otherwise (the copy to the swapchain has its own fences).
Diffstat (limited to 'src/video_core/control/scheduler.cpp')
0 files changed, 0 insertions, 0 deletions
