Skip to content

Commit

Permalink
HnMaterialSRBCache: increased buffer region manager initial size
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Nov 25, 2024
1 parent c3ae7ad commit e9753f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Hydrogent/src/HnMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ class HnMaterialSRBCache : public ObjectBase<IObject>
m_BufferRegionMgr{
VariableSizeAllocationsManager::CreateInfo{
DefaultRawMemoryAllocator::GetAllocator(),
2048,
64 << 10,
true, // DisableDebugValidation,
},
},
Expand All @@ -630,7 +630,7 @@ class HnMaterialSRBCache : public ObjectBase<IObject>
DynamicBufferCreateInfo{
BufferDesc{
"Material attribs buffer",
64 << 10, // 64 KB,
0,
BIND_UNIFORM_BUFFER,
USAGE_DEFAULT,
},
Expand Down

0 comments on commit e9753f7

Please sign in to comment.