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`.