mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-12 22:27:57 -05:00
GPU: Add Reactive flushing
This commit is contained in:
@ -55,8 +55,8 @@ public:
|
||||
|
||||
// Unlike other fences, this one doesn't
|
||||
void SignalOrdering() {
|
||||
std::scoped_lock lock{buffer_cache.mutex};
|
||||
buffer_cache.AccumulateFlushes();
|
||||
std::function<void()> do_nothing([]{});
|
||||
SignalFence(std::move(do_nothing));
|
||||
}
|
||||
|
||||
void SyncOperation(std::function<void()>&& func) {
|
||||
|
Reference in New Issue
Block a user