diff options
author | bunnei <bunneidev@gmail.com> | 2020-02-01 21:01:47 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-02-07 23:01:23 -0500 |
commit | b5c13ee0eb803aa2e584d789e4631e61a3212700 (patch) | |
tree | c98764674302cd2a2ae9cccfdde7fa8ce47432c5 | |
parent | 90bda6602809a7133fac619b9fe712b51a723250 (diff) |
gpu_thread: Use MPSCQueue for GPU commands.
- Necessary for multiple service threads.
-rw-r--r-- | src/video_core/gpu_thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index 08dc96bb3..882e2d9c7 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h @@ -86,7 +86,7 @@ struct CommandDataContainer { struct SynchState final { std::atomic_bool is_running{true}; - using CommandQueue = Common::SPSCQueue<CommandDataContainer>; + using CommandQueue = Common::MPSCQueue<CommandDataContainer>; CommandQueue queue; u64 last_fence{}; std::atomic<u64> signaled_fence{}; |