Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/vulkan/
DRendererVk.cpp539 constexpr size_t kBlobHeaderSize = sizeof(uint8_t); in CompressAndStorePipelineCacheVk() local
543 kMaxBlobCacheSize - kBlobHeaderSize); in CompressAndStorePipelineCacheVk()
555 if (!keyData.resize(kBlobHeaderSize + chunkSize)) in CompressAndStorePipelineCacheVk()
562 memcpy(keyData.data() + kBlobHeaderSize, compressedData.data() + compressedOffset, in CompressAndStorePipelineCacheVk()
632 constexpr size_t kBlobHeaderSize = sizeof(uint8_t); in GetAndDecompressPipelineCacheVk() local
636 keyData.size() < kBlobHeaderSize) in GetAndDecompressPipelineCacheVk()
644 size_t chunkSize = keySize - kBlobHeaderSize; in GetAndDecompressPipelineCacheVk()
660 keyData.size() < kBlobHeaderSize) in GetAndDecompressPipelineCacheVk()
668 chunkSize = keySize - kBlobHeaderSize; in GetAndDecompressPipelineCacheVk()
679 memcpy(compressedData.data() + compressedSize, keyData.data() + kBlobHeaderSize, chunkSize); in GetAndDecompressPipelineCacheVk()