Skip to main content

Crate katra_cache

Crate katra_cache 

Source
Expand description

katra-cache — the layered persistent cache (Katra3D §18).

Layers: 1 = DXIL identity, 2 = translated semantic IR, 3 = SPIR-V, 4 = pipeline descriptor → driver pipeline cache.

A driver update invalidates layer 4 without destroying reusable higher-level artifacts (layers 1–3). Identity is content-addressed; writes are atomic (temp + rename); the index tolerates corruption.

Re-exports§

pub use store::CacheEntry;
pub use store::CacheKey;
pub use store::CacheMetrics;
pub use store::CacheStore;

Modules§

store
The content-addressed persistent store.