Card steps: places the title writes after sending are learned, and submissions with a fill there wait (the stretched characters and boat) (upstream AvatarManz #434 by Jake) #1780

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

@⁠101Leafy on GitHub · 2026-11-29 00:04 UTC · original
101Leafy:nv/card-steps-learn → main · +6 −5 · 1 files · 1 commits · open

This is a port of Jake's change from AvatarManz #434, kept under his name.

With card steps a submission behind flights goes at once and its fills read title memory then, but the title writes some constant buffers again between sending and landing. That threw skinned characters and the boat's vertices off with VICTORY_CARD_STEPS=1 and 2. Here what each fill of a taken submission read is compared with title memory at landing, pages that differ are learned, and a later submission with a fill on a learned page waits as it would without card steps.

Where it came from it was on by default; here it is off unless VICTORY_CARD_STEPS_LEARN=1. The check sits after the placed-fills plan, before the empty-plan return.

**@⁠101Leafy** on GitHub · 2026-11-29 00:04 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1780) `101Leafy:nv/card-steps-learn` → `main` · +6 −5 · 1 files · 1 commits · open This is a port of Jake's change from AvatarManz #434, kept under his name. With card steps a submission behind flights goes at once and its fills read title memory then, but the title writes some constant buffers again between sending and landing. That threw skinned characters and the boat's vertices off with VICTORY_CARD_STEPS=1 and 2. Here what each fill of a taken submission read is compared with title memory at landing, pages that differ are learned, and a later submission with a fill on a learned page waits as it would without card steps. Where it came from it was on by default; here it is off unless VICTORY_CARD_STEPS_LEARN=1. The check sits after the placed-fills plan, before the empty-plan return.
Without card steps a submission behind flights waits, and all its fills read
title memory after that; the console's card reads a constant buffer when the
draw runs. Taken, the submission goes at once, and its fills (on the card and
the ones left to the CPU) read the bytes then. The title writes some constant
buffers again between sending and landing (at the boat five places of 240
bytes to 32 KiB read on the card and two of 32 and 544 bytes read on the CPU,
the same ones each frame): skinned characters and the boat threw vertices off
(VICTORY_CARD_STEPS=1 and 2), worse over a cutscene and with the camera moved.

What each fill of a taken submission read (read back from the buffer between,
or the upload memory it filled) is compared with title memory at landing;
pages where they differ are learned, and a submission with any fill there
waits. At the boat: no stretching, 88 ms a frame against 94 without the check
and 95 without card steps.

Here the check is off unless VICTORY_CARD_STEPS_LEARN=1 (on by default
where it came from), and it sits after the placed-fills plan, before the
empty-plan return.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 00:10:01 +00:00
github-bot force-pushed github-bot/gh-1780 from f24a479bdd to 8773ea2d51 2026-11-29 01:47:56 +00:00 Compare
github-bot force-pushed github-bot/gh-1780 from 8773ea2d51 to 1846bac947 2026-11-29 07:27:14 +00:00 Compare
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 08:28 UTC · original

Thank you! An earlier version of this pull request was merged into main with its original commits and is part of v2026.11.29.01, where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.

**@⁠trustno1-coder** on GitHub · 2026-11-29 08:28 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1780#issuecomment-7253127569) Thank you! An earlier version of this pull request was merged into main with its original commits and is part of [v2026.11.29.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.01), where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.
github-bot force-pushed github-bot/gh-1780 from 1846bac947 to d327d2b022 2026-11-29 09:17:44 +00:00 Compare
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/host/card_steps.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

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