Structure builder: root views as memory by address, windows of its own on the card, upload memory below 2^37
The ray-tracing structure builder's 52 programs translate, validate and make host pipelines on the 7900 XTX (its waves have 32-64 lanes). What kept it from working, from a first run (light-1, VICTORY_BVH_QUARANTINE=1) and the code: - a root view ends with the host copy (a 4 MiB window); structures of megabytes cross it. Programs with a spilled user-data table now reach what their root views name by address (USER_ROOT_ADDRESS), as upstream VIctory 0f637570 does. - the list's upload memory (instance descriptions) came from the process heap, above 2^40, where shaders' addresses do not reach (upstream 0f637570, 6d021fe3). - the 1,023 numbered copies of 4 MiB ran out in the first frame: pages come in windows of 256 KiB (4 MiB around what a dispatch names), 16,383 at most. - what the builder stores came back to title memory; now only what it stores in small title buffers it names (sizes the title reads). - the directory lay in the PC's memory and every access stored a fault note. - a list without a view heap gets the title's; a dropped stage rests the builder for a frame, not for the run. Off unless VICTORY_BVH_BUILDER=1, as before. VICTORY_UPLOAD_LOW=0, VICTORY_LENT_HEAP=0, VICTORY_MEMORY_WINDOW_KB, VICTORY_MEMORY_CARD_MB. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
0abcb9fd89
commit
87eb9f2449
13 files changed
+727
-177
No files matched your search
@@ -66,9 +66,16 @@ pub const USER_VIEW_ADDRESS: u32 = 0x101;
|
||||
/// begins on 16 bytes of its host buffer; the console's root views begin
|
||||
/// anywhere (the structure builder's counters sit at addresses ending in
|
||||
/// 4 and c). The shader adds the dword to every byte offset through that
|
||||
/// view. Asked for every root UAV, and for the root SRVs of programs with
|
||||
/// a spilled user-data table.
|
||||
/// view. Asked for every root UAV.
|
||||
pub const USER_VIEW_BIAS: u32 = 0x103;
|
||||
/// `RootType::Other` code of a user-data dword the host computes: the low
|
||||
/// 32 bits of the title address in the root view of root parameter `slot`;
|
||||
/// [`USER_ROOT_ADDRESS`] + 1: its bits from 32 up. Programs with a spilled
|
||||
/// user-data table (the ray-tracing structure builder's) reach what their
|
||||
/// root views name as title memory by address ([`SLOT_MEMORY`]): a root view
|
||||
/// has no size, and the host's copy of what it names may end in the middle of
|
||||
/// it (a structure of megabytes crosses the 4 MiB windows).
|
||||
pub const USER_ROOT_ADDRESS: u32 = 0x104;
|
||||
|
||||
/// `ShaderFlags` bits (metadata) and their `SFI0` feature bits.
|
||||
pub(crate) mod flags {
|
||||
|
||||
Reference in new issue
Block a user