Skip to main content

pipeline_cache_dir

Function pipeline_cache_dir 

Source
pub fn pipeline_cache_dir() -> Option<PathBuf>
Expand description

Directory the renderer persists driver pipeline blobs to (a serialized VkPipelineCache, a D3D12 pipeline library), keyed per adapter. Unlike shader_cache_dir artifacts these are machine code tied to one GPU and driver, so they resolve under the writable-state dir only and never ship in a bundle. A sibling of shader-cache/ rather than a subdirectory, since the shader cache prunes its directory by age and would reclaim these.