diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-05-31 03:57:21 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-05-31 03:57:21 +0000 |
| commit | 103f32b78935243783208d610b7a03d5e84a8958 (patch) | |
| tree | a8b14837a74a9d8012157105f3354e61ce279aa7 /Graphics/GraphicsEngine | |
| parent | Implemented UpdateData() for buffer vk (diff) | |
| download | DiligentCore-103f32b78935243783208d610b7a03d5e84a8958.tar.gz DiligentCore-103f32b78935243783208d610b7a03d5e84a8958.zip | |
Added initial size of the dynamic heap in vulkan to creation attribs
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
