mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 13:09:57 -04:00
link_queue puts a draw's fast link on the library queue as a LibJob with p set and no library (b NULL); lib_worker and pipe_worker branch on that, but workers_drain cleared j->b->job for every queued job, a NULL dereference when vk_pipeline_shutdown found one. It now clears the library's fields only when the job has one and clears the pipeline's link_queued when it names a pipeline. Only the probes shut the pipelines down (mesh_fb_probe.c, vk_exec_probe.c); the game never does. Not reproduced before the change (the probes need approval). vk_pipeline.c compiles with no new warnings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
529 KiB
529 KiB