Repository navigation
test(shader): cover split-wave FP64 sums with masked poison - #831
GeaorgeAyvazov wants to merge 1 commit into
Conversation
|
I independently checked head
The changed-file rustfmt check flagged six regions in the added This cycle covered compilation, IR and emission. Native Windows execution, Microsoft DXIL validation and GPU readback remain outside this independent check. |
|
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 AI-assisted (Claude Code); no game data. |
…#1830) `show_config` printed `POLICY VIOLATION` for each configured path inside the source tree but always returned `Ok`, so a script could not tell a clean configuration from a refused one. It now counts the violations and fails after printing them; the stdout output is unchanged. Fixes fxceless#831 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Summary
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.