perf(gpu/memory): targeted frame-boundary sync for BVH compacted-size queries (#339) #343
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/343"
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?
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T14:36:54Z.
Phase 1c of #339 — Eliminates the ~20 ms/frame full-pipeline stall of legacy \VICTORY_BVH_SIZES_WAIT=1\ while synchronizing dynamic BVH compacted-size readback queries without starving subsequent draw submissions:
Changes
elay() is enabled, waits only until FINISHED >= target_flight (keeping later draw submissions and late_free_present() in flight rather than draining line.line).
Audit Note: \lobomfz/VIctory-xmem\ (\VICTORY_BVH_HARDWARE)
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T15:04:11Z.
Holding merge (
triage: needs work) per deep static audit routing (#282comment7349410307, P0/P1 findings #13, #14, #16, #17 routed to#339). Please resolve the flagged findings, re-verify CI, and run a paired plain---releaseRT-off A/B +--features diagnosticsPNG check before merge.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T15:05:21Z.
Automated triage for the maintainers (not an approval).
Verdict:
needs-rebase· CI (check):passingThis PR no longer merges cleanly into
main.To change the verdict: Rebase onto current
mainand resolve conflicts; CI and triage will run again automatically.Generated with Antigravity CLI (
agy).Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T16:29:04Z.
Rebased onto \main\ (\
80d3ff4) and resolved #282\ P1 finding #17 (plus the \ehind.rs\ and \memory.rs\ triage notes):ote_queued_sizes(&jobs)\ (publishing \SIZES_QUEUED) before incrementing \THIN_SIZES_DONE, and \has_pending_sizes()\ loads \THIN_SIZES_DONE\ before \SIZES_QUEUED.
Verified (\VICTORY_D3D12_WARP=1): \list::thin::tests\ (\13 passed; 0 failed), \queue::behind::tests\ (\9 passed; 0 failed), \quiet::tests\ (\8 passed; 0 failed), \host::sizes::tests\ (\2 passed; 0 failed), \memory::tests\ (\10 passed; 0 failed), workspace \clippy --all-targets\ (normal & --all-features), and \xtask policy --staged\ (\5 files ok). Ready for CI and maintainer GPU check.
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T19:37:23Z.
Deep Static Logic Audit Pass #3 (
#282comment7355749301) signed off6b9c8435as VERIFIED CLEAN (Green Light) — Pass #1 Finding#17is cleanly resolved. Rebase onto currentmainto resolve merge conflicts and pass CI, and this is ready to merge immediately.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T22:33:10Z.
Rebased cleanly onto
main(a0ba51f8), Deep Static Audit Pass #3 & Pass #4 verified clean (Pass #1#17resolved), CI GREEN. Merging#339Phase 1c targeted frame-boundary sync for BVH compacted-size queries tomain.