mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 11:09:56 -04:00
Say where the boot's list of compute shaders comes from: mostly the shader preparation, not play.
An installed copy's warm list has 42,344 variants, 42,142 of them from shader-prepared.bin, and its 4,066 compute shaders are what the boot kept pipelines for. The comments and the settings text said the list grew with the play history; a copy with prepared shaders held the 2.3 GiB from its first boot. Comments, docs and the ini text only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> (cherry picked from commit ea984fe05b995c5dad1e0f49c5f44de9ee8f19b2)
This commit is contained in:
@@ -2685,9 +2685,9 @@ static void outside_watch(uint64_t frame) {
|
||||
// One line per boot stage (vk_pipeline.c calls it after the pipeline cache load, the shader prewarm, the recorded
|
||||
// pipelines and the compute pipeline prebuild): the device-local memory in use, the part of it VMA did not allocate
|
||||
// (outside_watch's "outside VMA": pipelines and the driver's own, before the swapchain and the upscaler exist), and the
|
||||
// process's commit and working set. Subtracting two lines gives what a stage left behind: with a long play history the
|
||||
// boot's compute pipelines alone held 2.3 GiB of device memory on an RTX 5090 (4,066 pipelines kept, 95 of them
|
||||
// dispatched before the first village), which is what this line was added to place.
|
||||
// process's commit and working set. Subtracting two lines gives what a stage left behind: on an installed copy with
|
||||
// its prepared shader list the boot's compute pipelines alone held 2.3 GiB of device memory on an RTX 5090 (4,066
|
||||
// pipelines kept, 95 of them dispatched before the first village), which is what this line was added to place.
|
||||
void vk_mem_stage_log(const char *stage) {
|
||||
VkCtx *c = vk_ctx();
|
||||
double proc, used, limit;
|
||||
|
||||
Reference in New Issue
Block a user