liverpool: Num submits should be atomic
This commit is contained in:
parent
dd7d232ac3
commit
73d4aafc09
|
@ -1018,7 +1018,7 @@ private:
|
||||||
|
|
||||||
Vulkan::Rasterizer* rasterizer{};
|
Vulkan::Rasterizer* rasterizer{};
|
||||||
std::jthread process_thread{};
|
std::jthread process_thread{};
|
||||||
u32 num_submits{};
|
std::atomic<u32> num_submits{};
|
||||||
std::mutex submit_mutex;
|
std::mutex submit_mutex;
|
||||||
std::condition_variable_any submit_cv;
|
std::condition_variable_any submit_cv;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue