aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-01 21:01:47 -0500
committerbunnei <bunneidev@gmail.com>2020-02-07 23:01:23 -0500
commitfc246fd1a28298a1e9c2959327732c09353ed94b (patch)
treec98764674302cd2a2ae9cccfdde7fa8ce47432c5 /src/video_core/gpu_thread.h
parent61e441192f0963cd9c979c10091e71c768b55aea (diff)
gpu_thread: Use MPSCQueue for GPU commands.
- Necessary for multiple service threads.
Diffstat (limited to 'src/video_core/gpu_thread.h')
-rw-r--r--src/video_core/gpu_thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h
index 08dc96bb37..882e2d9c78 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{};