Shaders: preserve FP16 rounding changes in whole-wave sections #978
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!978
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@yumaste on GitHub · 2026-11-28 10:30 UTC · original
yumaste:nvidia/port-fp16→main· +138 −10 · 3 files · 1 commits · merged 2026-11-29 08:16 UTCPort 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.1a81b72256to75bb9dcb2e