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
@@ -1565,17 +1565,20 @@ pub(crate) fn window_use() -> [u64; 8] {
/// The next read of that memory makes a new copy and copies the window
/// again. Called before a submission starts, by the thread that submits.
pub(crate) fn let_go_idle() {
const IDLE_MS: u64 = 10_000;
const IDLE_FRAMES: u64 = 4;
let gone: Vec<Arc<Shadow>> = {
// Held from the look to the removal: `loose` hands a copy out
// under the same lock, so none is handed out in between.
let mut map = LOOSE.lock().unwrap_or_else(|e| e.into_inner());
if map.is_empty() {
return;
}
let idle_ms = crate::host::ram_idle_ms(crate::host::available_physical_ram());
let idle: Vec<(u64, u64)> = map
.iter()
.filter(|(_, s)| {
Arc::strong_count(s) == 1
&& crate::host::long_ago(s.used.load(Ordering::Relaxed), IDLE_MS, IDLE_FRAMES)
&& crate::host::long_ago(s.used.load(Ordering::Relaxed), idle_ms, IDLE_FRAMES)
&& crate::host::references(&s.buffer) == 1
})
.map(|(key, _)| *key)