Shaders: preserve FP16 rounding changes in whole-wave sections #978
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/978"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by yumaste on 2026-11-28T10:30:56Z.
Port of Marvisak/VIctory#2886. The existing port on my fork was rebased onto current main.
Track constant FP16 rounding-mode writes through whole-wave sections so later conversions see the requested mode. Preserve this fork's current conversion when there is no known explicit round-to-nearest or round-toward-zero selection.
Windows validation: 8 tests passed and 1 was ignored with
cargo test -p victory-shader --locked round. The synthetic GPU test exercises positive and negative values, plus restoring nearest-even withs_setreg_imm32_b32. Clippy passed with warnings denied except for the existingclippy::let_and_returninemit/mod.rs.