updated all descript set in RenderList

This commit is contained in:
HuYingzhuo(hugo/hyzboy) 2023-02-22 21:59:35 +08:00
parent af4b9cd6d4
commit 3dbb1c40b7

View File

@ -218,10 +218,10 @@ namespace hgl
uint32_t first_set=0;
MaterialParameters *mp;
for(int i=(int)DescriptorSetType::BEGIN_RANGE;
i<(int)DescriptorSetType::PerObject;
i++)
ENUM_CLASS_FOR(DescriptorSetType,int,i)
{
if(i==(int)DescriptorSetType::PerObject)continue;
mp=ri->GetMP((DescriptorSetType)i);
if(last_mp[i]!=mp)