Allow opting out of half buffer views #113
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/113"
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 PastiiJay/klbf-lab. Originally posted by Adiker on 2026-11-26T19:56:38Z.
In the Proton/RADV runs reported in #19, the half-view path was associated with severe mouth deformation during dialogue. This adds
VICTORY_HALF_VIEWS=0to restore the older float path; the existing half-view behavior remains the default. The older path may leave facial animation at rest.The shader source scanner includes the switch in the translation fingerprint, so different values use different shader cache keys.
play.ps1lines 65–67 preserve the override for both pre-build and play. The tests cover both lowering paths, the default setting and the fingerprint entry.Validation on RX 7800 XT / Proton + vkd3d-proton:
VICTORY_HALF_VIEWS=0and again with the variable unset.VICTORY_HALF_VIEWS=0.cargo xwin clippy -p victory-shader --all-targets --target x86_64-pc-windows-msvc --locked -- -D warnings, and with--all-features: passed.emit::tests::stub_pipeline_is_createdalso fails on unmodifiedbeta-2(3a2c4dd) under the same Proton setup because a zero digest is accepted.The earlier game observations in #19 used a larger local integration; this isolated PR has not been tested in game or on native Windows. PowerShell was unavailable locally, so the launcher change was not run here.
AI-assisted.
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T20:07:13Z.
Thanks @Adiker, that's exactly the split we hoped for: small, default unchanged, cache key covered, and honest about what wasn't run. Next step on our side is an in-game run on Windows AMD with
VICTORY_HALF_VIEWS=0, and we'll post what we see here. One small thing: can you mention in the PR whichplay.ps1line keeps the override, so a Windows tester can check it quickly?Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-26T20:07:51Z.
For the Windows retest, play.ps1 lines 65–67 at 52388bb add
VICTORY_HALF_VIEWSto the values preserved before both pre-build and play. I verified all six combinations on Windows PowerShell 5.1 (pre-build/play × unset/0/1). A recording executable received the expected value each time and an unrelated override was cleared. The native shader library passed 248 tests with 2 ignored, including the stub-pipeline test mentioned above. Windows jobThere is one test-only issue if Cargo is run from the same shell as the retest. With
VICTORY_HALF_VIEWS=0, three VALU fixtures expect nonempty half-view metadata and fail (22 passed, 3 failed). Cherry-pickable test fix selects the intended mode inside each fixture. Afterward the full shader library passed with the override set (248 passed, 2 ignored), and all 25 VALU fixtures passed again with it unset. Before-and-after Windows jobThese checks used synthetic shaders and a launcher probe. The in-game Windows AMD comparison is still open.
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T20:16:52Z.
Thanks @HandshakeHackin, verifying all six launcher combinations on PowerShell 5.1 saves a Windows tester a lot of guesswork. @Adiker, could you cherry-pick
b649205into this PR so the VALU fixtures pick their own mode? Then the suite stays green whatever is set in the shell.Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T22:26:47Z.
Thanks @Adiker, with
0baad46the fixtures pick their own mode, so the suite no longer depends on what's set in the shell. That covers the point HandshakeHackin raised. Next step on our side is the in-game Windows AMD run withVICTORY_HALF_VIEWS=0, and we'll report here.Pull request closed