Skip to content
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,14 @@ Fill the reusable DXIL cache ahead of a run with the read-only package wrapper.
`hle,-kernelx.dll!GetTickCount,gameinput`.
- `XCL_D3D12_TRACE=1` (any value): every call console code makes to a public D3D12.X method is
logged with the interface and method name. Very verbose: use it for a short run.
- `XCL_SHADER_DEBUG_DIR=<folder>`: DXC-compiled shaders use full debug information and keep the
exact stripped DXIL submitted to D3D12, its matching PDB, generated HLSL and a JSON manifest
under that folder. Programs are compiled whole while this is set (as with `XCL_LINK_MEM=0`) so
the PDB comes from the compilation that produced the submitted DXIL. Its `cache\` is a separate
warm cache. Cache hits check the PDB against the hash saved at compilation. A mismatch or an
older manifest without that hash triggers a rebuild. Keep or remove the folder as one unit.
The files contain title-derived shader code: keep them private. Direct-DXIL translations do
not pass through DXC and therefore have no HLSL PDB.
- Title data: `%LOCALAPPDATA%\XCL\<title>\` (`%XCL_DATA_ROOT%`): `xcl.toml`, `overlay\`, `saves\`,
`pls\` (the title's `S:\`), `temp\` (`T:\`), `cache\`, `logs\xcl.log`, `logs\report.json` (the
previous run's: `xcl.prev.log`, `report.prev.json`).
Expand Down
Loading
Loading