From e9753f7f4563e65c2148c7292f937c29ce829c12 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 25 Nov 2024 14:41:29 -0800 Subject: [PATCH] HnMaterialSRBCache: increased buffer region manager initial size --- Hydrogent/src/HnMaterial.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hydrogent/src/HnMaterial.cpp b/Hydrogent/src/HnMaterial.cpp index bdff56e9..a42faa72 100644 --- a/Hydrogent/src/HnMaterial.cpp +++ b/Hydrogent/src/HnMaterial.cpp @@ -621,7 +621,7 @@ class HnMaterialSRBCache : public ObjectBase m_BufferRegionMgr{ VariableSizeAllocationsManager::CreateInfo{ DefaultRawMemoryAllocator::GetAllocator(), - 2048, + 64 << 10, true, // DisableDebugValidation, }, }, @@ -630,7 +630,7 @@ class HnMaterialSRBCache : public ObjectBase DynamicBufferCreateInfo{ BufferDesc{ "Material attribs buffer", - 64 << 10, // 64 KB, + 0, BIND_UNIFORM_BUFFER, USAGE_DEFAULT, },