Skip to content

Commit e9753f7

Browse files
HnMaterialSRBCache: increased buffer region manager initial size
1 parent c3ae7ad commit e9753f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Hydrogent/src/HnMaterial.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ class HnMaterialSRBCache : public ObjectBase<IObject>
621621
m_BufferRegionMgr{
622622
VariableSizeAllocationsManager::CreateInfo{
623623
DefaultRawMemoryAllocator::GetAllocator(),
624-
2048,
624+
64 << 10,
625625
true, // DisableDebugValidation,
626626
},
627627
},
@@ -630,7 +630,7 @@ class HnMaterialSRBCache : public ObjectBase<IObject>
630630
DynamicBufferCreateInfo{
631631
BufferDesc{
632632
"Material attribs buffer",
633-
64 << 10, // 64 KB,
633+
0,
634634
BIND_UNIFORM_BUFFER,
635635
USAGE_DEFAULT,
636636
},

0 commit comments

Comments
 (0)