/ appendices / VK_EXT_memory_priority.txt
VK_EXT_memory_priority.txt
1 // Copyright (c) 2018-2019 Khronos Group. This work is licensed under a 2 // Creative Commons Attribution 4.0 International License; see 3 // http://creativecommons.org/licenses/by/4.0/ 4 5 include::meta/VK_EXT_memory_priority.txt[] 6 7 Last Modified Date:: 8 2018-10-08 9 Contributors:: 10 - Jeff Bolz, NVIDIA 11 - Jeff Juliano, NVIDIA 12 13 This extension adds a pname:priority value specified at memory allocation 14 time. 15 On some systems with both device-local and non-device-local memory heaps, 16 the implementation may transparently move memory from one heap to another 17 when a heap becomes full (for example, when the total memory used across all 18 processes exceeds the size of the heap). 19 In such a case, this priority value may be used to determine which 20 allocations are more likely to remain in device-local memory. 21 22 === New Enum Constants 23 24 * Extending elink:VkStructureType: 25 ** ename:VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT 26 ** ename:VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT 27 28 === New Enums 29 30 None. 31 32 === New Structures 33 34 * slink:VkPhysicalDeviceMemoryPriorityFeaturesEXT 35 * slink:VkMemoryPriorityAllocateInfoEXT 36 37 === New Functions 38 39 None. 40 41 === Version History 42 43 * Revision 1, 2018-10-08 (Jeff Bolz) 44 - Initial revision 45