Main green again: unwind_copy only with diagnostics, the lane-read GPU test returns with no hardware device #2019
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2019
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2019"
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?
@101Leafy on GitHub · 2026-11-29 07:36 UTC · original
101Leafy:nv/readlane-no-gpu→main· +9 −13 · 5 files · 5 commits · openMain's
checkfails on clippy before any test runs:function unwind_copy is never usedin crates/victory-loader/src/crash.rs. Its only caller is the stack sampler in stacks.rs, which is built with the diagnostics feature only, so the plain clippy step sees a dead function. It now carries#[cfg(feature = "diagnostics")]too. Nothing changes in either build.nv05d1_native_readlane_gpu_reference panicked on runners with no GPU ("NV05D1 requires hardware GPU readback"). It now returns when there is no device, the same as the other tests in wave64_tests.rs. With a GPU it runs and checks as before.
The checked_div half of the earlier version is in main already, so it dropped out with the merge. With this in, every open PR rebased on main can go green again.
Shader tests: the lane-read reference returns with no hardware device, like the other GPU teststo Main green again: the lane-read GPU test returns with no hardware device, and the half-meet cap uses checked_div@ANDREANIADS on GitHub · 2026-11-29 07:43 UTC · original
The
returnadded inde0bbd4exits the seven-case loop on the first missing readback. In the earlier control-flow reproduction, only the first case reached IR/lowering. The remaining six also miss optional DXIL validation.Could all seven CPU checks run on a runner without a suitable device, with an explicit skip for the hardware comparison?
dispatched_wordsalso returnsNonewhen an initialized device rejects pipeline creation. Reporting that error with its wave/lane would preserve the hardware check. A no-device fixture could assert seven CPU cases and zero readback comparisons.Main green again: the lane-read GPU test returns with no hardware device, and the half-meet cap uses checked_divto Main green again: unwind_copy only with diagnostics, the lane-read GPU test returns with no hardware devicegithub-bot referenced this pull request2026-11-29 09:55:55 +00:00
@Yoshi-233 on GitHub · 2026-11-29 10:20 UTC · original
I reproduced the loader failure on main at
829188e96. Applying the full diff of this PR at8c57474dcclearsunwind_copyand lets the default check reachvictory-gpu. The Windows job for this PR reports 28 library diagnostics and 25 for the test build, with overlap.I also checked main and the exact Actions merge commits for #1995, #2138 and #2156. Each had its own initially empty Cargo target directory. I used Rust 1.98.1 from WSL, targeting
x86_64-pc-windows-msvc, withcargo clippy --workspace --all-targets --locked --keep-goingand-D warnings.For each row the four checkouts matched by lint, message and source location, including the repeated reports from the test build. In the default row, 16 of the 30 are unused items. In the all-features build #2048 also clears the missing
mbhelper and shadowedtimingcalls. The remaining diagnostics give a separate list to work through after the loader fix.github-bot referenced this pull request2026-11-29 13:44:39 +00:00
@fainty0 on GitHub · 2026-11-29 14:45 UTC · original · requested changes
Review: Request changes
The early return in
crates/victory-shader/src/emit/wave64_tests.rs:2665hides pipeline creation failures and skips six headless cases. Please run all seven lowering checks and skip only the readback on confirmed unsupported hardware. The diagnostics gating ofunwind_copyincrates/victory-loader/src/crash.rs:804is correct without suppression. No style or asset-policy concerns.Compared with the alternatives: #1290 has a merge conflict, a missing trait import and a policy regression; #1566 has five conflicts and adds nothing once merged. I'd take this PR over both once the skip is narrowed.
Windows Clippy: main fails both gates; this PR fixes the five named lints and adds no new diagnostics. Windows tests not run (no Windows).
github-bot referenced this pull request2026-11-29 15:14:11 +00:00
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.