From 3c9015621e931f5e9ff43027d265957740773914 Mon Sep 17 00:00:00 2001 From: romeawayfromhome-rgb Date: Tue, 1 Dec 2026 05:12:53 -0800 Subject: [PATCH] README: document XCL_RESIDENCY_PRIORITY --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 62d4178157..3450465268 100644 --- a/README.md +++ b/README.md @@ -410,6 +410,12 @@ Fill the reusable DXIL cache ahead of a run with the read-only package wrapper. console shaders' hashes (`cs`, `vs` / `ps`, `ms` / `ps`, `vs` / `gs` / `ps`). - `XCL_TEXTURE_LEVEL_PAGES=1` gives sampled title textures backing as their mip levels stream in. Zero-filled mip uploads in a batch share one staging span and still clear any mapped tiles. +- `XCL_RESIDENCY_PRIORITY=1` gives XCL's own video-memory heaps a D3D12 residency priority by + role: render-target arenas, the sparse windows' tile pools, and texture page pools holding a + render target, depth buffer or unordered-access texture get HIGH, so under video-memory pressure + Windows demotes other texture pages first; other texture pages keep the default. The priority is + set when a heap is made, nothing is called per frame, and a failure is logged once and leaves the + heap at the default. Off by default; only `1` turns it on. - `XCL_DSTORAGE_PARALLEL_DECOMPRESS=1` enables parallel CPU decompression for file-backed zlib requests with virtual destinations. Defaults: four workers and a shared 32 MiB staging budget (`XCL_DSTORAGE_WORKERS`, `XCL_DSTORAGE_MEMORY_BUDGET_MIB`). Requests retire in queue order.