GPU: experimental graphics pipeline variant reconstruction (0x1B8) #1399

Closed
github-bot wants to merge 2 commits from github-bot/gh-1399 into main AGit
Owner

@⁠73N1X on GitHub · 2026-11-28 18:57 UTC · original
skAInet-labs:nv04/graphics-variant-decoder → main · +38625 −2405 · 120 files · 402 commits · closed without merging

Overview

Implements experimental graphics pipeline variant reconstruction through device method 0x1B8 (slot 55).

This change is independently based on current upstream main and does not depend on PR #18.

Implementation

  • Bounded decoding and validation of graphics state modification records.
  • Reconstruction of rasterizer, depth/stencil and blend state.
  • Preservation of the original pipeline and shared shader ownership.
  • Independent ownership of input layout metadata.
  • Host PSO readiness validation before returning a pipeline to the title.
  • Bounded worker admission and a single-entry variant cache.
  • Refusal of unsupported records and states, preserving the title's fallback path.
  • Disabled by default.

Activation

$env:VICTORY_GRAPHICS_VARIANTS = "1"

Validation

Tested on Windows using an AMD Radeon RX 5700 XT:

  • 34 successful candidate-specific test executions across standard and diagnostics configurations.
  • 1,033 common test outcome comparisons against the unchanged upstream baseline.
  • No new failures relative to the baseline.
  • Native D3D12 graphics PSO creation and reuse verified using synthetic shaders.
  • Device slot ABI exercised through the actual vtable.
  • Standard and diagnostics release builds passed.
  • Asset policy passed.

Pending validation

Gameplay testing on NVIDIA RTX 3080 Ti and RTX 5070 Ti is pending. Results will be added to this PR, including performance, stability and rendering observations.

No FPS improvements are claimed at this stage.

The implementation is experimental and deliberately refuses unsupported state combinations rather than silently approximating them.

Scope

Four files modified. No SDK downloads, external dependencies, game assets or extracted shaders included.

**@⁠73N1X** on GitHub · 2026-11-28 18:57 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1399) `skAInet-labs:nv04/graphics-variant-decoder` → `main` · +38625 −2405 · 120 files · 402 commits · closed without merging ## Overview Implements experimental graphics pipeline variant reconstruction through device method `0x1B8` (slot 55). This change is independently based on current upstream main and does not depend on PR #18. ### Implementation - Bounded decoding and validation of graphics state modification records. - Reconstruction of rasterizer, depth/stencil and blend state. - Preservation of the original pipeline and shared shader ownership. - Independent ownership of input layout metadata. - Host PSO readiness validation before returning a pipeline to the title. - Bounded worker admission and a single-entry variant cache. - Refusal of unsupported records and states, preserving the title's fallback path. - Disabled by default. ### Activation ```powershell $env:VICTORY_GRAPHICS_VARIANTS = "1" ``` ### Validation Tested on Windows using an AMD Radeon RX 5700 XT: - 34 successful candidate-specific test executions across standard and diagnostics configurations. - 1,033 common test outcome comparisons against the unchanged upstream baseline. - No new failures relative to the baseline. - Native D3D12 graphics PSO creation and reuse verified using synthetic shaders. - Device slot ABI exercised through the actual vtable. - Standard and diagnostics release builds passed. - Asset policy passed. ### Pending validation Gameplay testing on NVIDIA RTX 3080 Ti and RTX 5070 Ti is pending. Results will be added to this PR, including performance, stability and rendering observations. No FPS improvements are claimed at this stage. The implementation is experimental and deliberately refuses unsupported state combinations rather than silently approximating them. ### Scope Four files modified. No SDK downloads, external dependencies, game assets or extracted shaders included.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 19:02:11 +00:00
github-bot closed this pull request 2026-11-29 23:04:19 +00:00
Author
Owner

@⁠73N1X on GitHub · 2026-11-29 23:03 UTC · original

Closing this PR due to substantial upstream divergence and unrelated history being included in the diff.

The implementation will be preserved locally and may be reintroduced as a clean, independently scoped PR against the current upstream main.

New performance optimizations and shader compatibility improvements will be submitted separately to simplify review and validation.

**@⁠73N1X** on GitHub · 2026-11-29 23:03 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1399#issuecomment-7264158078) Closing this PR due to substantial upstream divergence and unrelated history being included in the diff. The implementation will be preserved locally and may be reintroduced as a clean, independently scoped PR against the current upstream main. New performance optimizations and shader compatibility improvements will be submitted separately to simplify review and validation.

Pull request closed

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!1399
No description provided.