diff options
| author | 2020-02-08 21:15:48 -0500 | |
|---|---|---|
| committer | 2020-02-08 21:15:48 -0500 | |
| commit | e210835dd08afff744870caf198feeb202fecbec (patch) | |
| tree | b894d70126663ad2f51ff7d3c35cfbd20a13b8ff /src | |
| parent | Merge pull request #3386 from bunnei/gpu-mem-interface (diff) | |
| parent | gpu_thread: Use MPSCQueue for GPU commands. (diff) | |
| download | yuzu-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.h | 2 |
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 { | |||
| 86 | struct SynchState final { | 86 | struct 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{}; |