Card memory the CPU maps: scratch switch gone, what the others measured; a test
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
86694b5ad2
commit
a008b7ee8d
4 files changed
+55
-16
No files matched your search
@@ -456,7 +456,9 @@ fn window_card_for(size: u64) -> Option<ID3D12Resource> {
|
||||
/// default, none): one buffer (`D3D12_HEAP_TYPE_GPU_UPLOAD`), no CPU's side, no
|
||||
/// copy to send and no list of changes, unlike [`window_card_most`]. The CPU
|
||||
/// only writes them, as no shader is declared to write a window; if one were,
|
||||
/// its snapshot and compare would read through the bus, right but slow.
|
||||
/// its snapshot and compare would read through the bus, right but slow. In a
|
||||
/// captured frame the lists take 26 ms of the card instead of 29, the frame 32
|
||||
/// instead of 36; filling them costs the CPU what it did.
|
||||
///
|
||||
/// Windows go there while a fifth of the card's budget is free, as with
|
||||
/// [`window_room_for`], which this comes before.
|
||||
|
||||
Reference in new issue
Block a user