You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #104044 from bruvzg/rd_pipeline_err_spam
Fix `Invalid Task ID` error spam in `PipelineHashMapRD`.
This commit is contained in:
@@ -78,6 +78,7 @@ private:
|
|||||||
|
|
||||||
void _wait_for_all_pipelines() {
|
void _wait_for_all_pipelines() {
|
||||||
thread_local LocalVector<WorkerThreadPool::TaskID> tasks_to_wait;
|
thread_local LocalVector<WorkerThreadPool::TaskID> tasks_to_wait;
|
||||||
|
tasks_to_wait.clear();
|
||||||
{
|
{
|
||||||
MutexLock local_lock(local_mutex);
|
MutexLock local_lock(local_mutex);
|
||||||
for (KeyValue<uint32_t, WorkerThreadPool::TaskID> key_value : compilation_tasks) {
|
for (KeyValue<uint32_t, WorkerThreadPool::TaskID> key_value : compilation_tasks) {
|
||||||
|
|||||||
Reference in New Issue
Block a user