Streaming, copy queue, texture pools and a shader cache that survives rebuilds
Textures and staging cut from 64 MB blocks; a kept view per page section and page lists read again until the title has filled them in; the GPU side told when streamed bytes land; results fetched over the copy queue (VICTORY_RELAY_COPY=1); the write-watch journal behind a reader-writer lock; the shader cache keyed by the translator's sources and `victory shaders`; helper lanes as in upstream 1733 (VICTORY_HELPER_OWN). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
204047cb5c
commit
dd3307943c
20 files changed
+1629
-232
No files matched your search
@@ -85,6 +85,15 @@ enum Command {
|
||||
#[arg(long)]
|
||||
jobs: Option<usize>,
|
||||
},
|
||||
/// Translate every shader found (as `translate` finds them) into the
|
||||
/// shader cache, so that no run has to: a few minutes, once per change
|
||||
/// of the translator.
|
||||
Shaders {
|
||||
paths: Vec<PathBuf>,
|
||||
/// Worker threads (default: every logical core).
|
||||
#[arg(long)]
|
||||
jobs: Option<usize>,
|
||||
},
|
||||
/// Prepare, map and bind a title executable; with --execute, run it.
|
||||
Run {
|
||||
exe: PathBuf,
|
||||
@@ -163,6 +172,7 @@ fn main() -> Result<()> {
|
||||
}
|
||||
translate::run(paths, validate, pipelines, list, jobs)
|
||||
}
|
||||
Command::Shaders { paths, jobs } => translate::precompile(paths, jobs),
|
||||
Command::Run {
|
||||
exe,
|
||||
unimplemented,
|
||||
|
||||
Reference in new issue
Block a user