2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

gpu_thread: Use MPSCQueue for GPU commands.

- Necessary for multiple service threads.
This commit is contained in:
bunnei 2020-02-01 21:01:47 -05:00
parent 90bda66028
commit b5c13ee0eb

View file

@ -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{};