mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-20 14:39:58 -04:00
Save completed pipeline cache data during NVIDIA background builds
This commit is contained in:
committed by
tangerineturtle1
parent
60ac5f5982
commit
27f93a314a
@@ -872,6 +872,7 @@ int vk_pipeline_set_indep(int on);
|
||||
typedef struct { uint64_t graphics, compute, failures, hits, layouts, push_layouts, async_built, pending_skips; } VkPipeStats;
|
||||
void vk_pipeline_stats(VkPipeStats *s);
|
||||
void vk_pipeline_save(void); // writes the VkPipelineCache to pipeline-cache.bin next to nx2navi.exe
|
||||
void vk_pipeline_save_exit(void); // final snapshot: briefly stop new cache builds, with the same bounded wait
|
||||
void vk_pipeline_autosave(void); // vk_pipeline_save at most every 20 s, when pipelines were built since
|
||||
void vk_pipeline_shutdown(void); // waits for background builds, saves, destroys pipelines, layouts and the
|
||||
// cache; before vk_shutdown
|
||||
|
||||
Reference in New Issue
Block a user