Fix Windows shader warm-up, wave permutes, and BVH residency #90

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

@⁠Lkxex on GitHub · 2026-11-25 22:24 UTC · original
Lkxex:fix/windows-render-vitoria → main · +385 −119 · 10 files · 2 commits · open

What changes

  • Detect the runtime adapter's wave width and descriptor heap limit before warming the shader cache.
  • Preserve pending pipeline cache writes across I/O failures and prevent an older pending file from superseding a newer save.
  • Keep backward lane permutes inside each 32-lane half as specified by AMD RDNA2 §10.4.4, including when a console wave64 is run as two host waves. Inactive sources return zero.
  • Return the appropriate BVH miss for missing node pages and skip the second directory lookup when a wide box stays inside one page.

Tested

Windows x64 diagnostics build and the synthetic BVH GPU regression using the runtime page-table bindings. The source implementation was also exercised in wave32 and wave64 on an RX 6600.

Not tested

In-game lighting, stability, and frame rate.

AI use

Codex (GPT-6.2 Sol) assisted with implementation and tests.

**@⁠Lkxex** on GitHub · 2026-11-25 22:24 UTC · [original](https://github.com/uiliannn/VItoriaBr/pull/90) `Lkxex:fix/windows-render-vitoria` → `main` · +385 −119 · 10 files · 2 commits · open ## What changes - Detect the runtime adapter's wave width and descriptor heap limit before warming the shader cache. - Preserve pending pipeline cache writes across I/O failures and prevent an older pending file from superseding a newer save. - Keep backward lane permutes inside each 32-lane half as specified by AMD RDNA2 §10.4.4, including when a console wave64 is run as two host waves. Inactive sources return zero. - Return the appropriate BVH miss for missing node pages and skip the second directory lookup when a wide box stays inside one page. ## Tested Windows x64 diagnostics build and the synthetic BVH GPU regression using the runtime page-table bindings. The source implementation was also exercised in wave32 and wave64 on an RX 6600. ## Not tested In-game lighting, stability, and frame rate. ## AI use Codex (GPT-6.2 Sol) assisted with implementation and tests.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:43:41 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

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