GPU: make fence signaling monotonic, clamp sampler enums, and add unit tests #1189
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1189"
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:22:47Z.
Summary
Closes #932
Full verification details and change notes are documented in #932 (commit
370c61b, 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:29Z.
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
370c61b:cargo test -p victory-gpupasses, 61 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 Marvisak on 2026-11-25T00:34:24Z.
Automated triage for the maintainers. Closing because another open pull request covers the same change.
See #474. Makes fence Signal monotonic with no evidence: D3D12's Signal sets the fence to the value given, lower ones included, and the title reads the value straight from memory. Its sampler half clamps enums to arbitrary neighbours and is done more completely by #474 (same lines); the rest is tests pinning current behaviour.
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