Carry 20 upstream VIctory fixes (shaders, samplers, textures) and a mesh wave-ops flag fix #142
No reviewers
Labels
No labels
accessibility
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/Belobug--VIctory-Belobug-AMD!142
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-142"
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?
@YisusOnDev on GitHub · 2026-11-25 16:32 UTC · original
YisusOnDev:upstream-carry→main· +1753 −112 · 23 files · 22 commits · openCarries 20 commits from upstream Marvisak/VIctory that this fork does not have yet, plus two fixes needed to make them build and test here. All of them are small fixes to shaders, samplers, textures and pipelines.
A full
git merge upstream/maingave about 450 conflicts, so these were cherry-picked one by one, with-xto keep the upstream hash. The upstream changes to memory copies (cd94d35, 940d32f, ed0dbfd) and the pipeline pre-build (c47b529, 9c58a1c) are left out, because the fork'sshadow.rsandhost.rshave diverged too far for a clean pick.Commits:
Notes:
Mesh lanes from the thread id declare no wave ops). Mesh programs that read their lane index from the thread id declaredWAVE_OPSwithout using any wave operation, and the DXIL validator rejects that. The new upstream mesh test found it.GPU: align appended input-element offsets like D3D12. Its one conflict, inpipeline/host.rs, was resolved by keeping both test modules: the fork's integer-blend tests and upstream's input-offset tests.victory-shaderandvictory-gpuadapts the picked tests to the fork's function signatures.Testing, on an RX 9070 XT with Windows 11:
cargo build --profile diag -p victory --features diagnosticsbuilds.cargo test --release -p victory-shader -p victory-gpu -p victory-formats: all pass exceptlist::tests::lists_are_cut_at_waits_that_follow_work, which fails the same way on this fork'smain(f870d80) without these commits.cargo fmt --checkalso fails onmainalready.main. Most of that gain comes frommainitself (PR #18 and others), not from these picks.🤖 Generated with Claude Code
https://claude.ai/code/session_01XT2tTx3gzfkPGgizfErPrL
@adrianmjim on GitHub · 2026-11-25 19:52 UTC · original
Corpus data from the game's
shaders.rpfon an RX 7900 XT (Windows 11 build 26300, dxil.dll 10.0.26100.0), headaadd4c8on01aadd1,victory translate --validate --list --host-lanes 32-64, comparing a hash of each program's DXIL with01aadd1:cargo test -p victory-shader --lib -- --test-threads=1: 279 passed, 0 failed, 6 ignored.Pipelines were not created and the game was not run here.
@HAL9000RELOADED on GitHub · 2026-11-25 22:53 UTC · original
RX 7900 XTX (RDNA3), driver 32.0.32015.7029, Windows 10 22H2 (19045), Agility SDK 1.620 (#44). PR
aadd4c8merged ona7fa35e(main + #44).stub_pipeline_is_createdfails in the fullvictory-shaderrun with the PR ("digest [00, ...] accepted"): 289 passed, 1 failed. It passes on the base, and with the PR it passes on its own (10 of 10) and with--test-threads=1.edge_flagged_triangles_draw_as_unflagged_onesrunning at the same time (3 of 3 runs with only those two tests). That test holdsONE_AT_A_TIME, the stub test doesn't, and both build pipelines fromconstant_color()on the same adapter. Holding the same lock in the stub test would keep them apart (not tried).victory-gpuin release:lists_are_cut_at_waits_that_follow_workfails with and without the PR, as you saw on the 9070 XT. The test binary also exits now and then with 0xc0000005 (2 of 5 runs on the base, 1 of 5 with the PR), so neither comes from this PR.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.