mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 16:25:45 +00:00
gpu_thread: Use MPSCQueue for GPU commands.
- Necessary for multiple service threads.
This commit is contained in:
parent
61e441192f
commit
fc246fd1a2
1 changed files with 1 additions and 1 deletions
|
@ -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{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue