diff options
author | bunnei <bunneidev@gmail.com> | 2019-10-16 16:34:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-16 16:34:48 +0200 |
commit | ef9b31783d2c6af6ec21e5a8a4a9de4e340295c7 (patch) | |
tree | ccf16ff57bd3213bd364c6d96e1e702fe9e961a0 /src/video_core/gpu_asynch.cpp | |
parent | Merge pull request #2984 from lioncash/fallthrough2 (diff) | |
parent | AsyncGpu: Address Feedback (diff) | |
download | yuzu-ef9b31783d2c6af6ec21e5a8a4a9de4e340295c7.tar yuzu-ef9b31783d2c6af6ec21e5a8a4a9de4e340295c7.tar.gz yuzu-ef9b31783d2c6af6ec21e5a8a4a9de4e340295c7.tar.bz2 yuzu-ef9b31783d2c6af6ec21e5a8a4a9de4e340295c7.tar.lz yuzu-ef9b31783d2c6af6ec21e5a8a4a9de4e340295c7.tar.xz yuzu-ef9b31783d2c6af6ec21e5a8a4a9de4e340295c7.tar.zst yuzu-ef9b31783d2c6af6ec21e5a8a4a9de4e340295c7.zip |
Diffstat (limited to 'src/video_core/gpu_asynch.cpp')
-rw-r--r-- | src/video_core/gpu_asynch.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/gpu_asynch.cpp b/src/video_core/gpu_asynch.cpp index f2a3a390e..04222d060 100644 --- a/src/video_core/gpu_asynch.cpp +++ b/src/video_core/gpu_asynch.cpp @@ -44,4 +44,8 @@ void GPUAsynch::TriggerCpuInterrupt(const u32 syncpoint_id, const u32 value) con interrupt_manager.GPUInterruptSyncpt(syncpoint_id, value); } +void GPUAsynch::WaitIdle() const { + gpu_thread.WaitIdle(); +} + } // namespace VideoCommon |