summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-06-04 00:50:39 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-06-04 00:50:39 +0000
commit934176e4de04f380ed3fed77588d396b41477bbc (patch)
treedace42151093e337c9a4683295d26bdda8a62807 /Graphics/GraphicsEngine
parentFixed issue with partial views of a 3D texture in Vulkan (diff)
downloadDiligentCore-934176e4de04f380ed3fed77588d396b41477bbc.tar.gz
DiligentCore-934176e4de04f380ed3fed77588d396b41477bbc.zip
Implemented Vulkan memory manager
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/GraphicsTypes.h6
1 files changed, 6 insertions, 0 deletions
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