diff options
| author | Chia-I Wu <olvaffe@gmail.com> | 2016-05-06 08:41:52 +0800 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-05-06 13:35:55 -0600 |
| commit | c6e0cf0172eaa699defefbfdae8c68d585cde346 (patch) | |
| tree | 000a2847745b1d3b830d320886fde9ddeee7cf19 /loader/LoaderAndLayerInterface.md | |
| parent | bdd5bb68629c5ed07237f32ae4339b3cd828122f (diff) | |
| download | usermoji-c6e0cf0172eaa699defefbfdae8c68d585cde346.tar.xz | |
doc: allow layers to ignore pAllocator
Diffstat (limited to 'loader/LoaderAndLayerInterface.md')
| -rw-r--r-- | loader/LoaderAndLayerInterface.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/loader/LoaderAndLayerInterface.md b/loader/LoaderAndLayerInterface.md index 84143862..78213477 100644 --- a/loader/LoaderAndLayerInterface.md +++ b/loader/LoaderAndLayerInterface.md @@ -1115,6 +1115,11 @@ command to wrap the objects created by its lower layers, it must make sure its lower layers never see the wrapping objects, directly from itself or indirectly from its upper layers. +When a layer requires host memory, it may ignore the provided allocators. It +should use memory allocators if the layer is intended to run in a production +environment, such as an implicit layer that is always enabled. That will +allow applications to include the layer's memory usage. + `vkEnumerateDeviceExtensionProperties` must handle the case where `pLayerName` is `NULL`, usually by chaining to other layers. |
