Water rectangles come back when VICTORY_WAVE_PAIRS_ONLY is set: default programs lose the FP32 mode confirmation (7 of 28 refused, RTX 5060) #426
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 notdxbi on 2026-11-28T20:25:44Z.
Vice-Tay build
mainfe7c6e5plus a few open PRs merged locally (#395, #408, #413 and others; none touchemit/mod.rsorpaired_fp32.rs). Release build.Hardware and graphics driver
RTX 5060 8 GB (32-lane), Ryzen 7 5700X, 32 GB, Linux with GE-Proton11-14, NVIDIA 620.70.06. Series S profile, 1920x1080, DLSS Quality, ray tracing off.
What happens
Setting
VICTORY_WAVE_PAIRS_ONLYto a list that only contains entries from the default list (here the #378 workaround: the default 29 minusCS_GatherDiffusionce2378e5e8711aad) brings back the dark/grey rectangles on open water that #208 fixed. They sit along the waterline at the shore and under bridges during the boat mission.The pretranslation log shows why. 7 of the 28 listed programs are refused the paired form and fall back to the unpaired one:
Cause
In
emit()(crates/victory-shader/src/emit/mod.rs) the FP32 confirmation for default programs only applies when the variable is unset:So once any list is given, the default programs lose the confirmation that
paired_fp32.rsrelies on (None => paired_by_default_here()).docs/this-fork.mdsaysVICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftzis needed for programs that are not on the default list, so I expected the default ones to stay confirmed.Check
Same build and save, with
VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftzadded to the same list: 28/28 translated with paired Wave64, 0 refused, and the water rectangles are gone. Frame rate unchanged (median 11.6 fps vs 11.3 before, ~7 min each in the world).Skipping only the four water transmission-volumetrics programs (
VICTORY_SKIP_PIPELINES=5dc3b25986622949,6f225b641c5b0708,926c46bab3b86bd6,1aa247ed3653b616) also removed the rectangles (and the water's colour), which is how I narrowed it to those.Suggestion
Keep the confirmation for default-list programs regardless of
VICTORY_WAVE_PAIRS_ONLY, e.g.let by_default = paired_by_default(c.input);, since their MODE writes were already checked. Otherwise, a note in the docs and the #378 thread that a custom list needsVICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftzas well.(#378's own bisection runs set
VICTORY_WAVE_PAIRS_FP32explicitly, so they are not affected.)Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:35:35Z.
Thanks for isolating this to the list-dependent FP32 confirmation. Going from 21/28 to 28/28 paired programs with the same list and the rectangles disappearing is useful evidence. #429 targets the condition and cache key. A matched retest without the explicit override would help validate that fix.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:00:17Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay:vice-tay.exe play, andVICE_TAY_*switches instead ofVICTORY_*(details in #468). Could you check whether this still happens on the currentmainand say so here, with a log if you can?Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T20:16:05Z.
The mechanism changed under this, so the report needs re-reading against the current build.
VICTORY_WAVE_PAIRS_ONLY,VICTORY_WAVE_PAIRS_FP32andVICTORY_WAVE_PAIRSdon't exist any more. What's there now (crates/vice-tay-shader/src/emit/lower/pair.rs):VICE_TAY_WAVE_PAIR- the paired form, on by default.=0turns it off.VICE_TAY_WAVE_PAIR_NOT=<hash>,...- the other way round from the old_ONLYlist: hashes (or prefixes) of programs that skip the paired form and are refused or translated as they were without it.So the thing you were switching on is now the default, and the list you set is now an exclusion list. The "7 of 28 refused, default programs lose the FP32 mode confirmation" shape can't be reproduced as written.
If the water rectangles are still there on a current
main, that's worth knowing and it's a different bug from this one. Also worth a try:--set VICE_TAY_WAVE_PAIR=0to see whether the paired form is involved at all now.