fix(gpu): scan full dynamic descriptor wraparound window across cursor #9

Closed
github-bot wants to merge 1 commit from gh-pr/9/head into gh-pr/9/base
Owner

@⁠mathcx on GitHub · 2026-11-25 05:08 UTC · original
mathcx:feat/antigravity-autonomous → main · +331 −90 · 1 files · 1 commits · closed without merging

Resumo

  • Corrige o truncamento na varredura circular de slots contíguos no descriptor heap dinâmico (crates/victory-gpu/src/descriptor/host.rs).
  • Restaura a aprovação do teste dynamic_allocation_finds_contiguous_range_crossing_search_cursor.
**@⁠mathcx** on GitHub · 2026-11-25 05:08 UTC · [original](https://github.com/uiliannn/VItoriaBr/pull/9) `mathcx:feat/antigravity-autonomous` → `main` · +331 −90 · 1 files · 1 commits · closed without merging ### Resumo - Corrige o truncamento na varredura circular de slots contíguos no descriptor heap dinâmico (crates/victory-gpu/src/descriptor/host.rs). - Restaura a aprovação do teste dynamic_allocation_finds_contiguous_range_crossing_search_cursor.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:40:40 +00:00
github-bot closed this pull request 2026-11-26 03:40:40 +00:00
Author
Owner

@⁠Yoshi-233 on GitHub · 2026-11-25 06:08 UTC · original

Verified the cross-cursor case on 7c19646 with the allocator methods compiled into a Linux CPU harness. On the full 262,144-slot heap, b8634af returned None for the four free slots at heap indices 14–17. This head returned Some(14), then correctly returned None when asked for one more slot. The physical-end split in your regression was also refused, as expected.

I ran #8's slot-18 fixture against this head as well, and ran your fixture against #8. Both heads passed both fixtures. The same eight-slot exhaustive comparison found zero mismatches on each head. The full results are in my comment on #8. This covers the allocation logic on CPU; D3D12 heap creation and rendering were outside this run.

**@⁠Yoshi-233** on GitHub · 2026-11-25 06:08 UTC · [original](https://github.com/uiliannn/VItoriaBr/pull/9#issuecomment-7154488516) Verified the cross-cursor case on `7c19646` with the allocator methods compiled into a Linux CPU harness. On the full 262,144-slot heap, `b8634af` returned `None` for the four free slots at heap indices 14–17. This head returned `Some(14)`, then correctly returned `None` when asked for one more slot. The physical-end split in your regression was also refused, as expected. I ran #8's slot-18 fixture against this head as well, and ran your fixture against #8. Both heads passed both fixtures. The same eight-slot exhaustive comparison found zero mismatches on each head. The full results are in my comment on #8. This covers the allocation logic on CPU; D3D12 heap creation and rendering were outside this run.
Author
Owner

@⁠uiliannn on GitHub · 2026-11-25 10:10 UTC · original

Obrigado pela contribuição! Esse fix de wraparound no scan de descritores dinâmicos já entrou na main via commit a91ef70 (backport de c1c3281). O seu PR #10 (RDNA2 LDS bounds checks + testes) já foi mergeado na main em ac14e18!

**@⁠uiliannn** on GitHub · 2026-11-25 10:10 UTC · [original](https://github.com/uiliannn/VItoriaBr/pull/9#issuecomment-7159323981) Obrigado pela contribuição! Esse fix de wraparound no scan de descritores dinâmicos já entrou na `main` via commit `a91ef70` (backport de `c1c3281`). O seu PR #10 (RDNA2 LDS bounds checks + testes) já foi mergeado na `main` em `ac14e18`!

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.