Fix review findings on #2: fence events after held runs, late async results #3
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay--gone-20261126!3
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/3/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TaynanGT on GitHub · 2026-11-25 08:47 UTC · original
TaynanGT:historico/victory-windows-3-head→historico/victory-windows-3-base· +61 −35 · 6 files · 2 commits · merged 2026-11-25 08:47 UTCSummary
Fixes from a code review of #2, pushed after #2 was merged.
release_heldlooked at the events waiting for fences only before it ran what queues held. Without late submissions, a held list's bottom-of-pipe write into a fence then woke nobody until some later submit or signal. A title thread waiting on that event could hang if it was the one that would submit next. The events are looked at again once something ran.pending_with's thread checked that its call was still the block's, then completed by the block's address. A cancel and a newXAsyncBeginon the block in between got the old result. It now completes that call alone (complete_call), its owndoneflag deciding: a cancel sets it, under its lock, before the block is free for another call.heap_bufferswas keyed once per list, so a list that binds a second view heap never ran that heap's pass nor kept its table (a freed table could be read in flight). Keyed per list and heap now.join_placeholdersskips its twoVirtualQueryExcalls for a range inside one 64 KiB granule (the single-page maps of page-mapping copies).victory translateno longer drops a shader named inVICTORY_WAVE_WIDE_ONLYas a duplicate of the same code unnamed.SUBMISSION_UShas its doc back (PREPARE_SPLIT's had been put between them), and the frame line no longer calls the copies part of the deferred steps alone.Not changed (from the same review, minor):
in_place_let_goinshadow.rswalks every loose window below the range's end on each remap.a_cancelled_pending_call_drops_its_late_resultwaits 100 ms for the work thread, so under load it can pass without testing the race.Verification
cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-msvc -- -D warnings, with and without--all-features, passes (cross-checked from Linux).xasync,fence,xmem) run in this PR's CI.Generated by Claude Code
Origem TaynanGT/victory-windows#3, aberto por TaynanGT em 11/25/2026 08:04:53.
Integração original em 11/25/2026 08:05:51, commit 2146f54.
@TaynanGT on GitHub · 2026-11-25 08:47 UTC · original
Comentário original de
chatgpt-codex-connector[bot]em 11/25/2026 08:05:50. Ver original.@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 08:47 UTC · original
To use Codex here, create an environment for this repo.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 08:47 UTC · original
Codex Review Summary: ❌ Failed
This comment shows the latest Codex review activity on this pull request.
We couldn’t complete this review. Comment
@codex reviewto try again.c1b002fWe couldn’t complete this review. Comment
@codex security reviewto try again.c1b002fℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.