mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 09:19:58 -04:00
With the graphics pipeline library a draw's first pipeline is linked from stage libraries, and the optimised build replaces it when ready. The fast link was kept until the process ended, so each pipeline a run drew held the driver memory of two: one play session replaced 907 fast links while the video memory outside the allocator, where the driver keeps compiled pipelines, grew by 491 MiB, and a 68,400-frame session grew it from 1,672 to 2,485 MiB. The replaced fast link is now destroyed on the completion thread once the GPU is past the submission being recorded and one after it. The draws read the pipeline from the cache entry each time they record and keep no handle past their submission, so none can name the old one later. The gpl log line counts the fast links given back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
512 KiB
512 KiB