Skip to content
Snippets Groups Projects
Commit b5c13ee0 authored by bunnei's avatar bunnei
Browse files

gpu_thread: Use MPSCQueue for GPU commands.

- Necessary for multiple service threads.
parent 90bda660
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ struct CommandDataContainer { ...@@ -86,7 +86,7 @@ struct CommandDataContainer {
struct SynchState final { struct SynchState final {
std::atomic_bool is_running{true}; std::atomic_bool is_running{true};
using CommandQueue = Common::SPSCQueue<CommandDataContainer>; using CommandQueue = Common::MPSCQueue<CommandDataContainer>;
CommandQueue queue; CommandQueue queue;
u64 last_fence{}; u64 last_fence{};
std::atomic<u64> signaled_fence{}; std::atomic<u64> signaled_fence{};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment