upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 21:28:04 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 21:28:04 -0500
commit861bb0546e0fa11f22b6550e576fa21ed9b445b5 (patch)
tree5d4340ac65980a502c2b98e8af114b2417a2371f /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parent7d38eee1163a8a825cc2506b2e931c5313f45014 (diff)
d3d12: reap a retired geometry view only after the replays that may name it
drain_geometry_releases retired released views at submitted_retire_ticket(), read in before_execute_. The submission about to run records its own ticket only after that, so it was not covered, and with an idle GPU (completed == submitted) drain_released reaped the view in the same call, before the lists recorded against it ran. A sparse bind in the same replay or another queue's replay can take tickets in between, so submitted + 1 is not enough either. - VulkanContext::set_after_execute: called at the end of every replay that called before_execute_, however it returns, once its submissions are recorded. - GeometryViews::execute_begin/execute_end track the replays in progress. A view retired at kAfterExecutes takes the serial of the last replay begun once it is unreachable, and gets its ticket (submitted_retire_ticket(), read under the views' lock) only when every replay up to that serial has ended. - before_execute_ drains before refresh_shadows(), so this submission's console heap slots are never translated to a view retired in the same call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions