Skip texture readbacks the CPU tiler cannot land #2298

Manually merged
github merged 1 commit from github-bot/gh-2298 into main 2026-11-30 14:17:32 +00:00 AGit
Owner

@⁠P2GR on GitHub · 2026-11-29 11:34 UTC · original
P2GR:contrib/skip-unlandable-texture-readbacks-v2 → main · +64 −0 · 3 files · 1 commits · merged 2026-11-30 14:12 UTC

What it changes

Resubmits #881 on v2026.11.29.01 (829188e9). At command-list close, after duplicate write notifications are combined, skip stale tickets and layouts the CPU tiler cannot address. This avoids the COPY_SOURCE transition, readback allocation and GPU copy for those targets. The recorder still rechecks the ticket for remaps after preflight.

The current upstream tiler can address aligned SW_64KB_R_X textures. The test keeps this positive case and uses a 256-byte-misaligned allocation to exercise the unsupported case.

How it was tested

  • Verified Microsoft D3D12 WARP on Windows with VICTORY_D3D12_WARP=1 and VICTORY_TEXTURE_BACK=256x256f41.
  • Before, the normal repeated-write and list-close route recorded work for the unsupported allocation.
  • After, the same test skips the unsupported allocation and a stale ticket. The supported 4 KiB standard and aligned render-XOR cases still record work.
  • The focused victory-gpu test passed with #2208's diagnostics-build fix applied locally. The patch itself applies directly to main.
  • An earlier RTX 2080 Ti Series S log recorded an unsupported texture readback at 720p rendered to 1080p with DLSS Quality and frame generation off. Gameplay timing for this revision is pending.

Checked for overlap

  • Checked current main and open PRs. Related #876, #881 and #892.
**@⁠P2GR** on GitHub · 2026-11-29 11:34 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2298) `P2GR:contrib/skip-unlandable-texture-readbacks-v2` → `main` · +64 −0 · 3 files · 1 commits · merged 2026-11-30 14:12 UTC ## What it changes Resubmits #881 on `v2026.11.29.01` (`829188e9`). At command-list close, after duplicate write notifications are combined, skip stale tickets and layouts the CPU tiler cannot address. This avoids the COPY_SOURCE transition, readback allocation and GPU copy for those targets. The recorder still rechecks the ticket for remaps after preflight. The current upstream tiler can address aligned `SW_64KB_R_X` textures. The test keeps this positive case and uses a 256-byte-misaligned allocation to exercise the unsupported case. ## How it was tested - Verified Microsoft D3D12 WARP on Windows with `VICTORY_D3D12_WARP=1` and `VICTORY_TEXTURE_BACK=256x256f41`. - Before, the normal repeated-write and list-close route recorded work for the unsupported allocation. - After, the same test skips the unsupported allocation and a stale ticket. The supported 4 KiB standard and aligned render-XOR cases still record work. - The focused `victory-gpu` test passed with #2208's diagnostics-build fix applied locally. The patch itself applies directly to `main`. - An earlier RTX 2080 Ti Series S log recorded an unsupported texture readback at 720p rendered to 1080p with DLSS Quality and frame generation off. Gameplay timing for this revision is pending. ## Checked for overlap - [x] Checked current `main` and open PRs. Related #876, #881 and #892.
Rebase the change from #881 on v2026.11.29.01. Preserve aligned render-XOR height reads and the existing stale-ticket recheck. The WARP fixture exercises the unsupported unaligned destination after repeated write notifications.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 11:38:55 +00:00
github manually merged commit 94d84d66b8 into main 2026-11-30 14:17:32 +00:00
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!2298
No description provided.