summaryrefslogtreecommitdiffstats
path: root/src/video_core/fence_manager.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-19 15:49:07 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-22 17:36:15 +0200
commit96bb961a6485c2f5c8b7fb91aa0dd7eb24fa5e5d (patch)
tree3f6730c2e37f083a5b0cb1632cb810873ec71e5e /src/video_core/fence_manager.h
parentFenceManager: Implement async buffer cache flushes on High settings (diff)
downloadyuzu-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 'src/video_core/fence_manager.h')
-rw-r--r--src/video_core/fence_manager.h6
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();
}