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:
fxcelessandClaude Fable 5.2 committed 2026-11-24 19:00:31 -05:00
1 parent 43ebd22d7d
commit a56ad16e30
22 files changed
+1147 -64

No files matched your search

+5 -2
View File
@@ -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;