Merge fork main 8dd30ab: writes through one view of a page are seen at its other views
The fork's guard over every view of a physical page is kept on our own block bits, known holes, kernel writes and changing blocks; what both had, ours. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
49c44f61d3
23 files changed
+4164
-221
No files matched your search
@@ -50,6 +50,20 @@ pub fn precompile(container: &[u8]) -> Result<bool, String> {
|
||||
}
|
||||
}
|
||||
|
||||
/// The fork's offline warm-up (`victory translate --warm`), by
|
||||
/// [`precompile`]: whether it was translated now.
|
||||
pub fn warm_shader(container: &[u8]) -> Result<bool, String> {
|
||||
#[cfg(windows)]
|
||||
{
|
||||
victory_gpu::shader_cache::precompile(container).map(|was_there| !was_there)
|
||||
}
|
||||
#[cfg(not(windows))]
|
||||
{
|
||||
let _ = container;
|
||||
Err("no shader cache on this host".into())
|
||||
}
|
||||
}
|
||||
|
||||
/// Keeps the host's translations of the title's shaders in `dir` (a
|
||||
/// folder of the cache) across runs, and its compiled pipelines beside it
|
||||
/// (`pipelines`).
|
||||
|
||||
Reference in new issue
Block a user