summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-29 10:06:04 +0200
committerbunnei <bunneidev@gmail.com>2021-05-29 10:06:04 +0200
commit8592f8a2b4cae1320b7e152f4d3a68ac7b39bfa3 (patch)
tree0e7ef0aa4ff134d53a46c0f1748a140c95db44fe /src/video_core/gpu.h
parentMerge pull request #6373 from bunnei/use-slabheap-tls (diff)
downloadyuzu-8592f8a2b4cae1320b7e152f4d3a68ac7b39bfa3.tar
yuzu-8592f8a2b4cae1320b7e152f4d3a68ac7b39bfa3.tar.gz
yuzu-8592f8a2b4cae1320b7e152f4d3a68ac7b39bfa3.tar.bz2
yuzu-8592f8a2b4cae1320b7e152f4d3a68ac7b39bfa3.tar.lz
yuzu-8592f8a2b4cae1320b7e152f4d3a68ac7b39bfa3.tar.xz
yuzu-8592f8a2b4cae1320b7e152f4d3a68ac7b39bfa3.tar.zst
yuzu-8592f8a2b4cae1320b7e152f4d3a68ac7b39bfa3.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/gpu.h2
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{};