vk: Lazy register/derigeter of hot data

This commit is contained in:
kd-11 2025-06-13 13:15:22 +03:00 committed by kd-11
parent 93e6aa6310
commit 2ae9753d79
5 changed files with 40 additions and 24 deletions

View file

@ -402,7 +402,8 @@ namespace vk
break;
}
bind_sets[count++] = set.m_descriptor_set.value(); // Current set pointer for binding
bind_sets[count++] = set.m_descriptor_set.value(); // Current set pointer for binding
set.m_descriptor_set.on_bind(); // Notify async queue
set.next_descriptor_set(); // Flush queue and update pointers
}