A list makes a view its tables hold once and copies its descriptor (VICTORY_LIST_VIEWS=0: for every table); a draw's tables are gone through without memory of the heap
The recording job the frame waits for last (24 of 65 ms, timeline waits-2) is 2,500 indirect dispatches, each with a table of its own that differs in a constant buffer. VICTORY_AB can turn VICTORY_MAP_THREADS (8 or 1) too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
a1bdba4cf9
commit
4e77a8795b
5 files changed
+326
-29
No files matched your search
@@ -1264,6 +1264,11 @@ const GROUP: usize = 64;
|
||||
/// queue once at a time. In a bench (60,000 views, five threads changing
|
||||
/// protections) one thread mapped 1,500 pages a second, eight 30,000.
|
||||
fn side_by_side() -> usize {
|
||||
// Diagnostics: 1 and 8 by turns.
|
||||
#[cfg(all(windows, feature = "diagnostics"))]
|
||||
if let Some(on) = victory_gpu::switched("VICTORY_MAP_THREADS") {
|
||||
return if on { 8 } else { 1 };
|
||||
}
|
||||
static THREADS: LazyLock<usize> = LazyLock::new(|| {
|
||||
std::env::var("VICTORY_MAP_THREADS").ok().and_then(|v| v.trim().parse().ok()).unwrap_or(8).clamp(1, 32)
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user