upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/bcpack.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-12-01 00:51:55 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-12-01 00:51:55 -0500
commitd22cd3b6bb3a4866eef5832ab0416b612dfff34b (patch)
treed6b55b24082b648bfbc1e017defc34d5c6cd417f /runtime/src/bcpack.cpp
parent9ddc22e99cb36994593967020291e379287f1d34 (diff)
The precompile puts its pipelines into the pipeline library, which the game loads them from
The precompile (`leonida warm`) left the pipelines it made to the driver's own cache on disk, and the game's runs did not take them from it: right after a precompile that had made them, 1,100 to 2,300 pipelines were "being made" in the first world frames (runs d257, d285, d286, d287), compiled again at a few to thirty a second while frames took 2 to 10 s (the launcher waits up to 10 s a frame for a pipeline), and in d287 none of the driver's cache files was written in the four minutes the game compiled 1,700 pipelines. The game loads pipelines from the pipeline library (a run of 2026-11-27: 2,338 loaded, none made), which it writes only at a run's normal end, and the library on this PC was last written on 2026-11-29: every change of the translator since meant minutes of compiling in the world at the next start. After making them, the precompile now puts those of this translation that are not in the library yet into it, in one process of its own (`warm --store`): with the library and the static sampler list in use before its device is made, as the game has them, each pipeline is loaded by the name the game looks it up by or made (from the driver's cache the processes before filled) and stored; then the library is written. They are noted in `library-done.txt` only once it is written; a store that fails leaves things as they were. `LEONIDA_WARM_LIBRARY=0` leaves the library alone, as before. AI-assisted (Claude). Tested on RTX 4060 Ti 16 GB, driver 616.64: type-checked; checked in a run of the game right after this commit (see the next one). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/bcpack.cpp')
0 files changed, 0 insertions, 0 deletions