summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_synch.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-09-26 19:08:22 -0400
committerGravatar FernandoS272019-10-04 19:59:53 -0400
commit3f104464dec13f9ba90eaca5dafca87ee4116a60 (patch)
tree29d73dec1ba2a661a9930c63689973a65482ce3b /src/video_core/gpu_synch.h
parentNvdrv: Correct Event setup in Nvdrv (diff)
downloadyuzu-3f104464dec13f9ba90eaca5dafca87ee4116a60.tar.gz
yuzu-3f104464dec13f9ba90eaca5dafca87ee4116a60.tar.xz
yuzu-3f104464dec13f9ba90eaca5dafca87ee4116a60.zip
Core: Wait for GPU to be idle before shutting down.
Diffstat (limited to 'src/video_core/gpu_synch.h')
-rw-r--r--src/video_core/gpu_synch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/gpu_synch.h b/src/video_core/gpu_synch.h
index 5eb1c461c..c71baee89 100644
--- a/src/video_core/gpu_synch.h
+++ b/src/video_core/gpu_synch.h
@@ -24,6 +24,7 @@ public:
24 void FlushRegion(CacheAddr addr, u64 size) override; 24 void FlushRegion(CacheAddr addr, u64 size) override;
25 void InvalidateRegion(CacheAddr addr, u64 size) override; 25 void InvalidateRegion(CacheAddr addr, u64 size) override;
26 void FlushAndInvalidateRegion(CacheAddr addr, u64 size) override; 26 void FlushAndInvalidateRegion(CacheAddr addr, u64 size) override;
27 void WaitIdle() const override {}
27 28
28protected: 29protected:
29 void TriggerCpuInterrupt([[maybe_unused]] u32 syncpoint_id, 30 void TriggerCpuInterrupt([[maybe_unused]] u32 syncpoint_id,