From a05aad7187de41a95a334c3fd25829ecf4e34cf7 Mon Sep 17 00:00:00 2001 From: romeawayfromhome-rgb Date: Mon, 30 Nov 2026 17:11:14 -0800 Subject: [PATCH] README: document XCL_TWO_PASS_MB --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 62d4178157..110860235b 100644 --- a/README.md +++ b/README.md @@ -357,6 +357,9 @@ Fill the reusable DXIL cache ahead of a run with the read-only package wrapper. watchdog for a GPU queue wait (5000 ms). A value that is not a number above 0 keeps the default. Expiry stops the title before later GPU work is submitted; it never treats elapsed time as proof that the waited-for work completed. + - `XCL_TWO_PASS_MB=n`: caps the two-pass buffers alive at once at `n` MiB; a draw whose + buffer would pass the cap is skipped. Unset, or not a whole number, the cap comes from + the DXGI video-memory budget instead (1024 MiB when no budget is known). - Retired two-pass mesh buffers from tracked command lists can be reused once all GPU submissions that used them complete, even while the title still holds the command allocator. - Direct two-pass mesh draws can reuse one smaller record buffer across several slices when