Lines Matching defs:cache
299 struct vk_pipeline_cache *cache,
303 /* Use the default pipeline cache if none is specified */
304 if (cache == NULL)
305 cache = device->default_pipeline_cache;
309 vk_pipeline_cache_lookup_object(cache, key_data, key_size,
313 cache != device->default_pipeline_cache;
323 struct vk_pipeline_cache *cache,
334 /* Use the default pipeline cache if none is specified */
335 if (cache == NULL)
336 cache = device->default_pipeline_cache;
349 vk_pipeline_cache_add_object(cache, &shader->base);
358 struct vk_pipeline_cache *cache,
363 if (cache == NULL)
364 cache = device->default_pipeline_cache;
366 return vk_pipeline_cache_lookup_nir(cache, sha1_key, SHA1_KEY_SIZE,
372 struct vk_pipeline_cache *cache,
376 if (cache == NULL)
377 cache = device->default_pipeline_cache;
379 vk_pipeline_cache_add_nir(cache, sha1_key, SHA1_KEY_SIZE, nir);