From df95930481f0c0fcc1f0c31618e5d9b19b04adc0 Mon Sep 17 00:00:00 2001 From: BZLZHH Date: Sun, 15 Jun 2025 10:33:17 +0800 Subject: [PATCH] [Fix] (DiligentEngine): Increase the size of dynamic heap buffer. --- MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp b/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp index e969b28e..63291cae 100644 --- a/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp +++ b/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp @@ -362,6 +362,8 @@ namespace MG_Diligent { it->second.source, infoLog); if (spirv.empty()) { + MG_Util::Debug::LogE("Shader Source for %u:\n%s", shaderId, + it->second.source.c_str()); MG_Util::Debug::LogE("Failed to compile shader %u: %s", shaderId, infoLog.c_str()); continue; @@ -586,6 +588,7 @@ namespace MG_EGL::Diligent { auto *pFactoryVk = Diligent_GetEngineFactoryVk(); ::Diligent::EngineVkCreateInfo EngineCI; + EngineCI.DynamicHeapSize = 256 << 20; ::Diligent::SwapChainDesc SCDesc;