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.c524 size_t size_of_entry = entry_size(entry); in radv_pipeline_cache_load() local
525 if (end - p < size_of_entry) in radv_pipeline_cache_load()
528 dest_entry = vk_alloc(&cache->alloc, size_of_entry, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_load()
530 memcpy(dest_entry, entry, size_of_entry); in radv_pipeline_cache_load()
535 p += size_of_entry; in radv_pipeline_cache_load()
621 const uint32_t size_of_entry = entry_size(entry); in radv_GetPipelineCacheData() local
622 if ((char *)end < (char *)p + size_of_entry) { in radv_GetPipelineCacheData()
627 memcpy(p, entry, size_of_entry); in radv_GetPipelineCacheData()
630 p = (char *)p + size_of_entry; in radv_GetPipelineCacheData()