diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-29 23:52:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-29 23:52:52 -0700 |
commit | 90c3dd300f1f257c89c6a204c00914ef2022a5e2 (patch) | |
tree | 639756d6aab3023e09096374473304a32157c533 /src/video_core/gpu.h | |
parent | f072f48806851876b0e68df7293a59e170b332c4 (diff) | |
parent | 8592f8a2b4cae1320b7e152f4d3a68ac7b39bfa3 (diff) |
Merge pull request #6386 from bunnei/shutdown-fix
video_core: gpu: WaitFence: Do not block threads during shutdown.
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r-- | src/video_core/gpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 29a867863..a8e98e51b 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -389,6 +389,8 @@ private: std::unique_ptr<Engines::KeplerMemory> kepler_memory; /// Shader build notifier std::unique_ptr<VideoCore::ShaderNotify> shader_notify; + /// When true, we are about to shut down emulation session, so terminate outstanding tasks + std::atomic_bool shutting_down{}; std::array<std::atomic<u32>, Service::Nvidia::MaxSyncPoints> syncpoints{}; |