diff options
author | bunnei <bunneidev@gmail.com> | 2021-09-18 20:37:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-18 20:37:40 -0700 |
commit | a9c3619d26beaaae338c5e902635147b9237350a (patch) | |
tree | b86f29a288fa5bc5a337ba61a6833fa1c89c2270 /src/video_core/gpu.cpp | |
parent | 6e376c27a327d8e123efafe49370a304cec20221 (diff) | |
parent | 84f7e7e91c441636b93accae6f7bd52f70a8ab99 (diff) |
Merge pull request #7019 from ameerj/videocore-jthread
videocore: Use std::jthread for worker threads
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 |