test(shader): cover split-wave FP64 sums with masked poison #831
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!831
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-831"
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?
@GeaorgeAyvazov on GitHub · 2026-11-25 09:39 UTC · original
GeaorgeAyvazov:test/fp64-split-wave-poison→main· +284 −0 · 1 files · 1 commits · openSummary
Test-only coverage for FP64 reductions when a console wave64 is lowered onto two host wave32s. No production lowering, descriptor, loader, cache or runtime behavior changes.
offen, byte offset4 * thread_index, and the store-address SSA producer.The reduction sequence adapts the existing upstream synthetic fixture
valu_tests::whole_wave_f64_sum_and_cvt_f32_f64. No title containers, shader dumps, screenshots or game-derived assets are included.Scope / related work
Complements #461 without duplicating its production guard fix: local-wave and small-group cases are deliberately excluded, so this test-only PR has no dependency on that unmerged change.
The 128-thread case exercises multiple wave pairs, but both console waves use the same inputs; it does not establish pair isolation against swapping. This PR makes no claim of fixing dark rendering or in-game host pipeline refusals.
Verification
Base:
9376fd60c0ba0e76a74c39b49b1407dbac0a64c7. Windows, Rust1.98.1-x86_64-pc-windows-gnu, offline/locked dependencies.cargo test -p victory-shader --lib fp64_ -- --nocapture: 3 passed, 0 failed. DXIL validator available.cargo xtask policy: 171 files OK.git diff --check: passed.cargo-clippy; not reported as passed.AI-assisted implementation and independent static review; verification performed locally.
@avt0m4t48 on GitHub · 2026-11-25 11:01 UTC · original
I independently checked head
6c5bc0de52d523b1cc440fa5fbfb6fd485c2ee8aagainst base9376fd60c0ba0e76a74c39b49b1407dbac0a64c7on Linux with Rust 1.98.1 and separate Cargo targets.cargo check -p victory-shader --tests --target x86_64-pc-windows-msvc --offline --lockedpassed. Shader Clippy also passed with--all-targets -- -D warningsfor that target, with default features and with all features.The changed-file rustfmt check flagged six regions in the added
fp64_hosthelper as well as existing formatting differences elsewhere in the file.This cycle covered compilation, IR and emission. Native Windows execution, Microsoft DXIL validation and GPU readback remain outside this independent check.
@MamaLeVrai on GitHub · 2026-11-25 12:23 UTC · original · edited 2026-11-25 12:51 UTC
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head
6c5bc0dintomainf85101bin a throwaway tree (no conflict).cargo clippy --workspace --all-targets --locked -- -D warningsfails with the errorsmainitself has on this machine (placed_filler_twins,depth_written, a sort, andmanual implementation of .is_multiple_of()atvictory-gpu/src/shadow.rs:2675; PR #841 fixes the first three), also with--all-features; this PR adds none. (Correction: my first version of this report said that theis_multiple_ofone was extra here. It is inmaintoo: my first baseline run ofmaindid not list it, and a run with--keep-goingon a cleanmaindoes.)cargo test --workspace --locked: run 1: 568 passed, 0 failed, 12 ignored; run 2: stopped atindirect::tests::warp_budget_saturates_without_wraparound_and_preserves_draw_fields(the one that fails onmainitself most runs here (PR #849 and #847 fix its assertion)) (mainalone: 555 passed, 0 failed, 11 ignored). The title was not run, so this says nothing about in-game effect. No game data.AI-assisted (Claude Code); no game data.
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.