Wipe the buffer cache in ClearCache for now.
This commit is contained in:
parent
0e44cda961
commit
692d666d57
|
@ -432,6 +432,8 @@ void BufferCache::InvalidateCache() {
|
||||||
|
|
||||||
void BufferCache::ClearCache() {
|
void BufferCache::ClearCache() {
|
||||||
// TODO(benvanik): caching.
|
// TODO(benvanik): caching.
|
||||||
|
// Temporary clear.
|
||||||
|
transient_tail_offset_ = transient_head_offset_;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace vulkan
|
} // namespace vulkan
|
||||||
|
|
Loading…
Reference in New Issue