Wipe the buffer cache in ClearCache for now.

This commit is contained in:
Dr. Chat 2016-03-25 16:50:06 -05:00
parent 0e44cda961
commit 692d666d57
1 changed files with 2 additions and 0 deletions

View File

@ -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