Ignore padding in placed view keys #44
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
reviewed
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Slaktarn700--SlaktarnVI!44
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-44"
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?
@BottyIvan on GitHub · 2026-12-01 22:17 UTC · original
BottyIvan:proposal/placed-view-padding→main· +108 −8 · 3 files · 1 commits · closed without mergingReuse the resource padding rule for placed-view records and ignore alignment padding in SRV descriptions while retaining the corresponding meaningful UAV word. VICTORY_PLACED_FILLER=1 keeps these fields for comparison.
Validation: Windows-target victory check passed. The Proton descriptor suite passed 14 tests in each of five configurations: default, inline disabled, placed filler kept, view filler blanked, and inline disabled with placed filler kept. The resource-padding reduction test deliberately skips when preservation is enabled. Offset assertions distinguish SRV and UAV union layouts.
Observed on an earlier combined diagnostic build: a short run reported 35,431 placed shapes versus 134,502 in an earlier run with different scene and settings. This is not a controlled comparison or a measurement of this isolated branch. Geometric glitches persisted; an earlier long run experienced OOM. No claim is made that this change fixes glitches, crashes, OOM or performance; a controlled long in-game test is still needed.
@Slaktarn700 on GitHub · 2026-12-05 03:25 UTC · original
Thank you. Since 2026-12-02 main is on a new base (VIctory-xmem), and the files this changes are not there anymore, so it cannot merge as it is. If the same idea helps on the new base, a new pull request against main is welcome.
@Slaktarn700 on GitHub · 2026-12-05 05:01 UTC · original
Thank you. The new base (VIctory-xmem, on main since 2026-12-02) does the same in
shape_of(crates/victory-gpu/src/descriptor.rs): the resource description's two padding words are cleared, and for shader-resource views the alignment padding word too, while unordered-access views keep it, as you found. So there is nothing left to merge, and this no longer applies to the new files. Closing as done.Pull request closed