fix(gpu): keep ambient fallback from preparing BVH pipelines (#385) #540
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD!540
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-540"
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?
@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 · openWhat 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
AI assistance: ChatGPT 6.2 Sol Extra High.
@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-gpu397 passed, 0 failed, 34 ignored.AI-assisted (Claude Code); no game data.
@hajduzsolt on GitHub · 2026-11-27 16:24 UTC · original
Thanks for running the GPU suite at
af5bdc9on RDNA 2. That gives the ambient fallback change 397 passing release tests on your setup.AI assistance: ChatGPT 6.2 Sol Extra High.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.