diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-04-28 23:53:46 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-04-28 23:53:46 +0200 |
commit | 2f158765240623d5aea916cafca71b86be2d6fd4 (patch) | |
tree | 394eaae3d85d20eedf248cad4c92a8bdac50cd32 /src/video_core/fence_manager.h | |
parent | MemoryManager: Fix race conditions. (diff) | |
download | yuzu-2f158765240623d5aea916cafca71b86be2d6fd4.tar yuzu-2f158765240623d5aea916cafca71b86be2d6fd4.tar.gz yuzu-2f158765240623d5aea916cafca71b86be2d6fd4.tar.bz2 yuzu-2f158765240623d5aea916cafca71b86be2d6fd4.tar.lz yuzu-2f158765240623d5aea916cafca71b86be2d6fd4.tar.xz yuzu-2f158765240623d5aea916cafca71b86be2d6fd4.tar.zst yuzu-2f158765240623d5aea916cafca71b86be2d6fd4.zip |
Diffstat (limited to 'src/video_core/fence_manager.h')
-rw-r--r-- | src/video_core/fence_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/fence_manager.h b/src/video_core/fence_manager.h index 19bbdd547..3b2f6aab6 100644 --- a/src/video_core/fence_manager.h +++ b/src/video_core/fence_manager.h @@ -64,6 +64,7 @@ public: } void SignalFence(std::function<void()>&& func) { + rasterizer.InvalidateGPUCache(); bool delay_fence = Settings::IsGPULevelHigh(); if constexpr (!can_async_check) { TryReleasePendingFences<false>(); |