mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 17:59:58 -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:
@@ -116,10 +116,11 @@ keeps per-core data without locks and relies on that, so the host models it (`ru
|
||||
at a new state, an optimised pipeline replacing it from a background thread. A draw whose pipeline is not ready is
|
||||
skipped when one of its pass's targets was rendered in the previous frame, and waits otherwise. Compute pipelines
|
||||
are compiled outside the pipeline lock, and one compile serves every thread that needs it. The boot builds the
|
||||
pipeline of every compute shader play recorded, but keeps only those of the shaders dispatched most recently
|
||||
(`compute-used.bin`, `compute_keep`): the others go into the pipeline cache and are destroyed, and their first
|
||||
dispatch creates them from it. A kept pipeline holds driver memory whether it is used or not, and the recorded list
|
||||
grows with the play history (`runtime/vk_pipeline.c`, "compute pipelines the boot keeps").
|
||||
pipeline of every compute shader play recorded or the shader preparation listed, but keeps only those of the shaders
|
||||
dispatched most recently (`compute-used.bin`, `compute_keep`): the others go into the pipeline cache and are
|
||||
destroyed, and their first dispatch creates them from it. A kept pipeline holds driver memory whether it is used or
|
||||
not, and the list has thousands of compute shaders a session never dispatches (`runtime/vk_pipeline.c`, "compute
|
||||
pipelines the boot keeps").
|
||||
- The game's tensor-core upscaler is replaced by a decode-and-scale pass (`vk_tonemap.c`); `vk_fsr.c` runs AMD FSR 1
|
||||
(EASU, RCAS) on the present when the window is larger than the picture.
|
||||
- HDR (`vk_hdr.c`): the game tonemaps its scene into a float target, upscales it, draws the HUD into a second float
|
||||
|
||||
Reference in New Issue
Block a user