optimized DescriptorSets::Update

This commit is contained in:
2023-10-12 01:40:59 +08:00
parent ae85d3fc66
commit 255c7859f1
5 changed files with 22 additions and 17 deletions

View File

@@ -117,6 +117,8 @@ bool RenderCmdBuffer::BindDescriptorSets(Material *mtl)
if(mp)
{
mp->Update();
ds[count]=mp->GetVkDescriptorSet();
++count;
}