Skip DLSS Frame Generation when camera constants are rejected #3630

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

@⁠ThePerfomance on GitHub · 2026-11-30 02:17 UTC · original
ThePerfomance:fix/dlssg-rejected-camera-constants → main · +20 −6 · 1 files · 1 commits · open

What it changes

DLSS Frame Generation requires frame-specific camera constants as well as resource tags. When slSetConstants returned an error, the presenter logged it and still marked the frame eligible if resource tagging succeeded. The presenter now requires both calls to succeed before requesting generation for a game frame. Movie-plane gating and the regular presentation path are preserved.

See NVIDIA Streamline DLSS-G guide, section 7.

How it was tested

  • The regression test goes red when tag success alone is enough. It now passes for accepted inputs, rejected camera constants, rejected tags and movie frames.
  • RTX 5070, 2560×1440, synthetic upscaler-check --validate-framegen with DLSS Frame Generation 2×. The steady phase passed with 80 measured presents, 153 frames reported by the SDK and status 0x0. The failure case was verified in the unit test.
  • cargo test --locked -p victory-gpu --lib: 922 passed, 60 ignored, one failure. The shader-cache test every_switch_of_the_translator_is_in_the_key also fails on the base commit with the same VICTORY_SCALAR_SPLITS message. The application build and changed-file asset check passed.

Checked for overlap

  • Checked open PRs touching DLSS-G inputs. #1978 retains copies of input textures. #2938 reorders the frame-generation rearm and the next Reflex marker. This change addresses the immediate return from slSetConstants.

AI-assisted contribution using OpenAI Codex.

**@⁠ThePerfomance** on GitHub · 2026-11-30 02:17 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3630) `ThePerfomance:fix/dlssg-rejected-camera-constants` → `main` · +20 −6 · 1 files · 1 commits · open ## What it changes DLSS Frame Generation requires frame-specific camera constants as well as resource tags. When `slSetConstants` returned an error, the presenter logged it and still marked the frame eligible if resource tagging succeeded. The presenter now requires both calls to succeed before requesting generation for a game frame. Movie-plane gating and the regular presentation path are preserved. See [NVIDIA Streamline DLSS-G guide, section 7](https://github.com/NVIDIA-RTX/Streamline/blob/main/docs/ProgrammingGuideDLSS_G.md#70-provide-common-constants). ## How it was tested - The regression test goes red when tag success alone is enough. It now passes for accepted inputs, rejected camera constants, rejected tags and movie frames. - RTX 5070, 2560×1440, synthetic `upscaler-check --validate-framegen` with DLSS Frame Generation 2×. The steady phase passed with 80 measured presents, 153 frames reported by the SDK and status `0x0`. The failure case was verified in the unit test. - `cargo test --locked -p victory-gpu --lib`: 922 passed, 60 ignored, one failure. The shader-cache test `every_switch_of_the_translator_is_in_the_key` also fails on the base commit with the same `VICTORY_SCALAR_SPLITS` message. The application build and changed-file asset check passed. ## Checked for overlap - [x] Checked open PRs touching DLSS-G inputs. #1978 retains copies of input textures. #2938 reorders the frame-generation rearm and the next Reflex marker. This change addresses the immediate return from `slSetConstants`. AI-assisted contribution using OpenAI Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 02:21:09 +00:00
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/3630/head:github-bot/gh-3630'
git switch 'github-bot/gh-3630'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3630'
git switch 'github-bot/gh-3630'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3630'
git switch 'github-bot/gh-3630'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3630'
git switch 'main'
git merge --squash 'github-bot/gh-3630'
git switch 'main'
git merge --ff-only 'github-bot/gh-3630'
git switch 'main'
git merge 'github-bot/gh-3630'
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!3630
No description provided.