diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-19 15:49:07 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-22 17:36:15 +0200 |
commit | 96bb961a6485c2f5c8b7fb91aa0dd7eb24fa5e5d (patch) | |
tree | 3f6730c2e37f083a5b0cb1632cb810873ec71e5e /src/video_core/fence_manager.h | |
parent | FenceManager: Implement async buffer cache flushes on High settings (diff) | |
download | yuzu-96bb961a6485c2f5c8b7fb91aa0dd7eb24fa5e5d.tar yuzu-96bb961a6485c2f5c8b7fb91aa0dd7eb24fa5e5d.tar.gz yuzu-96bb961a6485c2f5c8b7fb91aa0dd7eb24fa5e5d.tar.bz2 yuzu-96bb961a6485c2f5c8b7fb91aa0dd7eb24fa5e5d.tar.lz yuzu-96bb961a6485c2f5c8b7fb91aa0dd7eb24fa5e5d.tar.xz yuzu-96bb961a6485c2f5c8b7fb91aa0dd7eb24fa5e5d.tar.zst yuzu-96bb961a6485c2f5c8b7fb91aa0dd7eb24fa5e5d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/fence_manager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/fence_manager.h b/src/video_core/fence_manager.h index c4b190503..72ee50955 100644 --- a/src/video_core/fence_manager.h +++ b/src/video_core/fence_manager.h @@ -42,11 +42,11 @@ class FenceManager { public: void SignalFence(GPUVAddr addr, u32 value) { TryReleasePendingFences(); - TFence new_fence = CreateFence(addr, value); - QueueFence(new_fence); - fences.push(new_fence); texture_cache.CommitAsyncFlushes(); buffer_cache.CommitAsyncFlushes(); + TFence new_fence = CreateFence(addr, value); + fences.push(new_fence); + QueueFence(new_fence); rasterizer.FlushCommands(); rasterizer.SyncGuestHost(); } |