Card memory the CPU maps: windows, sends and scratch (VICTORY_WINDOWS_BAR_MB, VICTORY_SEND_BAR, VICTORY_SCRATCH_BAR); the card's own stamps (VICTORY_CARD_SPANS)

GPU_UPLOAD heaps, all off by default. Replayed yard frame (capture
play-1125-0127): 36.3 ms; windows in the card's memory 31.9, sends 32.7.
Replay: --pace, --breadcrumbs, copies counted by the memory they cross.
VICTORY_GPU_LOAD_MS: what the title's GPU timestamps show.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 03:35:03 -06:00
1 parent ad30f2cb1f
commit bd68f5e175
9 files changed
+549 -12

No files matched your search

+4
View File
@@ -833,6 +833,10 @@ impl State {
/// Viewports, scissors, the blend factor and the stencil reference: set
/// on the host list at once, and kept for [`State::replay`].
pub(crate) fn set_viewports(&mut self, list: &HostList, viewports: &[D3D12_VIEWPORT]) {
#[cfg(feature = "diagnostics")]
if let Some(v) = viewports.first() {
crate::host::spans::viewport(v.Width as u32, v.Height as u32);
}
self.viewports.clear();
self.viewports.extend_from_slice(viewports);
crate::draw::viewports(list, viewports);