mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 22:28:32 +09:00
[Fix] (DiligentEngine): Increase the size of dynamic heap buffer.
This commit is contained in:
@@ -362,6 +362,8 @@ namespace MG_Diligent {
|
|||||||
it->second.source,
|
it->second.source,
|
||||||
infoLog);
|
infoLog);
|
||||||
if (spirv.empty()) {
|
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,
|
MG_Util::Debug::LogE("Failed to compile shader %u: %s", shaderId,
|
||||||
infoLog.c_str());
|
infoLog.c_str());
|
||||||
continue;
|
continue;
|
||||||
@@ -586,6 +588,7 @@ namespace MG_EGL::Diligent {
|
|||||||
|
|
||||||
auto *pFactoryVk = Diligent_GetEngineFactoryVk();
|
auto *pFactoryVk = Diligent_GetEngineFactoryVk();
|
||||||
::Diligent::EngineVkCreateInfo EngineCI;
|
::Diligent::EngineVkCreateInfo EngineCI;
|
||||||
|
EngineCI.DynamicHeapSize = 256 << 20;
|
||||||
|
|
||||||
::Diligent::SwapChainDesc SCDesc;
|
::Diligent::SwapChainDesc SCDesc;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user