Fix outdoor shadows at 5120x1440 DLAA #3308

Closed
github-bot wants to merge 3 commits from github-bot/gh-3308 into main AGit
Owner

@⁠invismann on GitHub · 2026-11-29 21:35 UTC · original
invismann:fix/ultrawide-dlaa-shadow-tiles → main · +199 −1 · 4 files · 3 commits · closed without merging

What it changes

At 5120x1440 DLAA the retail Series X directional-shadow tile list can exceed 256 columns. An 8-bit X coordinate wraps at pixel 4096, leaving a dark rectangle on the right outdoors.

Use 9 bits for X and 7 for Y in the paired tile-list writers and readers for the supported wide render sizes. Select the shader variants by container fingerprint and check the expected operands before rewriting. Include this switch in the translated shader cache key.

This branch is based on current main. Reproducing the 5120x1440 gameplay check requires the display and budget changes in #2400, which builds on #2210.

How it was tested

  • RTX 4090, Xbox Series X retail profile, 5120x1440, DLAA, frame generation and title ray tracing off. Tested on the integration branch with the display changes present.
  • Before: a dark rectangle appeared on the right outdoors. After: directional shadows covered the right side of the same scene.
  • On this PR branch, the release build and both focused shadow tests passed. The runtime shader translation path produced different DXIL for all 34 tile-list shaders with the switch on, and all 34 validated in both modes with the wave32 target.
  • The shader-cache switch coverage test stops on the existing stale VICTORY_SCALAR_SPLITS entry on main. The same test passes on the integration branch.

Checked for overlap

  • Searched open, merged, and closed PRs for this artifact and the affected shader path. #1273 addresses indirect group counts and #2220 addresses an adaptive-shadow compiler issue. #2210 and #2400 are related to running the reproduction at 5120x1440.
**@⁠invismann** on GitHub · 2026-11-29 21:35 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3308) `invismann:fix/ultrawide-dlaa-shadow-tiles` → `main` · +199 −1 · 4 files · 3 commits · closed without merging ## What it changes At 5120x1440 DLAA the retail Series X directional-shadow tile list can exceed 256 columns. An 8-bit X coordinate wraps at pixel 4096, leaving a dark rectangle on the right outdoors. Use 9 bits for X and 7 for Y in the paired tile-list writers and readers for the supported wide render sizes. Select the shader variants by container fingerprint and check the expected operands before rewriting. Include this switch in the translated shader cache key. This branch is based on current main. Reproducing the 5120x1440 gameplay check requires the display and budget changes in #2400, which builds on #2210. ## How it was tested - RTX 4090, Xbox Series X retail profile, 5120x1440, DLAA, frame generation and title ray tracing off. Tested on the integration branch with the display changes present. - Before: a dark rectangle appeared on the right outdoors. After: directional shadows covered the right side of the same scene. - On this PR branch, the release build and both focused shadow tests passed. The runtime shader translation path produced different DXIL for all 34 tile-list shaders with the switch on, and all 34 validated in both modes with the wave32 target. - The shader-cache switch coverage test stops on the existing stale VICTORY_SCALAR_SPLITS entry on main. The same test passes on the integration branch. ## Checked for overlap - [x] Searched open, merged, and closed PRs for this artifact and the affected shader path. #1273 addresses indirect group counts and #2220 addresses an adaptive-shadow compiler issue. #2210 and #2400 are related to running the reproduction at 5120x1440.
Widen the horizontal tile field in the retail shadow-list writers and readers when the scene exceeds 4096 pixels. Key the shader cache on the new layout so the reader and writer variants stay consistent across render-size changes.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 21:38:50 +00:00
Check the stock Series X rendered scene before enabling 9-bit tile coordinates. Surface an explicit error when the new layout cannot contain its width or height.

Ported from Foxhound ultrawide commit 3b5fa5368.
github-bot closed this pull request 2026-12-01 18:58:55 +00:00

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