From 103f32b78935243783208d610b7a03d5e84a8958 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 30 May 2018 20:57:21 -0700 Subject: Added initial size of the dynamic heap in vulkan to creation attribs --- Graphics/GraphicsEngine/interface/GraphicsTypes.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 18eb4a34..1bc997ea 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1339,6 +1339,16 @@ namespace Diligent /// for dynamic variables. Every device context has its own dynamic descriptor pool. /// If allocation from the current pool fails, the engine creates another one. DescriptorPoolSize DynamicDescriptorPoolSize { 256, 256, 2048, 2048, 256, 1024, 1024, 256, 256}; + + /// Initial size of the dynamic upload heap for immediate context. + /// This heap is used when dynamic buffers are mapped, and also to update resources. + /// If the space runs out, the engine doubles the heap size. + Uint32 ImmediateCtxDynamicHeapInitialSize = 256 * 1024; + + /// Initial size of the dynamic upload heap for deferred contexts. + /// This heap is used when dynamic buffers are mapped, and also to update resources. + /// If the space runs out, the engine doubles the heap size. + Uint32 DeferredCtxDynamicHeapInitialSize = 32 * 1024; }; /// Box -- cgit v1.2.3