RT-PIPELINE-PREWARM-ORDER phase 1. With the variable set to 1 the D3D12 device
appends, per compute, graphics and mesh pipeline and variant that the title
uses for the first time, one line to pipeline_order.log beside
pipeline_cache.session.bin: the description key, the variant, creation and
first-use times since the process started, the build time and whether the
handle was ready. One line of counts at exit. Off by default: nothing reads the
file yet, and a run without the variable carries no hook. It touches no cache
file, the memory gate or the compile queue.
The mesh pipeline's key folds in the MS hash (the graphics key does not cover
it). Documented in runtime/README.md and docs/d3d12_vulkan.md, and the doc test
checks the variable is read and named in both.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LEONIDA_DEVICE_TYPE, LEONIDA_ANALYTICS_FORM, LEONIDA_PACKAGE_ID,
LEONIDA_CONTENT_PACKAGES and LEONIDA_PACKAGED are read by
runtime/shims/xgameruntime.cpp and were named in no document, while the
README documents the runtime's other variables one by one.
Adds a table read from the code (default, accepted values, which call each
one changes) and tests/test_docs_env_vars.py: every LEONIDA_*/GTA6RT_*
variable that appears as a string literal in runtime/src, runtime/shims
or make_game.py is named in some tracked Markdown file, except the two the
runtime sets for itself.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>