Skip to main content

compute_cache_key

Function compute_cache_key 

Source
pub fn compute_cache_key(wgsl: &str) -> u64
Expand description

Compute a 64-bit FNV-1a hash of the given WGSL source bytes.

This is intentionally a fast, non-cryptographic hash suitable for cache-key generation.