Skip to content
Draft
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,21 @@ xcl shaders D:\data\shaders.rpf --top 50 # pack statistics; --recomp / --compi
xcl shaders D:\data\shaders.rpf --precompile --only cs --pipelines # build compute pipelines and save driver blobs for the next run
xcl shaders D:\data\shaders.rpf --export-hlsl out --record-hash HEX # exact compute HLSL for investigation
xcl shaders D:\data\shaders.rpf --measure-pso HEX --repeat 3 # cold driver PSO timing (cache disabled)
xcl shaders D:\data\shaders.rpf --explain --sample 20 # compile-cost report per program (HLSL+DXC and direct DXIL)
xcl rpf D:\data\shaders.rpf --extract NAME --out folder
```

- `--explain` reports, per console program (picked with `--hash H[,H]` or a seeded `--sample N
--seed S`), the guest program's instruction classes and control flow, the HLSL size by the
instruction that wrote it, DXC's time per pass (with the SDK's `dxc.exe`, run with the
arguments a title's compile uses), and the DXIL's structure (blocks, phis, values, calls) for
the HLSL path and the direct translator. Counts are *portable*: equal on any machine with the
same commit, DXC and options (the `portable digest` line). Times and memory are *local*.
Programs are named by hash only, so a report holds no game data. Each `dxc.exe` and XCL
itself are capped at `--mem-gb` of commit (default 8), and DXC is stopped after
`--dxc-timeout` seconds (default 600): a program past a limit is reported as unfinished
instead of growing the page file.

- **Without a command line** (xcl.exe opened from Explorer) XCL shows a small menu: *Choose a
game…* (pick its exe or `MicrosoftGame.config`) or *Run again* (the last one). On an error the
window stays open until Enter.
Expand Down
Loading
Loading