diff options
| author | bunnei <bunneidev@gmail.com> | 2019-10-16 10:34:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-16 10:34:48 -0400 |
| commit | ef9b31783d2c6af6ec21e5a8a4a9de4e340295c7 (patch) | |
| tree | ccf16ff57bd3213bd364c6d96e1e702fe9e961a0 /src/video_core/gpu_asynch.cpp | |
| parent | 60315060b189e291e78ce190473f267208202593 (diff) | |
| parent | cfc2f30dc409cbbb36c19c74a98f3017e6d722f2 (diff) | |
Merge pull request #2912 from FernandoS27/async-fixes
General fixes to Async GPU
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 |
