mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-20 02:15:34 +00:00
Add areShadersReady poll function
This commit is contained in:
@@ -248,6 +248,10 @@ public:
|
||||
m_backcv.wait(lk, [this]() { return m_outstandingTasks == 0 || !m_running; });
|
||||
}
|
||||
|
||||
bool isReady() {
|
||||
return m_outstandingTasks == 0 || !m_running;
|
||||
}
|
||||
|
||||
PipelineCompileQueue() {
|
||||
unsigned int numThreads = std::thread::hardware_concurrency();
|
||||
if (numThreads > 1)
|
||||
|
||||
Reference in New Issue
Block a user