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

Open
BradRoland wants to merge 2 commits from upstream-pr/1204 into main
BradRoland commented 2026-11-25 23:57:06 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by BradRoland on 2026-11-25T23:57:06Z.


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

<!-- greyfinch-sync:fxceless/victory-fork:issue:6616266738 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1204). Originally posted by [BradRoland](https://github.com/BradRoland) on 2026-11-25T23:57:06Z. --- 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://github.com/fxceless/victory-fork/issues/279#issuecomment-7177980457)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1204:upstream-pr/1204'
git switch 'upstream-pr/1204'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1204'
git switch 'upstream-pr/1204'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1204'
git switch 'upstream-pr/1204'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1204'
git switch 'main'
git merge --squash 'upstream-pr/1204'
git switch 'main'
git merge --ff-only 'upstream-pr/1204'
git switch 'main'
git merge 'upstream-pr/1204'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!1201
No description provided.