diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-16 02:32:54 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-16 02:49:07 +0200 |
commit | 877cd60b00a3f827062fdaff93183b52174ec134 (patch) | |
tree | ddcd7153dade611b9200c1867cfa643719696e25 /src/video_core/gpu.cpp | |
parent | threadsafe_queue: Add std::stop_token overload to PopWait (diff) | |
download | yuzu-877cd60b00a3f827062fdaff93183b52174ec134.tar yuzu-877cd60b00a3f827062fdaff93183b52174ec134.tar.gz yuzu-877cd60b00a3f827062fdaff93183b52174ec134.tar.bz2 yuzu-877cd60b00a3f827062fdaff93183b52174ec134.tar.lz yuzu-877cd60b00a3f827062fdaff93183b52174ec134.tar.xz yuzu-877cd60b00a3f827062fdaff93183b52174ec134.tar.zst yuzu-877cd60b00a3f827062fdaff93183b52174ec134.zip |
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r-- | src/video_core/gpu.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index ff024f530..2ae3639b5 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -531,14 +531,6 @@ void GPU::TriggerCpuInterrupt(const u32 syncpoint_id, const u32 value) const { interrupt_manager.GPUInterruptSyncpt(syncpoint_id, value); } -void GPU::ShutDown() { - // Signal that threads should no longer block on syncpoint fences - shutting_down.store(true, std::memory_order_relaxed); - sync_cv.notify_all(); - - gpu_thread.ShutDown(); -} - void GPU::OnCommandListEnd() { if (is_async) { // This command only applies to asynchronous GPU mode |