diff options
Diffstat (limited to 'src/video_core/gpu_thread.h')
| -rw-r--r-- | src/video_core/gpu_thread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index d384164de..cb901c22a 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h | |||
| @@ -101,7 +101,8 @@ struct CommandDataContainer { | |||
| 101 | struct SynchState final { | 101 | struct SynchState final { |
| 102 | std::atomic_bool is_running{true}; | 102 | std::atomic_bool is_running{true}; |
| 103 | 103 | ||
| 104 | using CommandQueue = Common::MPSCQueue<CommandDataContainer>; | 104 | using CommandQueue = Common::SPSCQueue<CommandDataContainer>; |
| 105 | std::mutex write_lock; | ||
| 105 | CommandQueue queue; | 106 | CommandQueue queue; |
| 106 | u64 last_fence{}; | 107 | u64 last_fence{}; |
| 107 | std::atomic<u64> signaled_fence{}; | 108 | std::atomic<u64> signaled_fence{}; |