From b5c13ee0eb803aa2e584d789e4631e61a3212700 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 1 Feb 2020 21:01:47 -0500 Subject: gpu_thread: Use MPSCQueue for GPU commands. - Necessary for multiple service threads. --- src/video_core/gpu_thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video_core/gpu_thread.h') 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; + using CommandQueue = Common::MPSCQueue; CommandQueue queue; u64 last_fence{}; std::atomic signaled_fence{}; -- cgit v1.2.3