/ appendices / VK_KHR_get_memory_requirements2.txt
VK_KHR_get_memory_requirements2.txt
 1  // Copyright (c) 2016-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_KHR_get_memory_requirements2.txt[]
 6  
 7  *Last Modified Date*::
 8      2017-09-05
 9  *IP Status*::
10      No known IP claims.
11  *Interactions and External Dependencies*::
12    - Promoted to Vulkan 1.1 Core
13  *Contributors*::
14    - Jason Ekstrand, Intel
15    - Jeff Bolz, NVIDIA
16    - Jesse Hall, Google
17  
18  This extension provides new entry points to query memory requirements of
19  images and buffers in a way that can be easily extended by other extensions,
20  without introducing any further entry points.
21  The Vulkan 1.0 slink:VkMemoryRequirements and
22  slink:VkSparseImageMemoryRequirements structures do not include a
23  pname:sType/pname:pNext, this extension wraps them in new structures with
24  pname:sType/pname:pNext so an application can query a chain of memory
25  requirements structures by constructing the chain and letting the
26  implementation fill them in.
27  A new command is added for each ftext:vkGet*MemoryRequrements command in
28  core Vulkan 1.0.
29  
30  === New Object Types
31  
32  None.
33  
34  === New Enum Constants
35  
36    * Extending elink:VkStructureType:
37    ** ename:VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR
38    ** ename:VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR
39    ** ename:VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR
40    ** ename:VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR
41    ** ename:VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR
42  
43  === New Enums
44  
45  None.
46  
47  === New Structures
48  
49    * slink:VkBufferMemoryRequirementsInfo2KHR
50    * slink:VkImageMemoryRequirementsInfo2KHR
51    * slink:VkImageSparseMemoryRequirementsInfo2KHR
52    * slink:VkMemoryRequirements2KHR
53    * slink:VkSparseImageMemoryRequirements2KHR
54  
55  === New Functions
56  
57    * flink:vkGetImageMemoryRequirements2KHR
58    * flink:vkGetBufferMemoryRequirements2KHR
59    * flink:vkGetImageSparseMemoryRequirements2KHR
60  
61  === Promotion to Vulkan 1.1
62  
63  All functionality in this extension is included in core Vulkan 1.1, with the
64  KHR suffix omitted.
65  The original type, enum and command names are still available as aliases of
66  the core functionality.
67  
68  === Issues
69  
70  None.
71  
72  === Version History
73  
74   * Revision 1, 2017-03-23 (Jason Ekstrand)
75     - Internal revisions