updated all descript set in RenderList
This commit is contained in:
parent
af4b9cd6d4
commit
3dbb1c40b7
@ -218,10 +218,10 @@ namespace hgl
|
|||||||
uint32_t first_set=0;
|
uint32_t first_set=0;
|
||||||
MaterialParameters *mp;
|
MaterialParameters *mp;
|
||||||
|
|
||||||
for(int i=(int)DescriptorSetType::BEGIN_RANGE;
|
ENUM_CLASS_FOR(DescriptorSetType,int,i)
|
||||||
i<(int)DescriptorSetType::PerObject;
|
|
||||||
i++)
|
|
||||||
{
|
{
|
||||||
|
if(i==(int)DescriptorSetType::PerObject)continue;
|
||||||
|
|
||||||
mp=ri->GetMP((DescriptorSetType)i);
|
mp=ri->GetMP((DescriptorSetType)i);
|
||||||
|
|
||||||
if(last_mp[i]!=mp)
|
if(last_mp[i]!=mp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user