diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-06-04 00:50:39 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-06-04 00:50:39 +0000 |
| commit | 934176e4de04f380ed3fed77588d396b41477bbc (patch) | |
| tree | dace42151093e337c9a4683295d26bdda8a62807 /Graphics/GraphicsEngine | |
| parent | Fixed issue with partial views of a 3D texture in Vulkan (diff) | |
| download | DiligentCore-934176e4de04f380ed3fed77588d396b41477bbc.tar.gz DiligentCore-934176e4de04f380ed3fed77588d396b41477bbc.zip | |
Implemented Vulkan memory manager
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 6 |
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 |
