Ignore padding in placed view keys #44

Open
BottyIvan wants to merge 1 commit from upstream-pr/44 into main
BottyIvan commented 2026-12-01 22:17:15 +00:00 (Migrated from github.com)

Imported from Slaktarn700/SlaktarnVI. Originally posted by BottyIvan on 2026-12-01T22:17:15Z.


Reuse 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.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:issue:5595588500 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/pull/44). Originally posted by [BottyIvan](https://github.com/BottyIvan) on 2026-12-01T22:17:15Z. --- Reuse 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.
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/44:upstream-pr/44'
git switch 'upstream-pr/44'

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/44'
git switch 'upstream-pr/44'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/44'
git switch 'upstream-pr/44'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/44'
git switch 'main'
git merge --squash 'upstream-pr/44'
git switch 'main'
git merge --ff-only 'upstream-pr/44'
git switch 'main'
git merge 'upstream-pr/44'
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
Slaktarn700/SlaktarnVI!44
No description provided.