Keep the confirmed FP32 mode for default paired programs when a list is set #429
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
old-names
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!429
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-429"
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?
@Kal0s-design on GitHub · 2026-11-28 21:13 UTC · original
Kal0s-design:fix/wave-pairs-only-keeps-default-fp32→main· +60039 −5429 · 206 files · 661 commits · closed without mergingFixes #426.
emit()confirms the guest float mode for the programs paired by default, so their ordered FP32 reductions take the paired form (paired_fp32.rs,None => paired_by_default_here()). That only happened whileVICTORY_WAVE_PAIRS_ONLYwas unset:With a list that names default programs, which is what the #378 workaround does (the default list minus
CS_GatherDiffusion), those programs lost the confirmation. The report shows 7 of 28 refused with "paired FP32 reduction requires a confirmed non-IEEE RNE/FTZ guest mode" and falling back to the unpaired form, and the dark rectangles on open water came back.docs/this-fork.mdonly asks forVICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftzfor programs that are not on the default list.Change
by_defaultis nowpaired_by_default(c.input)alone. A default program's MODE writes were checked whether or not a list names it, andVICTORY_WAVE_PAIRS_FP32still overrides the confirmation either way.VICTORY_WAVE_PAIRS_ONLYis set and non-empty. Translations cached under the same list before this change refused those programs the paired form, and the key already holds the list value but not the translator source. Runs without the variable keep their key, so nobody else translates again. That's the same pattern asVICTORY_PORT_CBV.paired_by_default_hashsplit out ofpaired_by_defaultwith a small test.Checked
cargo clippy --workspace --all-targets --locked -- -D warnings: clean.cargo test -p victory-shader --libfiltered to the paired/wave-pairs tests: 10 passed, andvictory-gpushader_cachetests: 4 passed (native Windows, NVIDIA card).VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftzadded to the same list: 28/28 paired, water fixed) is the behaviour this makes the default for listed default programs.AI-assisted: yes
🤖 Generated with Claude Code
@TaynanGT on GitHub · 2026-11-29 11:35 UTC · original
Thanks for the focused fix and cache-key distinction. Please keep confirmation limited to the previously checked default programs, with an explicit override for other entries. The 28-program workaround in #426 is good evidence for the next matched in-game verification, not yet a test of this PR itself.
@TaynanGT on GitHub · 2026-11-30 17:07 UTC · original
mainhas moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the currentmainand open a new PR; I'll review it there.Pull request closed