From 934176e4de04f380ed3fed77588d396b41477bbc Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 3 Jun 2018 17:50:39 -0700 Subject: Implemented Vulkan memory manager --- Graphics/GraphicsEngine/interface/GraphicsTypes.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 7ef864e2..d379eb94 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1349,6 +1349,12 @@ namespace Diligent /// 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; + + /// Allocation granularity for device-local memory + Uint32 DeviceLocalMemoryPageSize = 16 << 20; + + /// Allocation granularity for host-visible memory + Uint32 HostVisibleMemoryPageSize = 16 << 20; }; /// Box -- cgit v1.2.3