Report indirect command counts in diagnostics #809

Open
juliptree wants to merge 1 commit from upstream-pr/810 into main
juliptree commented 2026-11-25 08:30:02 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by juliptree on 2026-11-25T08:30:02Z.


Related to #107.

Adds diagnostics-only counts for incoming indirect calls, requested maximum records, multi-record calls, recorded host ExecuteIndirect calls, and clamp dispatches. These are recording-side counters. Requested records are upper bounds when a GPU count buffer is present.

Validated commit cb54cca on Windows 11 25H2 with Rust 1.98.1. The exact synthetic counter test ran once and passed, and the diagnostics build succeeded. No game files were used. Live logging and performance impact remain unverified.

If someone can test the same cutscene as #107, could you share three warm-cache timing windows with the “indirect commands recorded” lines and corresponding GPU timing lines?

AI-assisted with Codex.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6600383683 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/810). Originally posted by [juliptree](https://github.com/juliptree) on 2026-11-25T08:30:02Z. --- Related to #107. Adds diagnostics-only counts for incoming indirect calls, requested maximum records, multi-record calls, recorded host `ExecuteIndirect` calls, and clamp dispatches. These are recording-side counters. Requested records are upper bounds when a GPU count buffer is present. Validated commit `cb54cca` on Windows 11 25H2 with Rust 1.98.1. The exact synthetic counter test ran once and passed, and the diagnostics build succeeded. No game files were used. Live logging and performance impact remain unverified. If someone can test the same cutscene as #107, could you share three warm-cache timing windows with the “indirect commands recorded” lines and corresponding GPU timing lines? AI-assisted with Codex.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/810:upstream-pr/810'
git switch 'upstream-pr/810'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/810'
git switch 'upstream-pr/810'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/810'
git switch 'upstream-pr/810'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/810'
git switch 'main'
git merge --squash 'upstream-pr/810'
git switch 'main'
git merge --ff-only 'upstream-pr/810'
git switch 'main'
git merge 'upstream-pr/810'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
fxceless/victory-fork!809
No description provided.