GPU: count marked pages in frame write-back bytes #3598

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

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-27 20:07 UTC · original
andrewpozdnakov7-jpg:codex2/copyback-marked-bytes → main · +12 −9 · 2 files · 1 commits · open

The frame's copy-back timer includes work on shader-marked pages and explicit ranges. Its byte counter currently adds only the explicit range writes. Add the bytes reported by the marked-page path and record the combined total once per submission.

Windows WARP submission Main byte counter Patched byte counter
One changed marked 64 KiB page 0 65,536
One 32-byte explicit write with withheld range controls 32 32

The existing assertions for shader-written bytes, neighbouring bytes, and withheld ranges passed on both revisions. The diagnostic marked pages line exposes the marked-byte component for #3590.

The test used the repository's synthetic shaders and buffers. The copy-back time includes range processing and submission callbacks as well as the writes.

Both named submissions passed with default features and diagnostics. The full diagnostics suite passed 246 project GPU tests plus the SDK identity check, with one ignored. Strict GPU Clippy passed with default and all features, and the asset policy check passed.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-27 20:07 UTC · [original](https://github.com/Marvisak/VIctory/pull/3598) `andrewpozdnakov7-jpg:codex2/copyback-marked-bytes` → `main` · +12 −9 · 2 files · 1 commits · open The frame's copy-back timer includes work on shader-marked pages and explicit ranges. Its byte counter currently adds only the explicit range writes. Add the bytes reported by the marked-page path and record the combined total once per submission. | Windows WARP submission | Main byte counter | Patched byte counter | | --- | ---: | ---: | | One changed marked 64 KiB page | 0 | 65,536 | | One 32-byte explicit write with withheld range controls | 32 | 32 | The existing assertions for shader-written bytes, neighbouring bytes, and withheld ranges passed on both revisions. The diagnostic `marked pages` line exposes the marked-byte component for #3590. The test used the repository's synthetic shaders and buffers. The copy-back time includes range processing and submission callbacks as well as the writes. Both named submissions passed with default features and diagnostics. The full diagnostics suite passed 246 project GPU tests plus the SDK identity check, with one ignored. Strict GPU Clippy passed with default and all features, and the asset policy check passed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 20:09:23 +00:00
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-27 20:10 UTC · original

Windows CI passed on 4567d54a06f875b385603bfb954f8e8b8c188647. CI job

In the same Windows WARP synthetic submission, the marked page was written on both revisions. The frame byte counter recorded 0 on the parent and 65,536 on the patch. The explicit-range submission reported 32 bytes on both revisions, with the withheld controls and byte assertions passing. The patched tests ran with both default features and diagnostics. The next step is maintainer review.

If you cherry-pick or rebase this commit, please retain its Git author. If you fold it into another commit, please include Co-authored-by: andrewpozdnakov7-jpg <[email protected]>.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-27 20:10 UTC · [original](https://github.com/Marvisak/VIctory/pull/3598#issuecomment-7227243729) Windows CI passed on `4567d54a06f875b385603bfb954f8e8b8c188647`. [CI job](https://github.com/Marvisak/VIctory/actions/runs/46061425042/job/140716355525) In the same Windows WARP synthetic submission, the marked page was written on both revisions. The frame byte counter recorded 0 on the parent and 65,536 on the patch. The explicit-range submission reported 32 bytes on both revisions, with the withheld controls and byte assertions passing. The patched tests ran with both default features and diagnostics. The next step is maintainer review. If you cherry-pick or rebase this commit, please retain its Git author. If you fold it into another commit, please include `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>`.
This pull request can be merged automatically.
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/3598/head:github-bot/gh-3598'
git switch 'github-bot/gh-3598'

Merge

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