finished auto bound GlobalDescriptor

This commit is contained in:
2023-03-22 15:58:59 +08:00
parent e1c3b95de7
commit ac42dcdb26
14 changed files with 136 additions and 49 deletions

View File

@@ -125,7 +125,7 @@ bool RenderCmdBuffer::BindDescriptorSets(Renderable *ri)
if((DescriptorSetType)i==DescriptorSetType::PerObject)
{
dynamic_count=mp->GetCount();
dynamic_count=mp->GetBoundCount();
dynamic_offset=hgl_zero_new<uint32_t>(dynamic_count);
}