summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2020-02-08 21:15:48 -0500
committerGravatar GitHub2020-02-08 21:15:48 -0500
commite210835dd08afff744870caf198feeb202fecbec (patch)
treeb894d70126663ad2f51ff7d3c35cfbd20a13b8ff /src
parentMerge pull request #3386 from bunnei/gpu-mem-interface (diff)
parentgpu_thread: Use MPSCQueue for GPU commands. (diff)
downloadyuzu-e210835dd08afff744870caf198feeb202fecbec.tar.gz
yuzu-e210835dd08afff744870caf198feeb202fecbec.tar.xz
yuzu-e210835dd08afff744870caf198feeb202fecbec.zip
Merge pull request #3387 from bunnei/gpu-mpscqueue
gpu_thread: Use MPSCQueue for GPU commands.
Diffstat (limited to 'src')
-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 {
86struct SynchState final { 86struct SynchState final {
87 std::atomic_bool is_running{true}; 87 std::atomic_bool is_running{true};
88 88
89 using CommandQueue = Common::SPSCQueue<CommandDataContainer>; 89 using CommandQueue = Common::MPSCQueue<CommandDataContainer>;
90 CommandQueue queue; 90 CommandQueue queue;
91 u64 last_fence{}; 91 u64 last_fence{};
92 std::atomic<u64> signaled_fence{}; 92 std::atomic<u64> signaled_fence{};