Take the test/fx-prs branch of asdaasdsaddf's fork (as one commit)
Double-precision shader instructions (v_cvt_f32_f64, v_add_f64 sums, the makeDouble overload name and flag), a first half of a paired interpolation read as data, sooner eviction of idle textures and caches under memory pressure, a retried DirectStorage destination write, the texture catch-up budget, VICTORY_FIRSTLANE_OWN, and zlib-rs in place of miniz_oxide. Left out: the fork's personal launcher scripts and its readme. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
1 parent
2119b0e44c
commit
3bff182ef4
22 files changed
+1147
-64
No files matched your search
@@ -363,13 +363,16 @@ pub(crate) fn removal_note() -> String {
|
||||
/// (hundreds of thousands of pages), once after each burst of loads.
|
||||
/// `VICTORY_LIBRARY_TRIM=0`: the pages stay until Windows takes them.
|
||||
pub(crate) fn trim() {
|
||||
const QUIET_MS: u64 = 10_000;
|
||||
static ON: OnceLock<bool> = OnceLock::new();
|
||||
let (at, len) = (VIEW[0].load(Ordering::Relaxed), VIEW[1].load(Ordering::Relaxed));
|
||||
if at == 0
|
||||
|| TRIMMED.load(Ordering::Relaxed)
|
||||
|| crate::host::now_ms() < LOADED_AT.load(Ordering::Relaxed) + QUIET_MS
|
||||
|| !*ON.get_or_init(|| std::env::var_os("VICTORY_LIBRARY_TRIM").is_none_or(|v| v != "0"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
let quiet_ms = crate::host::ram_idle_ms(crate::host::available_physical_ram());
|
||||
if crate::host::now_ms() < LOADED_AT.load(Ordering::Relaxed) + quiet_ms
|
||||
|| TRIMMED.swap(true, Ordering::Relaxed)
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user