소스 검색

Merge pull request #3387 from bunnei/gpu-mpscqueue

gpu_thread: Use MPSCQueue for GPU commands.
bunnei 6 년 전
부모
커밋
e210835dd0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/video_core/gpu_thread.h

+ 1 - 1
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{};