Allow opting out of half buffer views #113
No reviewers
Labels
No labels
accessibility
bench-bm-v1
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/PastiiJay--klbf-lab!113
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Adiker on GitHub · 2026-11-26 19:56 UTC · original
Adiker:codex/half-views-switch→beta-2· +58 −5 · 5 files · 2 commits · openIn 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.
@PastiiJay on GitHub · 2026-11-26 20:07 UTC · original
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?@HandshakeHackin on GitHub · 2026-11-26 20:07 UTC · original
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.
@PastiiJay on GitHub · 2026-11-26 20:16 UTC · original
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.52388bb6b9to0baad46e20@PastiiJay on GitHub · 2026-11-26 22:26 UTC · original
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.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.