diff options
| author | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 22:20:36 +0100 |
|---|---|---|
| committer | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 22:20:36 +0100 |
| commit | 48cee7c2c69e502cc864b0789a9cf5bb88e98658 (patch) | |
| tree | 52fd1d94d86ee5fe479111579e48c696e18d42cf /runtime/shims/d3d12_com.cpp | |
| parent | 0d75876278a3f6b238a8667cf42c66cf1ae1d99a (diff) | |
Queue holds: second review fixes (claim after submit, presenter locking and bound, teardown pump, tests)
- A Signal counts as submitted only after vkQueueSubmit succeeded: a failed submit releases no waiter and the retry goes through.
- ~VulkanQueue pumps after dropping held work; fence keep-alives are also drained in wait() and marker().
- VulkanPresenter: counters are atomics, read_back/enable_capture take the presenter mutex, set_abort has its own mutex,
a deferred present reports not tearing, and at most 8 presents queue up before the caller waits.
- Tests: three presents (blit, blank, composed) queued behind held work run in order, a present behind a destroyed
queue's held work runs, a failed Signal does not release its waiters; the handover modes also run on the host runtime.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/d3d12_com.cpp')
0 files changed, 0 insertions, 0 deletions