Show which material texture slots fall outside the static host mirror #1204

Open
github-bot wants to merge 2 commits from github-bot/gh-1204 into main AGit
Owner

@⁠BradRoland on GitHub · 2026-11-25 23:57 UTC · original
BradRoland:codex/show-mirrored-descriptor-range → main · +62 −9 · 3 files · 2 commits · open

The character-material investigation in #279 uses frame-shot null annotations to investigate descriptor heap truncation. The short root-word printer asks describe_slot about each value it interprets as an index. Its null result is available only for an index inside the static mirror. For a material slot above the mirror the detailed ~slot line previously printed host=[none], which also covered missing view metadata.

The heap creation warning now gives the requested, mirrored and unmirrored counts and where the dynamic range starts. Detailed material lines mark an index outside the mirror explicitly. The diagnostics README explains how to select a shader for these lines. The renderer can rebuild descriptor tables in dynamic slots, and a material-record word that names a texture still needs evidence of a shader sample.

I tested the same synthetic 1,245,184-slot title heap on an RTX 4080 and WARP. With the 1,000,000-slot physical heap, slot 737,854 printed host=[null] and 737,855, 999,999 and 1,245,183 printed host=[outside static mirror (737855 slots)]. WARP accepted the larger heap size and reported null for all four empty in-range slots. I exercised the actual State::slot_line formatter on both. All 29 descriptor tests passed, including the new boundary test. Character rendering still needs a gameplay capture. Reporter’s measurements

**@⁠BradRoland** on GitHub · 2026-11-25 23:57 UTC · [original](https://github.com/fxceless/victory-fork/pull/1204) `BradRoland:codex/show-mirrored-descriptor-range` → `main` · +62 −9 · 3 files · 2 commits · open The character-material investigation in #279 uses frame-shot null annotations to investigate descriptor heap truncation. The short root-word printer asks `describe_slot` about each value it interprets as an index. Its `null` result is available only for an index inside the static mirror. For a material slot above the mirror the detailed `~slot` line previously printed `host=[none]`, which also covered missing view metadata. The heap creation warning now gives the requested, mirrored and unmirrored counts and where the dynamic range starts. Detailed material lines mark an index outside the mirror explicitly. The diagnostics README explains how to select a shader for these lines. The renderer can rebuild descriptor tables in dynamic slots, and a material-record word that names a texture still needs evidence of a shader sample. I tested the same synthetic 1,245,184-slot title heap on an RTX 4080 and WARP. With the 1,000,000-slot physical heap, slot 737,854 printed `host=[null]` and 737,855, 999,999 and 1,245,183 printed `host=[outside static mirror (737855 slots)]`. WARP accepted the larger heap size and reported `null` for all four empty in-range slots. I exercised the actual `State::slot_line` formatter on both. All 29 descriptor tests passed, including the new boundary test. Character rendering still needs a gameplay capture. [Reporter’s measurements](https://git.gtahub.st/github/fxceless--victory-fork/issues/279)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:59:28 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/descriptor/host.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1204/head:github-bot/gh-1204'
git switch 'github-bot/gh-1204'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1204'
git switch 'github-bot/gh-1204'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1204'
git switch 'github-bot/gh-1204'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1204'
git switch 'main'
git merge --squash 'github-bot/gh-1204'
git switch 'main'
git merge --ff-only 'github-bot/gh-1204'
git switch 'main'
git merge 'github-bot/gh-1204'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.