summaryrefslogtreecommitdiffstats
path: root/src/video_core/fence_manager.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-04-28 23:53:46 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-04-28 23:53:46 +0200
commit2f158765240623d5aea916cafca71b86be2d6fd4 (patch)
tree394eaae3d85d20eedf248cad4c92a8bdac50cd32 /src/video_core/fence_manager.h
parentMemoryManager: Fix race conditions. (diff)
downloadyuzu-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.h1
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>();