summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-09 03:15:48 +0100
committerGitHub <noreply@github.com>2020-02-09 03:15:48 +0100
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
yuzu-e210835dd08afff744870caf198feeb202fecbec.tar.gz
yuzu-e210835dd08afff744870caf198feeb202fecbec.tar.bz2
yuzu-e210835dd08afff744870caf198feeb202fecbec.tar.lz
yuzu-e210835dd08afff744870caf198feeb202fecbec.tar.xz
yuzu-e210835dd08afff744870caf198feeb202fecbec.tar.zst
yuzu-e210835dd08afff744870caf198feeb202fecbec.zip
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 {
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{};