Linux Enhance GPU pipeline handling and improve shader program structure #3322

Open
theDVNVS wants to merge 7 commits from upstream-pr/3322 into main
theDVNVS commented 2026-11-26 17:58:16 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by theDVNVS on 2026-11-26T17:58:16Z.


Still in progress.

<!-- greyfinch-sync:Marvisak/VIctory:issue:5514906815 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/3322). Originally posted by [theDVNVS](https://github.com/theDVNVS) on 2026-11-26T17:58:16Z. --- Still in progress.
Dukestar69 commented 2026-11-26 18:08:33 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Dukestar69 on 2026-11-26T18:08:33Z.

Review: APPROVED


Reviewed and verified locally on Windows 11 x64 (RTX 5090):

  • Passing null for empty CreatePipelineLibrary blobs, unifying function exits into a single ret_block() for dxil-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).

<!-- greyfinch-sync:Marvisak/VIctory:review:6078790068 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/3322#pullrequestreview-6078790068). Originally posted by [Dukestar69](https://github.com/Dukestar69) on 2026-11-26T18:08:33Z. **Review:** APPROVED --- Reviewed and verified locally on Windows 11 x64 (RTX 5090): - Passing `null` for empty `CreatePipelineLibrary` blobs, unifying function exits into a single `ret_block()` for `dxil-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 commented 2026-11-26 23:21:30 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Jackster on 2026-11-26T23:21:30Z.


Windows 11, 63bcca4 + this PR:

  • cargo test -p victory-gpu --lib: 231 passed / 0 failed / 1 ignored — the same counts as unpatched 63bcca4 here.
  • 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.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7205473389 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/3322#issuecomment-7205473389). Originally posted by [Jackster](https://github.com/Jackster) on 2026-11-26T23:21:30Z. --- Windows 11, `63bcca4` + this PR: - `cargo test -p victory-gpu --lib`: 231 passed / 0 failed / 1 ignored — the same counts as unpatched `63bcca4` here. - `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.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3322:upstream-pr/3322'
git switch 'upstream-pr/3322'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3322'
git switch 'upstream-pr/3322'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3322'
git switch 'upstream-pr/3322'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3322'
git switch 'main'
git merge --squash 'upstream-pr/3322'
git switch 'main'
git merge --ff-only 'upstream-pr/3322'
git switch 'main'
git merge 'upstream-pr/3322'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!3322
No description provided.