mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-20 23:19:57 -04:00
ready_note records a pipeline in pipeline-keys.bin at its fast link from p->job's state. When the pool's whole build of a pipeline failed before its queued fast link ran, job_build had cleared p->job and recorded nothing (it records only a built pipeline), so u_run's link made the pipeline usable without a record, and every later start linked it again at its first draw. graphics()' own link has the same gap, since gpl_link releases P.lock. ready_note now takes the state each caller built the pipeline from (u_run the LibJob's, lib_worker, pipe_worker, job_build and warm_builder their job's, graphics() its own) and records from it when the job is gone; a prebuild job's link is still not recorded. keys_note takes each record once, under P.lock, which every caller holds. Not reproduced before the change (it needs a failed optimised build). vk_pipeline.c compiles with no new warnings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
531 KiB
531 KiB