gpu/pipeline,shader: handle PSO subobjects 25..=29 & 100..=102 and add FourCC::ACGS #4361

Open
github-bot wants to merge 1 commit from github-bot/gh-4360 into main AGit
Owner

@⁠TheOriginalF on GitHub · 2026-11-30 19:19 UTC · original
TheOriginalF:feat/pso-subobjects-and-acgs → main · +84 −1 · 2 files · 1 commits · open

What it changes

Extends PSO stream parsing in crates/victory-gpu/src/pipeline.rs and DXBC container tags in crates/victory-shader/src/dxbc.rs:

  • Recognizes PSO stream subobject IDs 25..=29 and console-specific 100..=102 with exact payload sizes in subobject() and skips them cleanly in walk() instead of aborting stream parsing.
  • Adds warn_pc_layout diagnostic warning when a PC-sized descriptor layout is encountered.
  • Keeps deserialize_compute_on() default OFF (unchanged from main).
  • Adds FourCC::ACGS in crates/victory-shader/src/dxbc.rs.
  • Adds a unit test covering the new PSO subobject stream entries.

How it was tested

  • Test system:
    • CPU: AMD Ryzen 9 5950X (Corsair iCUE H150i RGB Pro XT)
    • GPU: Palit GeForce RTX 4090 GameRock OC (SM 6.8)
    • Motherboard: ASUS ROG Strix X570-E Gaming
    • RAM: Corsair Vengeance RGB Pro 32GB (2x16GB @ 3600MHz)
    • PSU: Corsair RM850x (850W)
    • Storage: Corsair MP600 2TB NVMe Gen4 + Seagate Barracuda 2TB HDD
  • GPU and profile (Series X or S, resolution, DLSS, frame generation, ray tracing): Palit GeForce RTX 4090 GameRock OC (SM 6.8), Series S (--console series-s --execute), no DLSS / no frame generation, default software RT path, cache-pareto
  • Before: baseline.log (84bd61e2, 503.0 s): 0 errors, 0 host pipelines failed, 0 shaders do not translate
  • After: all-prs.log (combined branch over 84bd61e2, 430.5 s): 0 errors, 0 host pipelines failed, 0 shaders do not translate; warm gameplay 24.10 med fps (vs 24.50 baseline), cutscenes 30.00 med fps — no regressions
  • For shader changes, the wave sizes tested (32 and/or 64 lanes): N/A (container FourCC tag only; no DXIL codegen changes)
  • cargo test passed for the crates it touches: yes (pipeline::tests -- --test-threads=1 — 8 passed, 0 failed, 2 ignored; cargo clippy — 0 new warnings; xtask policy --staged — ok)

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: none found
**@⁠TheOriginalF** on GitHub · 2026-11-30 19:19 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4360) `TheOriginalF:feat/pso-subobjects-and-acgs` → `main` · +84 −1 · 2 files · 1 commits · open ## What it changes Extends PSO stream parsing in `crates/victory-gpu/src/pipeline.rs` and DXBC container tags in `crates/victory-shader/src/dxbc.rs`: - Recognizes PSO stream subobject IDs `25..=29` and console-specific `100..=102` with exact payload sizes in `subobject()` and skips them cleanly in `walk()` instead of aborting stream parsing. - Adds `warn_pc_layout` diagnostic warning when a PC-sized descriptor layout is encountered. - Keeps `deserialize_compute_on()` default OFF (unchanged from `main`). - Adds `FourCC::ACGS` in `crates/victory-shader/src/dxbc.rs`. - Adds a unit test covering the new PSO subobject stream entries. ## How it was tested - Test system: - CPU: AMD Ryzen 9 5950X (Corsair iCUE H150i RGB Pro XT) - GPU: Palit GeForce RTX 4090 GameRock OC (SM 6.8) - Motherboard: ASUS ROG Strix X570-E Gaming - RAM: Corsair Vengeance RGB Pro 32GB (2x16GB @ 3600MHz) - PSU: Corsair RM850x (850W) - Storage: Corsair MP600 2TB NVMe Gen4 + Seagate Barracuda 2TB HDD - GPU and profile (Series X or S, resolution, DLSS, frame generation, ray tracing): Palit GeForce RTX 4090 GameRock OC (SM 6.8), Series S (`--console series-s --execute`), no DLSS / no frame generation, default software RT path, `cache-pareto` - Before: `baseline.log` (`84bd61e2`, 503.0 s): 0 errors, `0 host pipelines failed, 0 shaders do not translate` - After: `all-prs.log` (combined branch over `84bd61e2`, 430.5 s): 0 errors, `0 host pipelines failed, 0 shaders do not translate`; warm gameplay 24.10 med fps (vs 24.50 baseline), cutscenes 30.00 med fps — no regressions - For shader changes, the wave sizes tested (32 and/or 64 lanes): N/A (container FourCC tag only; no DXIL codegen changes) - `cargo test` passed for the crates it touches: yes (`pipeline::tests -- --test-threads=1` — 8 passed, 0 failed, 2 ignored; `cargo clippy` — 0 new warnings; `xtask policy --staged` — ok) ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: none found
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 19:22:39 +00:00
github-bot force-pushed github-bot/gh-4360 from abf4d90f8c to 92097589ba 2026-12-01 01:30:22 +00:00 Compare
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/4361/head:github-bot/gh-4360'
git switch 'github-bot/gh-4360'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4360'
git switch 'github-bot/gh-4360'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4360'
git switch 'github-bot/gh-4360'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4360'
git switch 'main'
git merge --squash 'github-bot/gh-4360'
git switch 'main'
git merge --ff-only 'github-bot/gh-4360'
git switch 'main'
git merge 'github-bot/gh-4360'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!4361
No description provided.