Home
last modified time | relevance | path

Searched refs:size_of_entry (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c590 size_t size_of_entry = entry_size(entry); in radv_pipeline_cache_load() local
591 if (end - p < size_of_entry) in radv_pipeline_cache_load()
594 dest_entry = vk_alloc(&cache->alloc, size_of_entry, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_load()
596 memcpy(dest_entry, entry, size_of_entry); in radv_pipeline_cache_load()
602 p += size_of_entry; in radv_pipeline_cache_load()
688 const uint32_t size_of_entry = entry_size(entry); in radv_GetPipelineCacheData() local
689 if ((char *)end < (char *)p + size_of_entry) { in radv_GetPipelineCacheData()
694 memcpy(p, entry, size_of_entry); in radv_GetPipelineCacheData()
698 p = (char *)p + size_of_entry; in radv_GetPipelineCacheData()