File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,25 @@ typedef struct VkRenderPassCreateInfo2KHR
116116
117117#endif
118118
119+ ////////////////////////////////////////////////////////////////////////////////////////////////////
120+ //
121+ // Definitions not provided prior to 1.1.97
122+ //
123+ #if VK_HEADER_VERSION < 97
124+
125+ #define VK_EXT_memory_budget 1
126+ #define VK_EXT_MEMORY_BUDGET_SPEC_VERSION 1
127+ #define VK_EXT_MEMORY_BUDGET_EXTENSION_NAME "VK_EXT_memory_budget"
128+
129+ typedef struct VkPhysicalDeviceMemoryBudgetPropertiesEXT {
130+ VkStructureType sType ;
131+ void * pNext ;
132+ VkDeviceSize heapBudget [VK_MAX_MEMORY_HEAPS ];
133+ VkDeviceSize heapUsage [VK_MAX_MEMORY_HEAPS ];
134+ } VkPhysicalDeviceMemoryBudgetPropertiesEXT ;
135+
136+ #endif
137+
119138////////////////////////////////////////////////////////////////////////////////////////////////////
120139//
121140// Definitions not provided prior to 1.3.215
You can’t perform that action at this time.
0 commit comments