Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions d3d12/docs/README-fxceless.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <game dir>\<the title's exe> --execute
```

Expand Down Expand Up @@ -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`.
Expand Down