Keep the confirmed FP32 mode for default paired programs when a list is set #429
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-28T21:13:34Z.
Fixes #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
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:35:32Z.
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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:07:40Z.
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