1
0
Fork 0
forked from suyu/suyu

Merge pull request #3387 from bunnei/gpu-mpscqueue

gpu_thread: Use MPSCQueue for GPU commands.
This commit is contained in:
bunnei 2020-02-08 21:15:48 -05:00 committed by GitHub
commit e210835dd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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