Measure frame-shot readbacks separately inside prelude lists #1141
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1144"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from fxceless/victory-fork. Originally posted by BradRoland on 2026-11-25T21:36:36Z.
Run 271 measured 36.1 ms in prelude lists, including the diagnostic copies of textures leaving writable states. This change lets a frame shot show how much of that interval the capture itself used.
The existing
PRELUDEevent still covers the whole list. When capture commands run, aSHOT READBACKevent on the same list covers the transition to copy source, the copies, and the restoration of the original states. Subtract its duration from the inclusive prelude duration to get the remaining GPU time. Both events use adjacent start and end slots instamps.txt. The query resolve runs after both intervals close. Lists recorded for the shot and submitted after present retain their timestamps.I reproduced the missing interval on the base revision and verified the change with two synthetic render-target arrays on D3D12 WARP. Four copied slices produced one nested interval in both normal and post-present submissions. A zero capture budget produced only the inclusive interval. The GPU crate passed all 202 enabled diagnostics tests with
cargo test -p victory-gpu --features diagnostics --locked -- --test-threads=1. The full workspace passed 586 tests withcargo test --workspace --locked -- --test-threads=1(12 ignored). Testing used synthetic data throughout.Workspace all-features Clippy reports the same ten diagnostics on this branch and on clean upstream
9c184b3.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.