Address feedback, add CR notice, etc

This commit is contained in:
Fernando Sahmkow 2023-05-04 03:16:57 +02:00
parent ab0c0a469c
commit 6f90dff293
5 changed files with 18 additions and 10 deletions

View file

@ -55,7 +55,12 @@ public:
// Unlike other fences, this one doesn't
void SignalOrdering() {
std::function<void()> do_nothing([]{});
std::scoped_lock lock{buffer_cache.mutex};
buffer_cache.AccumulateFlushes();
}
void SignalReference() {
std::function<void()> do_nothing([] {});
SignalFence(std::move(do_nothing));
}