summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-08 21:15:48 -0500
committerGitHub <noreply@github.com>2020-02-08 21:15:48 -0500
commite210835dd08afff744870caf198feeb202fecbec (patch)
treeb894d70126663ad2f51ff7d3c35cfbd20a13b8ff
parent6536cc97410bc20e2bb9c81620c15f353e1ed97f (diff)
parentb5c13ee0eb803aa2e584d789e4631e61a3212700 (diff)
Merge pull request #3387 from bunnei/gpu-mpscqueue
gpu_thread: Use MPSCQueue for GPU commands.
-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 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{};