diff options
Diffstat (limited to 'src/video_core/fence_manager.h')
| -rw-r--r-- | src/video_core/fence_manager.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/fence_manager.h b/src/video_core/fence_manager.h index 850d6f27d..35d699bbf 100644 --- a/src/video_core/fence_manager.h +++ b/src/video_core/fence_manager.h | |||
| @@ -55,7 +55,12 @@ public: | |||
| 55 | 55 | ||
| 56 | // Unlike other fences, this one doesn't | 56 | // Unlike other fences, this one doesn't |
| 57 | void SignalOrdering() { | 57 | void SignalOrdering() { |
| 58 | std::function<void()> do_nothing([]{}); | 58 | std::scoped_lock lock{buffer_cache.mutex}; |
| 59 | buffer_cache.AccumulateFlushes(); | ||
| 60 | } | ||
| 61 | |||
| 62 | void SignalReference() { | ||
| 63 | std::function<void()> do_nothing([] {}); | ||
| 59 | SignalFence(std::move(do_nothing)); | 64 | SignalFence(std::move(do_nothing)); |
| 60 | } | 65 | } |
| 61 | 66 | ||