Linux Enhance GPU pipeline handling and improve shader program structure #3322
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3322
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3322"
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?
@theDVNVS on GitHub · 2026-11-26 17:58 UTC · original
theDVNVS:DVNVS→main· +384 −68 · 6 files · 7 commits · openStill in progress.
Every s_endpgm (and the loop-limit abort) now branches to one shared ret block, as DXC's output always has. A loop left by both a break and a return could not be structured by dxil-spirv (vkd3d-proton): it emitted invalid SPIR-V ("exits the loop ... but not via a structured exit"), on which RADV segfaulted in vkCreateGraphicsPipelines (exit code 3). Co-Authored-By: Claude Opus 5.5 <[email protected]>@Dukestar69 on GitHub · 2026-11-26 18:08 UTC · original · approved these changes
Reviewed and verified locally on Windows 11 x64 (RTX 5090):
nullfor emptyCreatePipelineLibraryblobs, unifying function exits into a singleret_block()fordxil-spirv, and the Wine/Proton indirect & net adjustments build and pass cleanly on Windows 11 + RTX 5090 as well.cargo test -p victory-gpu --lib indirect:: -- --test-threads=1(RTX 5090): 6 passed, 0 failed.cargo test -p victory-gpu --lib pipeline::library:: -- --test-threads=1(RTX 5090): 11 passed, 0 failed.cargo test -p victory-hle --lib modules::net:: -- --test-threads=1: 2 passed, 0 failed.cargo clippy -p victory-shader -p victory-gpu -p victory-hle --all-targets -- -D warnings: clean.cargo xtask policy: 192 files ok.Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
@Jackster on GitHub · 2026-11-26 23:21 UTC · original
Windows 11,
63bcca4+ this PR:cargo test -p victory-gpu --lib: 231 passed / 0 failed / 1 ignored — the same counts as unpatched63bcca4here.cargo clippy -p victory-gpu --all-targets -- -D warnings: clean.Scope note: this PR is Linux-facing (indirect handling and shader program structure), so what a Windows box can establish is that it builds and leaves the suite where it was — which it does. The behaviour change itself needs a Linux run. AI-assisted.
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.