mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 18:59:21 +00:00
Rename CachedBlob -> Blob; move to own file
Bug: none Change-Id: I4e0ad7fe321f6ff8d0ab1ad62de3f42daea50140 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92485 Reviewed-by: Loko Kung <lokokung@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
@@ -628,15 +628,15 @@ BlobCache* DeviceBase::GetBlobCache() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
CachedBlob DeviceBase::LoadCachedBlob(const CacheKey& key) {
|
||||
Blob DeviceBase::LoadCachedBlob(const CacheKey& key) {
|
||||
BlobCache* blobCache = GetBlobCache();
|
||||
if (!blobCache) {
|
||||
return CachedBlob();
|
||||
return Blob();
|
||||
}
|
||||
return blobCache->Load(key);
|
||||
}
|
||||
|
||||
void DeviceBase::StoreCachedBlob(const CacheKey& key, const CachedBlob& blob) {
|
||||
void DeviceBase::StoreCachedBlob(const CacheKey& key, const Blob& blob) {
|
||||
if (!blob.Empty()) {
|
||||
BlobCache* blobCache = GetBlobCache();
|
||||
if (blobCache) {
|
||||
|
||||
Reference in New Issue
Block a user