Shaders: add hardware tests for v_cmp_class_f32, integer min3/max3/med3, and f16 signed-zero min/max #1164
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1164"
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?
Imported from Marvisak/VIctory. Originally posted by geiyiliyabumo on 2026-11-24T16:18:48Z.
Summary
Relates to #799, Relates to #800, Relates to #802
Full verification details and change notes are documented in #799, #800, #802 (commit
9a173fc, based onmainffe310e).Verification (Windows 11 x64 MSVC)
rustfmt --edition 2024 --checkon edited files: PASScargo xtask policy: PASS (zero game files/data)cargo clippy --all-targets --locked -- -D warnings(default +--features diagnosticswhere applicable): PASSAI-assisted; synthetic tests only, no game files.
Imported from Marvisak/VIctory. Originally posted by Zipettte on 2026-11-24T18:00:59Z.
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
9a173fc:cargo test -p victory-shaderpasses, 123 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
Imported from Marvisak/VIctory. Originally posted by DeerSilver on 2026-11-24T18:39:34Z.
Tested head
9a173fcmerged ontomainffe310e(clean merge) on NVIDIA GeForce RTX 5060 Laptop GPU (Blackwell), driver 621.24, Windows 11 26300, Rust 1.98.1: pass. No game files: the test suite only.no SM 6.6skip:v_cmp_class_f32_matches_rdna2v_min3_max3_med3_integers_match_rdna2max_and_min_f16_order_negative_zero_below_positive_zero--all-featuressovictory-gpuenables it, plus a local, uncommittedEnableDebugLayerinemit::host::Host::newfor the shader tests), the run logs no debug-layer message thatmaindoesn't log too.cargo test --workspace --all-features --locked: 349 passed, 0 failed, 6 ignored (mainwith all features: 346 / 6).cargo clippy --workspace --all-targets --locked -- -D warnings, with and without--all-features: clean.These overlap with LouisRiverstone's PRs: #1053 adds a
v_cmp_class_f32_matches_rdna2too, #1052 tests the integerv_min3/v_max3/v_med3, and #1050 the f16 negative-zero ordering. Both versions pass here, but the twov_cmp_class_f32_matches_rdna2tests can't both be merged under that name.AI-assisted (Claude Code).
Imported from Marvisak/VIctory. Originally posted by geiyiliyabumo on 2026-11-24T21:07:26Z.
Thanks @DeerSilver for verifying on RTX 5060 + D3D12 Debug Layer! Happy to rebase or rename
v_cmp_class_f32_matches_rdna2if #1050/#1052/#1053 land first.AI-assisted; synthetic tests only, no game files.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:33:22Z.
Automated triage for the maintainers. Closing because another open pull request covers the same change.
See #1052. Tests only: v_cmp_class_f32, integer min3/max3/med3, f16 signed-zero min/max. Main's semantics_tests.rs covers class compares, f16 zeros and integer med3 since today; the integer min3/max3 test is the clean #1052. Same set as #1045 and the clean #1050/#1052/#1053.
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed