fix(gpu): keep ambient fallback from preparing BVH pipelines (#385) #540

Open
github-bot wants to merge 1 commit from github-bot/gh-540 into a-publier AGit
Owner

@⁠hajduzsolt on GitHub · 2026-11-27 10:31 UTC · original
hajduzsolt:fix/issue-385-ambient-builder-probe → a-publier · +55 −7 · 2 files · 1 commits · open

What changes

The ambient-light fallback now reads whether the native ray-tracing builder has a complete set of host pipelines for this frame. Previously that lookup also ran the builder's pipeline preparation. With native ray tracing enabled and a cold driver cache, evaluating the fallback from the screen-probe dispatch could start synchronous BVH pipeline compilation before any builder dispatch.

The first actual builder dispatch still prepares the full set. The fallback remains available while the builder is disabled, incomplete, or resting after a dropped stage.

This ports the ambient readiness change from @⁠notquiteog's offered branch in #385 (source commit). It covers the readiness lookup. The RX 9070 XT benefit is avoiding a compile triggered by the ambient pass on an opt-in ray-tracing run. In-game timing was not measured.

Verification

  • Windows locked/offline workspace check and strict Clippy with default and all features passed.
  • The asset-policy check and the builder readiness regression test passed. The two workspace test runs reproduced the base failures in the HLE loopback test and the shader test process (0xc0000005).

AI assistance: ChatGPT 6.2 Sol Extra High.

**@⁠hajduzsolt** on GitHub · 2026-11-27 10:31 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/540) `hajduzsolt:fix/issue-385-ambient-builder-probe` → `a-publier` · +55 −7 · 2 files · 1 commits · open ## What changes The ambient-light fallback now reads whether the native ray-tracing builder has a complete set of host pipelines for this frame. Previously that lookup also ran the builder's pipeline preparation. With native ray tracing enabled and a cold driver cache, evaluating the fallback from the screen-probe dispatch could start synchronous BVH pipeline compilation before any builder dispatch. The first actual builder dispatch still prepares the full set. The fallback remains available while the builder is disabled, incomplete, or resting after a dropped stage. This ports the ambient readiness change from @⁠notquiteog's offered branch in #385 ([source commit](https://github.com/notquiteog/victory-nvidia/commit/ff87d849a23acd83da175e27421a610d56c1096a)). It covers the readiness lookup. The RX 9070 XT benefit is avoiding a compile triggered by the ambient pass on an opt-in ray-tracing run. In-game timing was not measured. ## Verification - Windows locked/offline workspace check and strict Clippy with default and all features passed. - The asset-policy check and the builder readiness regression test passed. The two workspace test runs reproduced the base failures in the HLE loopback test and the shader test process (0xc0000005). AI assistance: ChatGPT 6.2 Sol Extra High.
Adapt the ambient readiness change by notquiteog from ff87d849a23acd83da175e27421a610d56c1096a (notquiteog/victory-nvidia). The builder dispatch still prepares the complete set.

AI assistance: ChatGPT 6.2 Sol Extra High.

Co-authored-by: notquiteog <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 10:41:21 +00:00
Author
Owner

@⁠MamaLeVrai on GitHub · 2026-11-27 15:56 UTC · original

Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At af5bdc9: victory-gpu 397 passed, 0 failed, 34 ignored.

AI-assisted (Claude Code); no game data.

**@⁠MamaLeVrai** on GitHub · 2026-11-27 15:56 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/540#issuecomment-7222670586) Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At `af5bdc9`: `victory-gpu` 397 passed, 0 failed, 34 ignored. AI-assisted (Claude Code); no game data.
Author
Owner

@⁠hajduzsolt on GitHub · 2026-11-27 16:24 UTC · original

Thanks for running the GPU suite at af5bdc9 on RDNA 2. That gives the ambient fallback change 397 passing release tests on your setup.

AI assistance: ChatGPT 6.2 Sol Extra High.

**@⁠hajduzsolt** on GitHub · 2026-11-27 16:24 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/540#issuecomment-7223215524) Thanks for running the GPU suite at `af5bdc9` on RDNA 2. That gives the ambient fallback change 397 passing release tests on your setup. AI assistance: ChatGPT 6.2 Sol Extra High.
This pull request can be merged automatically.
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/540/head:github-bot/gh-540'
git switch 'github-bot/gh-540'

Merge

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