Shaders: VICTORY_LDS_MESH_FREE=1 takes every LDS dword as inside in mesh programs, so outputs passed through the rings past the header read back and peds animate #1816

Open
github-bot wants to merge 4 commits from github-bot/gh-1816 into main AGit
Owner

@⁠101Leafy on GitHub · 2026-11-29 00:20 UTC · original
101Leafy:nv/lds-mesh-free → main · +32 −19 · 11 files · 4 commits · open

A mesh program's group gets more LDS on the console than its header's size: the vertex and primitive rings come after the header's part. Under the LDS bounds, outputs the program passes through those rings read back as 0, and peds stand in their bind pose.

VICTORY_LDS_MESH_FREE=1 (off by default): mesh programs take every LDS dword as inside, as with the bounds off. Other stages keep the bounds. The switch is in the shader cache key.

**@⁠101Leafy** on GitHub · 2026-11-29 00:20 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1816) `101Leafy:nv/lds-mesh-free` → `main` · +32 −19 · 11 files · 4 commits · open A mesh program's group gets more LDS on the console than its header's size: the vertex and primitive rings come after the header's part. Under the LDS bounds, outputs the program passes through those rings read back as 0, and peds stand in their bind pose. `VICTORY_LDS_MESH_FREE=1` (off by default): mesh programs take every LDS dword as inside, as with the bounds off. Other stages keep the bounds. The switch is in the shader cache key.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 00:21:40 +00:00
github-bot force-pushed github-bot/gh-1816 from 45147f7319 to 6ff3e48b92 2026-11-29 07:27:02 +00:00 Compare
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 08:28 UTC · original

Thank you! An earlier version of this pull request was merged into main with its original commits and is part of v2026.11.29.01, where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.

**@⁠trustno1-coder** on GitHub · 2026-11-29 08:28 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1816#issuecomment-7253127715) Thank you! An earlier version of this pull request was merged into main with its original commits and is part of [v2026.11.29.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.01), where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/host.rs
  • crates/victory-gpu/src/host/send.rs
  • crates/victory-gpu/src/pool.rs
  • crates/victory-gpu/src/residency.rs
  • crates/victory-gpu/src/resource.rs
  • crates/victory-gpu/src/shader_cache.rs
  • crates/victory-shader/src/emit/lower.rs
  • docs/asset-policy.md
  • xtask/src/policy.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/1816/head:github-bot/gh-1816'
git switch 'github-bot/gh-1816'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1816'
git switch 'github-bot/gh-1816'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1816'
git switch 'github-bot/gh-1816'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1816'
git switch 'main'
git merge --squash 'github-bot/gh-1816'
git switch 'main'
git merge --ff-only 'github-bot/gh-1816'
git switch 'main'
git merge 'github-bot/gh-1816'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1816
No description provided.