Skip to content

Commit bc0b440

Browse files
committed
Added VkPhysicalDeviceMemoryPriorityFeaturesEXT to vulkan.h
1 parent c9d0d75 commit bc0b440

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

include/vsg/vk/vulkan.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)