Vulkan-Docs/appendices/VK_EXT_memory_priority.txt

46 lines
1.2 KiB
Plaintext
Raw Normal View History

// Copyright (c) 2018-2019 Khronos Group. This work is licensed under a
// Creative Commons Attribution 4.0 International License; see
// http://creativecommons.org/licenses/by/4.0/
include::meta/VK_EXT_memory_priority.txt[]
Last Modified Date::
2018-10-08
Contributors::
- Jeff Bolz, NVIDIA
- Jeff Juliano, NVIDIA
This extension adds a pname:priority value specified at memory allocation
time.
On some systems with both device-local and non-device-local memory heaps,
the implementation may transparently move memory from one heap to another
when a heap becomes full (for example, when the total memory used across all
processes exceeds the size of the heap).
In such a case, this priority value may be used to determine which
allocations are more likely to remain in device-local memory.
=== New Enum Constants
* Extending elink:VkStructureType:
** ename:VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT
** ename:VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT
=== New Enums
None.
=== New Structures
* slink:VkPhysicalDeviceMemoryPriorityFeaturesEXT
* slink:VkMemoryPriorityAllocateInfoEXT
=== New Functions
None.
=== Version History
* Revision 1, 2018-10-08 (Jeff Bolz)
- Initial revision