From 69855ca6550430ddf16716b09bbac609eced74f3 Mon Sep 17 00:00:00 2001 From: Joseph Weiner Date: Mon, 30 Nov 2026 10:47:44 -0500 Subject: [PATCH] docs: keep fxceless builds aligned with mimalloc path --- d3d12/docs/README-fxceless.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/d3d12/docs/README-fxceless.md b/d3d12/docs/README-fxceless.md index bca384781e..57d4a21e9d 100644 --- a/d3d12/docs/README-fxceless.md +++ b/d3d12/docs/README-fxceless.md @@ -232,10 +232,12 @@ cargo test --workspace # needs no game data cargo run -p leonida -- config # check your paths ``` -Run the title: +Run the title. The `mimalloc` feature selects the process allocator used by the +NVIDIA build path; keep it enabled for parity with `d3d12/scripts/build-nvidia.ps1` +and to avoid paying the system-heap cost on every cold shader translation: ```powershell -cargo build --release -p leonida +cargo build --release -p leonida --features mimalloc target\release\leonida.exe run \ --execute ``` @@ -301,7 +303,7 @@ the translated shaders do not require it at runtime. A release build has no debugging aids. Build them in with ```powershell -cargo build --profile diag -p leonida --features diagnostics # target\diag\leonida.exe +cargo build --profile diag -p leonida --features diagnostics,mimalloc # target\diag\leonida.exe ``` The on/off switches below (`...=1`) are off when unset or set to `0`.