Integrate GPU stability, shader correctness, and submission improvements #933
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/fxceless--victory-fork!933
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-933"
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?
@tototomate123 on GitHub · 2026-11-25 13:09 UTC · original
tototomate123:integration/rendering-stability-perf→main· +3589 −960 · 30 files · 44 commits · draftEarly review request
Should this land as one integration PR, or would a smaller D3D12 stability and shader correctness batch be easier to review? The draft includes 19 source PRs with their original commits preserved. The latest build passed, and 426 tests passed on retry with 10 ignored. Broader performance validation and the live ray-tracing crash remain open. The ambient approximation stays off by default.
Scope
This integrates 14 open PR heads on top of
0b0074eand retains their original commits for review and attribution. #770 and #905 overlap parts of this work and were useful references.The integration follow-up uses the descriptor snapshot approach from #792 in both scan paths, clamps CBVs before rounding, retains reserved resources named by alias barriers, and carries coherent compute store waits through IR. The lowering tests moved into a child module to keep the parent source within the repository file-size limit.
Validation
cargo test --profile diag -p victory-shader -p victory-gpu --lib --features victory-gpu/diagnostics -- --test-threads=1gave 417 passed and 10 ignored. The final tree also built withcargo build --profile diag -p victory --features diagnostics.VICTORY_BVH_BUILDER=1,VICTORY_BVH_QUARANTINE=0,VICTORY_COPY_PLAIN=1,VICTORY_ASYNC_SUBMIT=1,VICTORY_QUEUE2=1andVICTORY_WIDE_TEXTURES=1created all 53 builder pipelines, then crashed during 3D entry.Follow-up batch
Added #925 (exact copy-back scanning and scratch reuse), #919 and #934 (shader correctness), #871 (oversized mesh-pair specialization and device-removal handling), and #917 (opt-in ambient approximation). The PR now incorporates 19 source PRs.
The diagnostics build and asset policy passed. The serial GPU and shader suites passed on retry with 426 passed and 10 ignored. The initial run exited with an access violation in the profiler stack-walk test.
Both ambient configurations reached the opening 3D cutscene. The log confirmed the approximation at 0.6. In the nighttime arrest sequence, the override produced blown-out skin and retained black facial shadows. With the override off on the same build, the skin retained detail and one face was visibly lit, while the other still had dark shadows. Ambient stays off by default. This was a visual smoke test of nearby shots, and it establishes neither a first-room lighting fix nor a performance gain.
@tototomate123 on GitHub · 2026-11-25 13:31 UTC · original
Hey @fxceless, would you be open to an early scope review of this draft? It integrates 19 source PRs, and I’d like your take on whether a combined PR is useful or whether you’d rather see a smaller first batch focused on D3D12 stability and shader correctness.
The build passed and 426 tests passed on retry, with 10 ignored. The performance result is still preliminary. Live ray tracing still crashes on our Series X test, and the ambient approximation looked worse in the tested cutscene, so it stays off by default. Feedback on the shape of the PR would be especially helpful before I mark it ready.
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.Merge
Merge the changes and update on Forgejo.