early-access version 2788

This commit is contained in:
pineappleEA
2022-06-16 02:27:58 +02:00
parent ca4f54b4b3
commit a67a0e1eb5
3 changed files with 75 additions and 88 deletions

View File

@@ -98,7 +98,7 @@ struct CommandDataContainer {
struct SynchState final {
using CommandQueue = Common::MPSCQueue<CommandDataContainer>;
std::mutex write_lock;
CommandQueue queue{512}; // size must be 2^n
CommandQueue queue;
u64 last_fence{};
std::atomic<u64> signaled_fence{};
std::condition_variable_any cv;