vulkan: Update the XML and headers to 1.1.110
[mesa.git] / include / vulkan / vulkan_core.h
1 #ifndef VULKAN_CORE_H_
2 #define VULKAN_CORE_H_ 1
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 /*
9 ** Copyright (c) 2015-2019 The Khronos Group Inc.
10 **
11 ** Licensed under the Apache License, Version 2.0 (the "License");
12 ** you may not use this file except in compliance with the License.
13 ** You may obtain a copy of the License at
14 **
15 ** http://www.apache.org/licenses/LICENSE-2.0
16 **
17 ** Unless required by applicable law or agreed to in writing, software
18 ** distributed under the License is distributed on an "AS IS" BASIS,
19 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 ** See the License for the specific language governing permissions and
21 ** limitations under the License.
22 */
23
24 /*
25 ** This header is generated from the Khronos Vulkan XML API Registry.
26 **
27 */
28
29
30
31 #define VK_VERSION_1_0 1
32 #include "vk_platform.h"
33 #define VK_MAKE_VERSION(major, minor, patch) \
34 (((major) << 22) | ((minor) << 12) | (patch))
35
36 // DEPRECATED: This define has been removed. Specific version defines (e.g. VK_API_VERSION_1_0), or the VK_MAKE_VERSION macro, should be used instead.
37 //#define VK_API_VERSION VK_MAKE_VERSION(1, 0, 0) // Patch version should always be set to 0
38
39 // Vulkan 1.0 version number
40 #define VK_API_VERSION_1_0 VK_MAKE_VERSION(1, 0, 0)// Patch version should always be set to 0
41
42 #define VK_VERSION_MAJOR(version) ((uint32_t)(version) >> 22)
43 #define VK_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3ff)
44 #define VK_VERSION_PATCH(version) ((uint32_t)(version) & 0xfff)
45 // Version of this file
46 #define VK_HEADER_VERSION 110
47
48
49 #define VK_NULL_HANDLE 0
50
51
52 #define VK_DEFINE_HANDLE(object) typedef struct object##_T* object;
53
54
55 #if !defined(VK_DEFINE_NON_DISPATCHABLE_HANDLE)
56 #if defined(__LP64__) || defined(_WIN64) || (defined(__x86_64__) && !defined(__ILP32__) ) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
57 #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef struct object##_T *object;
58 #else
59 #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef uint64_t object;
60 #endif
61 #endif
62
63 typedef uint32_t VkFlags;
64 typedef uint32_t VkBool32;
65 typedef uint64_t VkDeviceSize;
66 typedef uint32_t VkSampleMask;
67 VK_DEFINE_HANDLE(VkInstance)
68 VK_DEFINE_HANDLE(VkPhysicalDevice)
69 VK_DEFINE_HANDLE(VkDevice)
70 VK_DEFINE_HANDLE(VkQueue)
71 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSemaphore)
72 VK_DEFINE_HANDLE(VkCommandBuffer)
73 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkFence)
74 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDeviceMemory)
75 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkBuffer)
76 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkImage)
77 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkEvent)
78 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkQueryPool)
79 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkBufferView)
80 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkImageView)
81 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkShaderModule)
82 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipelineCache)
83 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipelineLayout)
84 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkRenderPass)
85 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipeline)
86 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorSetLayout)
87 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSampler)
88 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorPool)
89 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorSet)
90 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkFramebuffer)
91 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCommandPool)
92 #define VK_LOD_CLAMP_NONE 1000.0f
93 #define VK_REMAINING_MIP_LEVELS (~0U)
94 #define VK_REMAINING_ARRAY_LAYERS (~0U)
95 #define VK_WHOLE_SIZE (~0ULL)
96 #define VK_ATTACHMENT_UNUSED (~0U)
97 #define VK_TRUE 1
98 #define VK_FALSE 0
99 #define VK_QUEUE_FAMILY_IGNORED (~0U)
100 #define VK_SUBPASS_EXTERNAL (~0U)
101 #define VK_MAX_PHYSICAL_DEVICE_NAME_SIZE 256
102 #define VK_UUID_SIZE 16
103 #define VK_MAX_MEMORY_TYPES 32
104 #define VK_MAX_MEMORY_HEAPS 16
105 #define VK_MAX_EXTENSION_NAME_SIZE 256
106 #define VK_MAX_DESCRIPTION_SIZE 256
107
108 typedef enum VkPipelineCacheHeaderVersion {
109 VK_PIPELINE_CACHE_HEADER_VERSION_ONE = 1,
110 VK_PIPELINE_CACHE_HEADER_VERSION_BEGIN_RANGE = VK_PIPELINE_CACHE_HEADER_VERSION_ONE,
111 VK_PIPELINE_CACHE_HEADER_VERSION_END_RANGE = VK_PIPELINE_CACHE_HEADER_VERSION_ONE,
112 VK_PIPELINE_CACHE_HEADER_VERSION_RANGE_SIZE = (VK_PIPELINE_CACHE_HEADER_VERSION_ONE - VK_PIPELINE_CACHE_HEADER_VERSION_ONE + 1),
113 VK_PIPELINE_CACHE_HEADER_VERSION_MAX_ENUM = 0x7FFFFFFF
114 } VkPipelineCacheHeaderVersion;
115
116 typedef enum VkResult {
117 VK_SUCCESS = 0,
118 VK_NOT_READY = 1,
119 VK_TIMEOUT = 2,
120 VK_EVENT_SET = 3,
121 VK_EVENT_RESET = 4,
122 VK_INCOMPLETE = 5,
123 VK_ERROR_OUT_OF_HOST_MEMORY = -1,
124 VK_ERROR_OUT_OF_DEVICE_MEMORY = -2,
125 VK_ERROR_INITIALIZATION_FAILED = -3,
126 VK_ERROR_DEVICE_LOST = -4,
127 VK_ERROR_MEMORY_MAP_FAILED = -5,
128 VK_ERROR_LAYER_NOT_PRESENT = -6,
129 VK_ERROR_EXTENSION_NOT_PRESENT = -7,
130 VK_ERROR_FEATURE_NOT_PRESENT = -8,
131 VK_ERROR_INCOMPATIBLE_DRIVER = -9,
132 VK_ERROR_TOO_MANY_OBJECTS = -10,
133 VK_ERROR_FORMAT_NOT_SUPPORTED = -11,
134 VK_ERROR_FRAGMENTED_POOL = -12,
135 VK_ERROR_OUT_OF_POOL_MEMORY = -1000069000,
136 VK_ERROR_INVALID_EXTERNAL_HANDLE = -1000072003,
137 VK_ERROR_SURFACE_LOST_KHR = -1000000000,
138 VK_ERROR_NATIVE_WINDOW_IN_USE_KHR = -1000000001,
139 VK_SUBOPTIMAL_KHR = 1000001003,
140 VK_ERROR_OUT_OF_DATE_KHR = -1000001004,
141 VK_ERROR_INCOMPATIBLE_DISPLAY_KHR = -1000003001,
142 VK_ERROR_VALIDATION_FAILED_EXT = -1000011001,
143 VK_ERROR_INVALID_SHADER_NV = -1000012000,
144 VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT = -1000158000,
145 VK_ERROR_FRAGMENTATION_EXT = -1000161000,
146 VK_ERROR_NOT_PERMITTED_EXT = -1000174001,
147 VK_ERROR_INVALID_DEVICE_ADDRESS_EXT = -1000244000,
148 VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT = -1000255000,
149 VK_ERROR_OUT_OF_POOL_MEMORY_KHR = VK_ERROR_OUT_OF_POOL_MEMORY,
150 VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR = VK_ERROR_INVALID_EXTERNAL_HANDLE,
151 VK_RESULT_BEGIN_RANGE = VK_ERROR_FRAGMENTED_POOL,
152 VK_RESULT_END_RANGE = VK_INCOMPLETE,
153 VK_RESULT_RANGE_SIZE = (VK_INCOMPLETE - VK_ERROR_FRAGMENTED_POOL + 1),
154 VK_RESULT_MAX_ENUM = 0x7FFFFFFF
155 } VkResult;
156
157 typedef enum VkStructureType {
158 VK_STRUCTURE_TYPE_APPLICATION_INFO = 0,
159 VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO = 1,
160 VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO = 2,
161 VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO = 3,
162 VK_STRUCTURE_TYPE_SUBMIT_INFO = 4,
163 VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO = 5,
164 VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE = 6,
165 VK_STRUCTURE_TYPE_BIND_SPARSE_INFO = 7,
166 VK_STRUCTURE_TYPE_FENCE_CREATE_INFO = 8,
167 VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO = 9,
168 VK_STRUCTURE_TYPE_EVENT_CREATE_INFO = 10,
169 VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO = 11,
170 VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO = 12,
171 VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO = 13,
172 VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO = 14,
173 VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO = 15,
174 VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO = 16,
175 VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO = 17,
176 VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO = 18,
177 VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO = 19,
178 VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO = 20,
179 VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO = 21,
180 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO = 22,
181 VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO = 23,
182 VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO = 24,
183 VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO = 25,
184 VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO = 26,
185 VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO = 27,
186 VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO = 28,
187 VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO = 29,
188 VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO = 30,
189 VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO = 31,
190 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO = 32,
191 VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO = 33,
192 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO = 34,
193 VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET = 35,
194 VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET = 36,
195 VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO = 37,
196 VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO = 38,
197 VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO = 39,
198 VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO = 40,
199 VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO = 41,
200 VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO = 42,
201 VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO = 43,
202 VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER = 44,
203 VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER = 45,
204 VK_STRUCTURE_TYPE_MEMORY_BARRIER = 46,
205 VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO = 47,
206 VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO = 48,
207 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES = 1000094000,
208 VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO = 1000157000,
209 VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO = 1000157001,
210 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES = 1000083000,
211 VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS = 1000127000,
212 VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO = 1000127001,
213 VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO = 1000060000,
214 VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO = 1000060003,
215 VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO = 1000060004,
216 VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO = 1000060005,
217 VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO = 1000060006,
218 VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO = 1000060013,
219 VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO = 1000060014,
220 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES = 1000070000,
221 VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO = 1000070001,
222 VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2 = 1000146000,
223 VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2 = 1000146001,
224 VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2 = 1000146002,
225 VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2 = 1000146003,
226 VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2 = 1000146004,
227 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2 = 1000059000,
228 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2 = 1000059001,
229 VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2 = 1000059002,
230 VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2 = 1000059003,
231 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2 = 1000059004,
232 VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2 = 1000059005,
233 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2 = 1000059006,
234 VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2 = 1000059007,
235 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2 = 1000059008,
236 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES = 1000117000,
237 VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO = 1000117001,
238 VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO = 1000117002,
239 VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO = 1000117003,
240 VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO = 1000053000,
241 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES = 1000053001,
242 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES = 1000053002,
243 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES = 1000120000,
244 VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO = 1000145000,
245 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES = 1000145001,
246 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES = 1000145002,
247 VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2 = 1000145003,
248 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO = 1000156000,
249 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO = 1000156001,
250 VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO = 1000156002,
251 VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO = 1000156003,
252 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES = 1000156004,
253 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES = 1000156005,
254 VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO = 1000085000,
255 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO = 1000071000,
256 VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES = 1000071001,
257 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO = 1000071002,
258 VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES = 1000071003,
259 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES = 1000071004,
260 VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO = 1000072000,
261 VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO = 1000072001,
262 VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO = 1000072002,
263 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO = 1000112000,
264 VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES = 1000112001,
265 VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO = 1000113000,
266 VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO = 1000077000,
267 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO = 1000076000,
268 VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES = 1000076001,
269 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES = 1000168000,
270 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT = 1000168001,
271 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES = 1000063000,
272 VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR = 1000001000,
273 VK_STRUCTURE_TYPE_PRESENT_INFO_KHR = 1000001001,
274 VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR = 1000060007,
275 VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR = 1000060008,
276 VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR = 1000060009,
277 VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR = 1000060010,
278 VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR = 1000060011,
279 VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR = 1000060012,
280 VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR = 1000002000,
281 VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR = 1000002001,
282 VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR = 1000003000,
283 VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR = 1000004000,
284 VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR = 1000005000,
285 VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR = 1000006000,
286 VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR = 1000008000,
287 VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR = 1000009000,
288 VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT = 1000011000,
289 VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD = 1000018000,
290 VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT = 1000022000,
291 VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT = 1000022001,
292 VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT = 1000022002,
293 VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV = 1000026000,
294 VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV = 1000026001,
295 VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV = 1000026002,
296 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT = 1000028000,
297 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT = 1000028001,
298 VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT = 1000028002,
299 VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX = 1000030000,
300 VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD = 1000041000,
301 VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP = 1000049000,
302 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV = 1000050000,
303 VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV = 1000056000,
304 VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV = 1000056001,
305 VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV = 1000057000,
306 VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV = 1000057001,
307 VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV = 1000058000,
308 VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT = 1000061000,
309 VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN = 1000062000,
310 VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT = 1000067000,
311 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT = 1000067001,
312 VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR = 1000073000,
313 VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR = 1000073001,
314 VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR = 1000073002,
315 VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR = 1000073003,
316 VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR = 1000074000,
317 VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR = 1000074001,
318 VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR = 1000074002,
319 VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR = 1000075000,
320 VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR = 1000078000,
321 VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR = 1000078001,
322 VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR = 1000078002,
323 VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR = 1000078003,
324 VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR = 1000079000,
325 VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR = 1000079001,
326 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR = 1000080000,
327 VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT = 1000081000,
328 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT = 1000081001,
329 VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT = 1000081002,
330 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR = 1000082000,
331 VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR = 1000084000,
332 VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX = 1000086000,
333 VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX = 1000086001,
334 VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX = 1000086002,
335 VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX = 1000086003,
336 VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX = 1000086004,
337 VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX = 1000086005,
338 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV = 1000087000,
339 VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT = 1000090000,
340 VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT = 1000091000,
341 VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT = 1000091001,
342 VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT = 1000091002,
343 VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT = 1000091003,
344 VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE = 1000092000,
345 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX = 1000097000,
346 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV = 1000098000,
347 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT = 1000099000,
348 VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT = 1000099001,
349 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT = 1000101000,
350 VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT = 1000101001,
351 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT = 1000102000,
352 VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT = 1000102001,
353 VK_STRUCTURE_TYPE_HDR_METADATA_EXT = 1000105000,
354 VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR = 1000109000,
355 VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR = 1000109001,
356 VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR = 1000109002,
357 VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR = 1000109003,
358 VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR = 1000109004,
359 VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR = 1000109005,
360 VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR = 1000109006,
361 VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR = 1000111000,
362 VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR = 1000114000,
363 VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR = 1000114001,
364 VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR = 1000114002,
365 VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR = 1000115000,
366 VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR = 1000115001,
367 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR = 1000119000,
368 VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR = 1000119001,
369 VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR = 1000119002,
370 VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR = 1000121000,
371 VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR = 1000121001,
372 VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR = 1000121002,
373 VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR = 1000121003,
374 VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR = 1000121004,
375 VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK = 1000122000,
376 VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK = 1000123000,
377 VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT = 1000128000,
378 VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT = 1000128001,
379 VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT = 1000128002,
380 VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT = 1000128003,
381 VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT = 1000128004,
382 VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID = 1000129000,
383 VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID = 1000129001,
384 VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID = 1000129002,
385 VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID = 1000129003,
386 VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID = 1000129004,
387 VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID = 1000129005,
388 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT = 1000130000,
389 VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT = 1000130001,
390 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT = 1000138000,
391 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT = 1000138001,
392 VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT = 1000138002,
393 VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT = 1000138003,
394 VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT = 1000143000,
395 VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT = 1000143001,
396 VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT = 1000143002,
397 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT = 1000143003,
398 VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT = 1000143004,
399 VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR = 1000147000,
400 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT = 1000148000,
401 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT = 1000148001,
402 VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT = 1000148002,
403 VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV = 1000149000,
404 VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV = 1000152000,
405 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV = 1000154000,
406 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV = 1000154001,
407 VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT = 1000158000,
408 VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT = 1000158001,
409 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT = 1000158002,
410 VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT = 1000158003,
411 VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT = 1000158004,
412 VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT = 1000158005,
413 VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT = 1000160000,
414 VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT = 1000160001,
415 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT = 1000161000,
416 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT = 1000161001,
417 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT = 1000161002,
418 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT = 1000161003,
419 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT = 1000161004,
420 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV = 1000164000,
421 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV = 1000164001,
422 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV = 1000164002,
423 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV = 1000164005,
424 VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV = 1000165000,
425 VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV = 1000165001,
426 VK_STRUCTURE_TYPE_GEOMETRY_NV = 1000165003,
427 VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV = 1000165004,
428 VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV = 1000165005,
429 VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV = 1000165006,
430 VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV = 1000165007,
431 VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV = 1000165008,
432 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV = 1000165009,
433 VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV = 1000165011,
434 VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV = 1000165012,
435 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV = 1000166000,
436 VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV = 1000166001,
437 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT = 1000170000,
438 VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT = 1000170001,
439 VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT = 1000174000,
440 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR = 1000177000,
441 VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT = 1000178000,
442 VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT = 1000178001,
443 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT = 1000178002,
444 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR = 1000180000,
445 VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT = 1000184000,
446 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD = 1000185000,
447 VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD = 1000189000,
448 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT = 1000190000,
449 VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT = 1000190001,
450 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT = 1000190002,
451 VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP = 1000191000,
452 VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT = 1000192000,
453 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR = 1000196000,
454 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR = 1000197000,
455 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR = 1000199000,
456 VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR = 1000199001,
457 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV = 1000201000,
458 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV = 1000202000,
459 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV = 1000202001,
460 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV = 1000203000,
461 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV = 1000204000,
462 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV = 1000205000,
463 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV = 1000205002,
464 VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV = 1000206000,
465 VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV = 1000206001,
466 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS2_FEATURES_INTEL = 1000209000,
467 VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO_INTEL = 1000210000,
468 VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL = 1000210001,
469 VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL = 1000210002,
470 VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL = 1000210003,
471 VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL = 1000210004,
472 VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL = 1000210005,
473 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR = 1000211000,
474 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT = 1000212000,
475 VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD = 1000213000,
476 VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD = 1000213001,
477 VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA = 1000214000,
478 VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT = 1000217000,
479 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT = 1000218000,
480 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT = 1000218001,
481 VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT = 1000218002,
482 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT = 1000221000,
483 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT = 1000237000,
484 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT = 1000238000,
485 VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT = 1000238001,
486 VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR = 1000239000,
487 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV = 1000240000,
488 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT = 1000244000,
489 VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT = 1000244001,
490 VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT = 1000244002,
491 VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT = 1000246000,
492 VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT = 1000247000,
493 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV = 1000249000,
494 VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV = 1000249001,
495 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV = 1000249002,
496 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV = 1000250000,
497 VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV = 1000250001,
498 VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV = 1000250002,
499 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT = 1000251000,
500 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT = 1000252000,
501 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR = 1000253000,
502 VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT = 1000255000,
503 VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT = 1000255002,
504 VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT = 1000255001,
505 VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT = 1000256000,
506 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT = 1000261000,
507 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES,
508 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES,
509 VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT,
510 VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO,
511 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES,
512 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES,
513 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2,
514 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2,
515 VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHR = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2,
516 VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2,
517 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2,
518 VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHR = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2,
519 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2,
520 VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2,
521 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2,
522 VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO_KHR = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO,
523 VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO_KHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO,
524 VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO_KHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO,
525 VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO_KHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO,
526 VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO_KHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO,
527 VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO_KHR = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO,
528 VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO_KHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO,
529 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES,
530 VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO,
531 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO,
532 VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHR = VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES,
533 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO,
534 VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES_KHR = VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES,
535 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES,
536 VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO,
537 VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO,
538 VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_KHR = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO,
539 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO,
540 VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES_KHR = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES,
541 VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO,
542 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES,
543 VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO,
544 VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES2_EXT = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT,
545 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO,
546 VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES_KHR = VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES,
547 VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO,
548 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES,
549 VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO,
550 VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO,
551 VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO,
552 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES,
553 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES,
554 VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS,
555 VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO,
556 VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR = VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2,
557 VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR = VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2,
558 VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR = VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2,
559 VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2,
560 VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2,
561 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO,
562 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO_KHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO,
563 VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO,
564 VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO_KHR = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO,
565 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES,
566 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES_KHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES,
567 VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO,
568 VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO,
569 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES,
570 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT_KHR = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT,
571 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT,
572 VK_STRUCTURE_TYPE_BEGIN_RANGE = VK_STRUCTURE_TYPE_APPLICATION_INFO,
573 VK_STRUCTURE_TYPE_END_RANGE = VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO,
574 VK_STRUCTURE_TYPE_RANGE_SIZE = (VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO - VK_STRUCTURE_TYPE_APPLICATION_INFO + 1),
575 VK_STRUCTURE_TYPE_MAX_ENUM = 0x7FFFFFFF
576 } VkStructureType;
577
578 typedef enum VkSystemAllocationScope {
579 VK_SYSTEM_ALLOCATION_SCOPE_COMMAND = 0,
580 VK_SYSTEM_ALLOCATION_SCOPE_OBJECT = 1,
581 VK_SYSTEM_ALLOCATION_SCOPE_CACHE = 2,
582 VK_SYSTEM_ALLOCATION_SCOPE_DEVICE = 3,
583 VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE = 4,
584 VK_SYSTEM_ALLOCATION_SCOPE_BEGIN_RANGE = VK_SYSTEM_ALLOCATION_SCOPE_COMMAND,
585 VK_SYSTEM_ALLOCATION_SCOPE_END_RANGE = VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE,
586 VK_SYSTEM_ALLOCATION_SCOPE_RANGE_SIZE = (VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE - VK_SYSTEM_ALLOCATION_SCOPE_COMMAND + 1),
587 VK_SYSTEM_ALLOCATION_SCOPE_MAX_ENUM = 0x7FFFFFFF
588 } VkSystemAllocationScope;
589
590 typedef enum VkInternalAllocationType {
591 VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE = 0,
592 VK_INTERNAL_ALLOCATION_TYPE_BEGIN_RANGE = VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE,
593 VK_INTERNAL_ALLOCATION_TYPE_END_RANGE = VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE,
594 VK_INTERNAL_ALLOCATION_TYPE_RANGE_SIZE = (VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE - VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE + 1),
595 VK_INTERNAL_ALLOCATION_TYPE_MAX_ENUM = 0x7FFFFFFF
596 } VkInternalAllocationType;
597
598 typedef enum VkFormat {
599 VK_FORMAT_UNDEFINED = 0,
600 VK_FORMAT_R4G4_UNORM_PACK8 = 1,
601 VK_FORMAT_R4G4B4A4_UNORM_PACK16 = 2,
602 VK_FORMAT_B4G4R4A4_UNORM_PACK16 = 3,
603 VK_FORMAT_R5G6B5_UNORM_PACK16 = 4,
604 VK_FORMAT_B5G6R5_UNORM_PACK16 = 5,
605 VK_FORMAT_R5G5B5A1_UNORM_PACK16 = 6,
606 VK_FORMAT_B5G5R5A1_UNORM_PACK16 = 7,
607 VK_FORMAT_A1R5G5B5_UNORM_PACK16 = 8,
608 VK_FORMAT_R8_UNORM = 9,
609 VK_FORMAT_R8_SNORM = 10,
610 VK_FORMAT_R8_USCALED = 11,
611 VK_FORMAT_R8_SSCALED = 12,
612 VK_FORMAT_R8_UINT = 13,
613 VK_FORMAT_R8_SINT = 14,
614 VK_FORMAT_R8_SRGB = 15,
615 VK_FORMAT_R8G8_UNORM = 16,
616 VK_FORMAT_R8G8_SNORM = 17,
617 VK_FORMAT_R8G8_USCALED = 18,
618 VK_FORMAT_R8G8_SSCALED = 19,
619 VK_FORMAT_R8G8_UINT = 20,
620 VK_FORMAT_R8G8_SINT = 21,
621 VK_FORMAT_R8G8_SRGB = 22,
622 VK_FORMAT_R8G8B8_UNORM = 23,
623 VK_FORMAT_R8G8B8_SNORM = 24,
624 VK_FORMAT_R8G8B8_USCALED = 25,
625 VK_FORMAT_R8G8B8_SSCALED = 26,
626 VK_FORMAT_R8G8B8_UINT = 27,
627 VK_FORMAT_R8G8B8_SINT = 28,
628 VK_FORMAT_R8G8B8_SRGB = 29,
629 VK_FORMAT_B8G8R8_UNORM = 30,
630 VK_FORMAT_B8G8R8_SNORM = 31,
631 VK_FORMAT_B8G8R8_USCALED = 32,
632 VK_FORMAT_B8G8R8_SSCALED = 33,
633 VK_FORMAT_B8G8R8_UINT = 34,
634 VK_FORMAT_B8G8R8_SINT = 35,
635 VK_FORMAT_B8G8R8_SRGB = 36,
636 VK_FORMAT_R8G8B8A8_UNORM = 37,
637 VK_FORMAT_R8G8B8A8_SNORM = 38,
638 VK_FORMAT_R8G8B8A8_USCALED = 39,
639 VK_FORMAT_R8G8B8A8_SSCALED = 40,
640 VK_FORMAT_R8G8B8A8_UINT = 41,
641 VK_FORMAT_R8G8B8A8_SINT = 42,
642 VK_FORMAT_R8G8B8A8_SRGB = 43,
643 VK_FORMAT_B8G8R8A8_UNORM = 44,
644 VK_FORMAT_B8G8R8A8_SNORM = 45,
645 VK_FORMAT_B8G8R8A8_USCALED = 46,
646 VK_FORMAT_B8G8R8A8_SSCALED = 47,
647 VK_FORMAT_B8G8R8A8_UINT = 48,
648 VK_FORMAT_B8G8R8A8_SINT = 49,
649 VK_FORMAT_B8G8R8A8_SRGB = 50,
650 VK_FORMAT_A8B8G8R8_UNORM_PACK32 = 51,
651 VK_FORMAT_A8B8G8R8_SNORM_PACK32 = 52,
652 VK_FORMAT_A8B8G8R8_USCALED_PACK32 = 53,
653 VK_FORMAT_A8B8G8R8_SSCALED_PACK32 = 54,
654 VK_FORMAT_A8B8G8R8_UINT_PACK32 = 55,
655 VK_FORMAT_A8B8G8R8_SINT_PACK32 = 56,
656 VK_FORMAT_A8B8G8R8_SRGB_PACK32 = 57,
657 VK_FORMAT_A2R10G10B10_UNORM_PACK32 = 58,
658 VK_FORMAT_A2R10G10B10_SNORM_PACK32 = 59,
659 VK_FORMAT_A2R10G10B10_USCALED_PACK32 = 60,
660 VK_FORMAT_A2R10G10B10_SSCALED_PACK32 = 61,
661 VK_FORMAT_A2R10G10B10_UINT_PACK32 = 62,
662 VK_FORMAT_A2R10G10B10_SINT_PACK32 = 63,
663 VK_FORMAT_A2B10G10R10_UNORM_PACK32 = 64,
664 VK_FORMAT_A2B10G10R10_SNORM_PACK32 = 65,
665 VK_FORMAT_A2B10G10R10_USCALED_PACK32 = 66,
666 VK_FORMAT_A2B10G10R10_SSCALED_PACK32 = 67,
667 VK_FORMAT_A2B10G10R10_UINT_PACK32 = 68,
668 VK_FORMAT_A2B10G10R10_SINT_PACK32 = 69,
669 VK_FORMAT_R16_UNORM = 70,
670 VK_FORMAT_R16_SNORM = 71,
671 VK_FORMAT_R16_USCALED = 72,
672 VK_FORMAT_R16_SSCALED = 73,
673 VK_FORMAT_R16_UINT = 74,
674 VK_FORMAT_R16_SINT = 75,
675 VK_FORMAT_R16_SFLOAT = 76,
676 VK_FORMAT_R16G16_UNORM = 77,
677 VK_FORMAT_R16G16_SNORM = 78,
678 VK_FORMAT_R16G16_USCALED = 79,
679 VK_FORMAT_R16G16_SSCALED = 80,
680 VK_FORMAT_R16G16_UINT = 81,
681 VK_FORMAT_R16G16_SINT = 82,
682 VK_FORMAT_R16G16_SFLOAT = 83,
683 VK_FORMAT_R16G16B16_UNORM = 84,
684 VK_FORMAT_R16G16B16_SNORM = 85,
685 VK_FORMAT_R16G16B16_USCALED = 86,
686 VK_FORMAT_R16G16B16_SSCALED = 87,
687 VK_FORMAT_R16G16B16_UINT = 88,
688 VK_FORMAT_R16G16B16_SINT = 89,
689 VK_FORMAT_R16G16B16_SFLOAT = 90,
690 VK_FORMAT_R16G16B16A16_UNORM = 91,
691 VK_FORMAT_R16G16B16A16_SNORM = 92,
692 VK_FORMAT_R16G16B16A16_USCALED = 93,
693 VK_FORMAT_R16G16B16A16_SSCALED = 94,
694 VK_FORMAT_R16G16B16A16_UINT = 95,
695 VK_FORMAT_R16G16B16A16_SINT = 96,
696 VK_FORMAT_R16G16B16A16_SFLOAT = 97,
697 VK_FORMAT_R32_UINT = 98,
698 VK_FORMAT_R32_SINT = 99,
699 VK_FORMAT_R32_SFLOAT = 100,
700 VK_FORMAT_R32G32_UINT = 101,
701 VK_FORMAT_R32G32_SINT = 102,
702 VK_FORMAT_R32G32_SFLOAT = 103,
703 VK_FORMAT_R32G32B32_UINT = 104,
704 VK_FORMAT_R32G32B32_SINT = 105,
705 VK_FORMAT_R32G32B32_SFLOAT = 106,
706 VK_FORMAT_R32G32B32A32_UINT = 107,
707 VK_FORMAT_R32G32B32A32_SINT = 108,
708 VK_FORMAT_R32G32B32A32_SFLOAT = 109,
709 VK_FORMAT_R64_UINT = 110,
710 VK_FORMAT_R64_SINT = 111,
711 VK_FORMAT_R64_SFLOAT = 112,
712 VK_FORMAT_R64G64_UINT = 113,
713 VK_FORMAT_R64G64_SINT = 114,
714 VK_FORMAT_R64G64_SFLOAT = 115,
715 VK_FORMAT_R64G64B64_UINT = 116,
716 VK_FORMAT_R64G64B64_SINT = 117,
717 VK_FORMAT_R64G64B64_SFLOAT = 118,
718 VK_FORMAT_R64G64B64A64_UINT = 119,
719 VK_FORMAT_R64G64B64A64_SINT = 120,
720 VK_FORMAT_R64G64B64A64_SFLOAT = 121,
721 VK_FORMAT_B10G11R11_UFLOAT_PACK32 = 122,
722 VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 = 123,
723 VK_FORMAT_D16_UNORM = 124,
724 VK_FORMAT_X8_D24_UNORM_PACK32 = 125,
725 VK_FORMAT_D32_SFLOAT = 126,
726 VK_FORMAT_S8_UINT = 127,
727 VK_FORMAT_D16_UNORM_S8_UINT = 128,
728 VK_FORMAT_D24_UNORM_S8_UINT = 129,
729 VK_FORMAT_D32_SFLOAT_S8_UINT = 130,
730 VK_FORMAT_BC1_RGB_UNORM_BLOCK = 131,
731 VK_FORMAT_BC1_RGB_SRGB_BLOCK = 132,
732 VK_FORMAT_BC1_RGBA_UNORM_BLOCK = 133,
733 VK_FORMAT_BC1_RGBA_SRGB_BLOCK = 134,
734 VK_FORMAT_BC2_UNORM_BLOCK = 135,
735 VK_FORMAT_BC2_SRGB_BLOCK = 136,
736 VK_FORMAT_BC3_UNORM_BLOCK = 137,
737 VK_FORMAT_BC3_SRGB_BLOCK = 138,
738 VK_FORMAT_BC4_UNORM_BLOCK = 139,
739 VK_FORMAT_BC4_SNORM_BLOCK = 140,
740 VK_FORMAT_BC5_UNORM_BLOCK = 141,
741 VK_FORMAT_BC5_SNORM_BLOCK = 142,
742 VK_FORMAT_BC6H_UFLOAT_BLOCK = 143,
743 VK_FORMAT_BC6H_SFLOAT_BLOCK = 144,
744 VK_FORMAT_BC7_UNORM_BLOCK = 145,
745 VK_FORMAT_BC7_SRGB_BLOCK = 146,
746 VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK = 147,
747 VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK = 148,
748 VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK = 149,
749 VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK = 150,
750 VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK = 151,
751 VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK = 152,
752 VK_FORMAT_EAC_R11_UNORM_BLOCK = 153,
753 VK_FORMAT_EAC_R11_SNORM_BLOCK = 154,
754 VK_FORMAT_EAC_R11G11_UNORM_BLOCK = 155,
755 VK_FORMAT_EAC_R11G11_SNORM_BLOCK = 156,
756 VK_FORMAT_ASTC_4x4_UNORM_BLOCK = 157,
757 VK_FORMAT_ASTC_4x4_SRGB_BLOCK = 158,
758 VK_FORMAT_ASTC_5x4_UNORM_BLOCK = 159,
759 VK_FORMAT_ASTC_5x4_SRGB_BLOCK = 160,
760 VK_FORMAT_ASTC_5x5_UNORM_BLOCK = 161,
761 VK_FORMAT_ASTC_5x5_SRGB_BLOCK = 162,
762 VK_FORMAT_ASTC_6x5_UNORM_BLOCK = 163,
763 VK_FORMAT_ASTC_6x5_SRGB_BLOCK = 164,
764 VK_FORMAT_ASTC_6x6_UNORM_BLOCK = 165,
765 VK_FORMAT_ASTC_6x6_SRGB_BLOCK = 166,
766 VK_FORMAT_ASTC_8x5_UNORM_BLOCK = 167,
767 VK_FORMAT_ASTC_8x5_SRGB_BLOCK = 168,
768 VK_FORMAT_ASTC_8x6_UNORM_BLOCK = 169,
769 VK_FORMAT_ASTC_8x6_SRGB_BLOCK = 170,
770 VK_FORMAT_ASTC_8x8_UNORM_BLOCK = 171,
771 VK_FORMAT_ASTC_8x8_SRGB_BLOCK = 172,
772 VK_FORMAT_ASTC_10x5_UNORM_BLOCK = 173,
773 VK_FORMAT_ASTC_10x5_SRGB_BLOCK = 174,
774 VK_FORMAT_ASTC_10x6_UNORM_BLOCK = 175,
775 VK_FORMAT_ASTC_10x6_SRGB_BLOCK = 176,
776 VK_FORMAT_ASTC_10x8_UNORM_BLOCK = 177,
777 VK_FORMAT_ASTC_10x8_SRGB_BLOCK = 178,
778 VK_FORMAT_ASTC_10x10_UNORM_BLOCK = 179,
779 VK_FORMAT_ASTC_10x10_SRGB_BLOCK = 180,
780 VK_FORMAT_ASTC_12x10_UNORM_BLOCK = 181,
781 VK_FORMAT_ASTC_12x10_SRGB_BLOCK = 182,
782 VK_FORMAT_ASTC_12x12_UNORM_BLOCK = 183,
783 VK_FORMAT_ASTC_12x12_SRGB_BLOCK = 184,
784 VK_FORMAT_G8B8G8R8_422_UNORM = 1000156000,
785 VK_FORMAT_B8G8R8G8_422_UNORM = 1000156001,
786 VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM = 1000156002,
787 VK_FORMAT_G8_B8R8_2PLANE_420_UNORM = 1000156003,
788 VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM = 1000156004,
789 VK_FORMAT_G8_B8R8_2PLANE_422_UNORM = 1000156005,
790 VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM = 1000156006,
791 VK_FORMAT_R10X6_UNORM_PACK16 = 1000156007,
792 VK_FORMAT_R10X6G10X6_UNORM_2PACK16 = 1000156008,
793 VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16 = 1000156009,
794 VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16 = 1000156010,
795 VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16 = 1000156011,
796 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 = 1000156012,
797 VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 = 1000156013,
798 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 = 1000156014,
799 VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16 = 1000156015,
800 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 = 1000156016,
801 VK_FORMAT_R12X4_UNORM_PACK16 = 1000156017,
802 VK_FORMAT_R12X4G12X4_UNORM_2PACK16 = 1000156018,
803 VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16 = 1000156019,
804 VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16 = 1000156020,
805 VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16 = 1000156021,
806 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 = 1000156022,
807 VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16 = 1000156023,
808 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 = 1000156024,
809 VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16 = 1000156025,
810 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 = 1000156026,
811 VK_FORMAT_G16B16G16R16_422_UNORM = 1000156027,
812 VK_FORMAT_B16G16R16G16_422_UNORM = 1000156028,
813 VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM = 1000156029,
814 VK_FORMAT_G16_B16R16_2PLANE_420_UNORM = 1000156030,
815 VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM = 1000156031,
816 VK_FORMAT_G16_B16R16_2PLANE_422_UNORM = 1000156032,
817 VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM = 1000156033,
818 VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG = 1000054000,
819 VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG = 1000054001,
820 VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG = 1000054002,
821 VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG = 1000054003,
822 VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG = 1000054004,
823 VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG = 1000054005,
824 VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG = 1000054006,
825 VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG = 1000054007,
826 VK_FORMAT_G8B8G8R8_422_UNORM_KHR = VK_FORMAT_G8B8G8R8_422_UNORM,
827 VK_FORMAT_B8G8R8G8_422_UNORM_KHR = VK_FORMAT_B8G8R8G8_422_UNORM,
828 VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM_KHR = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM,
829 VK_FORMAT_G8_B8R8_2PLANE_420_UNORM_KHR = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM,
830 VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM_KHR = VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM,
831 VK_FORMAT_G8_B8R8_2PLANE_422_UNORM_KHR = VK_FORMAT_G8_B8R8_2PLANE_422_UNORM,
832 VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM_KHR = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM,
833 VK_FORMAT_R10X6_UNORM_PACK16_KHR = VK_FORMAT_R10X6_UNORM_PACK16,
834 VK_FORMAT_R10X6G10X6_UNORM_2PACK16_KHR = VK_FORMAT_R10X6G10X6_UNORM_2PACK16,
835 VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16_KHR = VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16,
836 VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16_KHR = VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16,
837 VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16_KHR = VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16,
838 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16_KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16,
839 VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16_KHR = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16,
840 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16_KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16,
841 VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16_KHR = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16,
842 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16_KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16,
843 VK_FORMAT_R12X4_UNORM_PACK16_KHR = VK_FORMAT_R12X4_UNORM_PACK16,
844 VK_FORMAT_R12X4G12X4_UNORM_2PACK16_KHR = VK_FORMAT_R12X4G12X4_UNORM_2PACK16,
845 VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR = VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16,
846 VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16_KHR = VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16,
847 VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16_KHR = VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16,
848 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16_KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16,
849 VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16_KHR = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16,
850 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16_KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16,
851 VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16_KHR = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16,
852 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16_KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16,
853 VK_FORMAT_G16B16G16R16_422_UNORM_KHR = VK_FORMAT_G16B16G16R16_422_UNORM,
854 VK_FORMAT_B16G16R16G16_422_UNORM_KHR = VK_FORMAT_B16G16R16G16_422_UNORM,
855 VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM_KHR = VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM,
856 VK_FORMAT_G16_B16R16_2PLANE_420_UNORM_KHR = VK_FORMAT_G16_B16R16_2PLANE_420_UNORM,
857 VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM_KHR = VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM,
858 VK_FORMAT_G16_B16R16_2PLANE_422_UNORM_KHR = VK_FORMAT_G16_B16R16_2PLANE_422_UNORM,
859 VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM_KHR = VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM,
860 VK_FORMAT_BEGIN_RANGE = VK_FORMAT_UNDEFINED,
861 VK_FORMAT_END_RANGE = VK_FORMAT_ASTC_12x12_SRGB_BLOCK,
862 VK_FORMAT_RANGE_SIZE = (VK_FORMAT_ASTC_12x12_SRGB_BLOCK - VK_FORMAT_UNDEFINED + 1),
863 VK_FORMAT_MAX_ENUM = 0x7FFFFFFF
864 } VkFormat;
865
866 typedef enum VkImageType {
867 VK_IMAGE_TYPE_1D = 0,
868 VK_IMAGE_TYPE_2D = 1,
869 VK_IMAGE_TYPE_3D = 2,
870 VK_IMAGE_TYPE_BEGIN_RANGE = VK_IMAGE_TYPE_1D,
871 VK_IMAGE_TYPE_END_RANGE = VK_IMAGE_TYPE_3D,
872 VK_IMAGE_TYPE_RANGE_SIZE = (VK_IMAGE_TYPE_3D - VK_IMAGE_TYPE_1D + 1),
873 VK_IMAGE_TYPE_MAX_ENUM = 0x7FFFFFFF
874 } VkImageType;
875
876 typedef enum VkImageTiling {
877 VK_IMAGE_TILING_OPTIMAL = 0,
878 VK_IMAGE_TILING_LINEAR = 1,
879 VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT = 1000158000,
880 VK_IMAGE_TILING_BEGIN_RANGE = VK_IMAGE_TILING_OPTIMAL,
881 VK_IMAGE_TILING_END_RANGE = VK_IMAGE_TILING_LINEAR,
882 VK_IMAGE_TILING_RANGE_SIZE = (VK_IMAGE_TILING_LINEAR - VK_IMAGE_TILING_OPTIMAL + 1),
883 VK_IMAGE_TILING_MAX_ENUM = 0x7FFFFFFF
884 } VkImageTiling;
885
886 typedef enum VkPhysicalDeviceType {
887 VK_PHYSICAL_DEVICE_TYPE_OTHER = 0,
888 VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU = 1,
889 VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU = 2,
890 VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU = 3,
891 VK_PHYSICAL_DEVICE_TYPE_CPU = 4,
892 VK_PHYSICAL_DEVICE_TYPE_BEGIN_RANGE = VK_PHYSICAL_DEVICE_TYPE_OTHER,
893 VK_PHYSICAL_DEVICE_TYPE_END_RANGE = VK_PHYSICAL_DEVICE_TYPE_CPU,
894 VK_PHYSICAL_DEVICE_TYPE_RANGE_SIZE = (VK_PHYSICAL_DEVICE_TYPE_CPU - VK_PHYSICAL_DEVICE_TYPE_OTHER + 1),
895 VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM = 0x7FFFFFFF
896 } VkPhysicalDeviceType;
897
898 typedef enum VkQueryType {
899 VK_QUERY_TYPE_OCCLUSION = 0,
900 VK_QUERY_TYPE_PIPELINE_STATISTICS = 1,
901 VK_QUERY_TYPE_TIMESTAMP = 2,
902 VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT = 1000028004,
903 VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV = 1000165000,
904 VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL = 1000210000,
905 VK_QUERY_TYPE_BEGIN_RANGE = VK_QUERY_TYPE_OCCLUSION,
906 VK_QUERY_TYPE_END_RANGE = VK_QUERY_TYPE_TIMESTAMP,
907 VK_QUERY_TYPE_RANGE_SIZE = (VK_QUERY_TYPE_TIMESTAMP - VK_QUERY_TYPE_OCCLUSION + 1),
908 VK_QUERY_TYPE_MAX_ENUM = 0x7FFFFFFF
909 } VkQueryType;
910
911 typedef enum VkSharingMode {
912 VK_SHARING_MODE_EXCLUSIVE = 0,
913 VK_SHARING_MODE_CONCURRENT = 1,
914 VK_SHARING_MODE_BEGIN_RANGE = VK_SHARING_MODE_EXCLUSIVE,
915 VK_SHARING_MODE_END_RANGE = VK_SHARING_MODE_CONCURRENT,
916 VK_SHARING_MODE_RANGE_SIZE = (VK_SHARING_MODE_CONCURRENT - VK_SHARING_MODE_EXCLUSIVE + 1),
917 VK_SHARING_MODE_MAX_ENUM = 0x7FFFFFFF
918 } VkSharingMode;
919
920 typedef enum VkImageLayout {
921 VK_IMAGE_LAYOUT_UNDEFINED = 0,
922 VK_IMAGE_LAYOUT_GENERAL = 1,
923 VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL = 2,
924 VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL = 3,
925 VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL = 4,
926 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL = 5,
927 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL = 6,
928 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL = 7,
929 VK_IMAGE_LAYOUT_PREINITIALIZED = 8,
930 VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL = 1000117000,
931 VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL = 1000117001,
932 VK_IMAGE_LAYOUT_PRESENT_SRC_KHR = 1000001002,
933 VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR = 1000111000,
934 VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV = 1000164003,
935 VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT = 1000218000,
936 VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL,
937 VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL,
938 VK_IMAGE_LAYOUT_BEGIN_RANGE = VK_IMAGE_LAYOUT_UNDEFINED,
939 VK_IMAGE_LAYOUT_END_RANGE = VK_IMAGE_LAYOUT_PREINITIALIZED,
940 VK_IMAGE_LAYOUT_RANGE_SIZE = (VK_IMAGE_LAYOUT_PREINITIALIZED - VK_IMAGE_LAYOUT_UNDEFINED + 1),
941 VK_IMAGE_LAYOUT_MAX_ENUM = 0x7FFFFFFF
942 } VkImageLayout;
943
944 typedef enum VkImageViewType {
945 VK_IMAGE_VIEW_TYPE_1D = 0,
946 VK_IMAGE_VIEW_TYPE_2D = 1,
947 VK_IMAGE_VIEW_TYPE_3D = 2,
948 VK_IMAGE_VIEW_TYPE_CUBE = 3,
949 VK_IMAGE_VIEW_TYPE_1D_ARRAY = 4,
950 VK_IMAGE_VIEW_TYPE_2D_ARRAY = 5,
951 VK_IMAGE_VIEW_TYPE_CUBE_ARRAY = 6,
952 VK_IMAGE_VIEW_TYPE_BEGIN_RANGE = VK_IMAGE_VIEW_TYPE_1D,
953 VK_IMAGE_VIEW_TYPE_END_RANGE = VK_IMAGE_VIEW_TYPE_CUBE_ARRAY,
954 VK_IMAGE_VIEW_TYPE_RANGE_SIZE = (VK_IMAGE_VIEW_TYPE_CUBE_ARRAY - VK_IMAGE_VIEW_TYPE_1D + 1),
955 VK_IMAGE_VIEW_TYPE_MAX_ENUM = 0x7FFFFFFF
956 } VkImageViewType;
957
958 typedef enum VkComponentSwizzle {
959 VK_COMPONENT_SWIZZLE_IDENTITY = 0,
960 VK_COMPONENT_SWIZZLE_ZERO = 1,
961 VK_COMPONENT_SWIZZLE_ONE = 2,
962 VK_COMPONENT_SWIZZLE_R = 3,
963 VK_COMPONENT_SWIZZLE_G = 4,
964 VK_COMPONENT_SWIZZLE_B = 5,
965 VK_COMPONENT_SWIZZLE_A = 6,
966 VK_COMPONENT_SWIZZLE_BEGIN_RANGE = VK_COMPONENT_SWIZZLE_IDENTITY,
967 VK_COMPONENT_SWIZZLE_END_RANGE = VK_COMPONENT_SWIZZLE_A,
968 VK_COMPONENT_SWIZZLE_RANGE_SIZE = (VK_COMPONENT_SWIZZLE_A - VK_COMPONENT_SWIZZLE_IDENTITY + 1),
969 VK_COMPONENT_SWIZZLE_MAX_ENUM = 0x7FFFFFFF
970 } VkComponentSwizzle;
971
972 typedef enum VkVertexInputRate {
973 VK_VERTEX_INPUT_RATE_VERTEX = 0,
974 VK_VERTEX_INPUT_RATE_INSTANCE = 1,
975 VK_VERTEX_INPUT_RATE_BEGIN_RANGE = VK_VERTEX_INPUT_RATE_VERTEX,
976 VK_VERTEX_INPUT_RATE_END_RANGE = VK_VERTEX_INPUT_RATE_INSTANCE,
977 VK_VERTEX_INPUT_RATE_RANGE_SIZE = (VK_VERTEX_INPUT_RATE_INSTANCE - VK_VERTEX_INPUT_RATE_VERTEX + 1),
978 VK_VERTEX_INPUT_RATE_MAX_ENUM = 0x7FFFFFFF
979 } VkVertexInputRate;
980
981 typedef enum VkPrimitiveTopology {
982 VK_PRIMITIVE_TOPOLOGY_POINT_LIST = 0,
983 VK_PRIMITIVE_TOPOLOGY_LINE_LIST = 1,
984 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP = 2,
985 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST = 3,
986 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP = 4,
987 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN = 5,
988 VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY = 6,
989 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY = 7,
990 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY = 8,
991 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY = 9,
992 VK_PRIMITIVE_TOPOLOGY_PATCH_LIST = 10,
993 VK_PRIMITIVE_TOPOLOGY_BEGIN_RANGE = VK_PRIMITIVE_TOPOLOGY_POINT_LIST,
994 VK_PRIMITIVE_TOPOLOGY_END_RANGE = VK_PRIMITIVE_TOPOLOGY_PATCH_LIST,
995 VK_PRIMITIVE_TOPOLOGY_RANGE_SIZE = (VK_PRIMITIVE_TOPOLOGY_PATCH_LIST - VK_PRIMITIVE_TOPOLOGY_POINT_LIST + 1),
996 VK_PRIMITIVE_TOPOLOGY_MAX_ENUM = 0x7FFFFFFF
997 } VkPrimitiveTopology;
998
999 typedef enum VkPolygonMode {
1000 VK_POLYGON_MODE_FILL = 0,
1001 VK_POLYGON_MODE_LINE = 1,
1002 VK_POLYGON_MODE_POINT = 2,
1003 VK_POLYGON_MODE_FILL_RECTANGLE_NV = 1000153000,
1004 VK_POLYGON_MODE_BEGIN_RANGE = VK_POLYGON_MODE_FILL,
1005 VK_POLYGON_MODE_END_RANGE = VK_POLYGON_MODE_POINT,
1006 VK_POLYGON_MODE_RANGE_SIZE = (VK_POLYGON_MODE_POINT - VK_POLYGON_MODE_FILL + 1),
1007 VK_POLYGON_MODE_MAX_ENUM = 0x7FFFFFFF
1008 } VkPolygonMode;
1009
1010 typedef enum VkFrontFace {
1011 VK_FRONT_FACE_COUNTER_CLOCKWISE = 0,
1012 VK_FRONT_FACE_CLOCKWISE = 1,
1013 VK_FRONT_FACE_BEGIN_RANGE = VK_FRONT_FACE_COUNTER_CLOCKWISE,
1014 VK_FRONT_FACE_END_RANGE = VK_FRONT_FACE_CLOCKWISE,
1015 VK_FRONT_FACE_RANGE_SIZE = (VK_FRONT_FACE_CLOCKWISE - VK_FRONT_FACE_COUNTER_CLOCKWISE + 1),
1016 VK_FRONT_FACE_MAX_ENUM = 0x7FFFFFFF
1017 } VkFrontFace;
1018
1019 typedef enum VkCompareOp {
1020 VK_COMPARE_OP_NEVER = 0,
1021 VK_COMPARE_OP_LESS = 1,
1022 VK_COMPARE_OP_EQUAL = 2,
1023 VK_COMPARE_OP_LESS_OR_EQUAL = 3,
1024 VK_COMPARE_OP_GREATER = 4,
1025 VK_COMPARE_OP_NOT_EQUAL = 5,
1026 VK_COMPARE_OP_GREATER_OR_EQUAL = 6,
1027 VK_COMPARE_OP_ALWAYS = 7,
1028 VK_COMPARE_OP_BEGIN_RANGE = VK_COMPARE_OP_NEVER,
1029 VK_COMPARE_OP_END_RANGE = VK_COMPARE_OP_ALWAYS,
1030 VK_COMPARE_OP_RANGE_SIZE = (VK_COMPARE_OP_ALWAYS - VK_COMPARE_OP_NEVER + 1),
1031 VK_COMPARE_OP_MAX_ENUM = 0x7FFFFFFF
1032 } VkCompareOp;
1033
1034 typedef enum VkStencilOp {
1035 VK_STENCIL_OP_KEEP = 0,
1036 VK_STENCIL_OP_ZERO = 1,
1037 VK_STENCIL_OP_REPLACE = 2,
1038 VK_STENCIL_OP_INCREMENT_AND_CLAMP = 3,
1039 VK_STENCIL_OP_DECREMENT_AND_CLAMP = 4,
1040 VK_STENCIL_OP_INVERT = 5,
1041 VK_STENCIL_OP_INCREMENT_AND_WRAP = 6,
1042 VK_STENCIL_OP_DECREMENT_AND_WRAP = 7,
1043 VK_STENCIL_OP_BEGIN_RANGE = VK_STENCIL_OP_KEEP,
1044 VK_STENCIL_OP_END_RANGE = VK_STENCIL_OP_DECREMENT_AND_WRAP,
1045 VK_STENCIL_OP_RANGE_SIZE = (VK_STENCIL_OP_DECREMENT_AND_WRAP - VK_STENCIL_OP_KEEP + 1),
1046 VK_STENCIL_OP_MAX_ENUM = 0x7FFFFFFF
1047 } VkStencilOp;
1048
1049 typedef enum VkLogicOp {
1050 VK_LOGIC_OP_CLEAR = 0,
1051 VK_LOGIC_OP_AND = 1,
1052 VK_LOGIC_OP_AND_REVERSE = 2,
1053 VK_LOGIC_OP_COPY = 3,
1054 VK_LOGIC_OP_AND_INVERTED = 4,
1055 VK_LOGIC_OP_NO_OP = 5,
1056 VK_LOGIC_OP_XOR = 6,
1057 VK_LOGIC_OP_OR = 7,
1058 VK_LOGIC_OP_NOR = 8,
1059 VK_LOGIC_OP_EQUIVALENT = 9,
1060 VK_LOGIC_OP_INVERT = 10,
1061 VK_LOGIC_OP_OR_REVERSE = 11,
1062 VK_LOGIC_OP_COPY_INVERTED = 12,
1063 VK_LOGIC_OP_OR_INVERTED = 13,
1064 VK_LOGIC_OP_NAND = 14,
1065 VK_LOGIC_OP_SET = 15,
1066 VK_LOGIC_OP_BEGIN_RANGE = VK_LOGIC_OP_CLEAR,
1067 VK_LOGIC_OP_END_RANGE = VK_LOGIC_OP_SET,
1068 VK_LOGIC_OP_RANGE_SIZE = (VK_LOGIC_OP_SET - VK_LOGIC_OP_CLEAR + 1),
1069 VK_LOGIC_OP_MAX_ENUM = 0x7FFFFFFF
1070 } VkLogicOp;
1071
1072 typedef enum VkBlendFactor {
1073 VK_BLEND_FACTOR_ZERO = 0,
1074 VK_BLEND_FACTOR_ONE = 1,
1075 VK_BLEND_FACTOR_SRC_COLOR = 2,
1076 VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR = 3,
1077 VK_BLEND_FACTOR_DST_COLOR = 4,
1078 VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR = 5,
1079 VK_BLEND_FACTOR_SRC_ALPHA = 6,
1080 VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA = 7,
1081 VK_BLEND_FACTOR_DST_ALPHA = 8,
1082 VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA = 9,
1083 VK_BLEND_FACTOR_CONSTANT_COLOR = 10,
1084 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR = 11,
1085 VK_BLEND_FACTOR_CONSTANT_ALPHA = 12,
1086 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA = 13,
1087 VK_BLEND_FACTOR_SRC_ALPHA_SATURATE = 14,
1088 VK_BLEND_FACTOR_SRC1_COLOR = 15,
1089 VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR = 16,
1090 VK_BLEND_FACTOR_SRC1_ALPHA = 17,
1091 VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA = 18,
1092 VK_BLEND_FACTOR_BEGIN_RANGE = VK_BLEND_FACTOR_ZERO,
1093 VK_BLEND_FACTOR_END_RANGE = VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA,
1094 VK_BLEND_FACTOR_RANGE_SIZE = (VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA - VK_BLEND_FACTOR_ZERO + 1),
1095 VK_BLEND_FACTOR_MAX_ENUM = 0x7FFFFFFF
1096 } VkBlendFactor;
1097
1098 typedef enum VkBlendOp {
1099 VK_BLEND_OP_ADD = 0,
1100 VK_BLEND_OP_SUBTRACT = 1,
1101 VK_BLEND_OP_REVERSE_SUBTRACT = 2,
1102 VK_BLEND_OP_MIN = 3,
1103 VK_BLEND_OP_MAX = 4,
1104 VK_BLEND_OP_ZERO_EXT = 1000148000,
1105 VK_BLEND_OP_SRC_EXT = 1000148001,
1106 VK_BLEND_OP_DST_EXT = 1000148002,
1107 VK_BLEND_OP_SRC_OVER_EXT = 1000148003,
1108 VK_BLEND_OP_DST_OVER_EXT = 1000148004,
1109 VK_BLEND_OP_SRC_IN_EXT = 1000148005,
1110 VK_BLEND_OP_DST_IN_EXT = 1000148006,
1111 VK_BLEND_OP_SRC_OUT_EXT = 1000148007,
1112 VK_BLEND_OP_DST_OUT_EXT = 1000148008,
1113 VK_BLEND_OP_SRC_ATOP_EXT = 1000148009,
1114 VK_BLEND_OP_DST_ATOP_EXT = 1000148010,
1115 VK_BLEND_OP_XOR_EXT = 1000148011,
1116 VK_BLEND_OP_MULTIPLY_EXT = 1000148012,
1117 VK_BLEND_OP_SCREEN_EXT = 1000148013,
1118 VK_BLEND_OP_OVERLAY_EXT = 1000148014,
1119 VK_BLEND_OP_DARKEN_EXT = 1000148015,
1120 VK_BLEND_OP_LIGHTEN_EXT = 1000148016,
1121 VK_BLEND_OP_COLORDODGE_EXT = 1000148017,
1122 VK_BLEND_OP_COLORBURN_EXT = 1000148018,
1123 VK_BLEND_OP_HARDLIGHT_EXT = 1000148019,
1124 VK_BLEND_OP_SOFTLIGHT_EXT = 1000148020,
1125 VK_BLEND_OP_DIFFERENCE_EXT = 1000148021,
1126 VK_BLEND_OP_EXCLUSION_EXT = 1000148022,
1127 VK_BLEND_OP_INVERT_EXT = 1000148023,
1128 VK_BLEND_OP_INVERT_RGB_EXT = 1000148024,
1129 VK_BLEND_OP_LINEARDODGE_EXT = 1000148025,
1130 VK_BLEND_OP_LINEARBURN_EXT = 1000148026,
1131 VK_BLEND_OP_VIVIDLIGHT_EXT = 1000148027,
1132 VK_BLEND_OP_LINEARLIGHT_EXT = 1000148028,
1133 VK_BLEND_OP_PINLIGHT_EXT = 1000148029,
1134 VK_BLEND_OP_HARDMIX_EXT = 1000148030,
1135 VK_BLEND_OP_HSL_HUE_EXT = 1000148031,
1136 VK_BLEND_OP_HSL_SATURATION_EXT = 1000148032,
1137 VK_BLEND_OP_HSL_COLOR_EXT = 1000148033,
1138 VK_BLEND_OP_HSL_LUMINOSITY_EXT = 1000148034,
1139 VK_BLEND_OP_PLUS_EXT = 1000148035,
1140 VK_BLEND_OP_PLUS_CLAMPED_EXT = 1000148036,
1141 VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT = 1000148037,
1142 VK_BLEND_OP_PLUS_DARKER_EXT = 1000148038,
1143 VK_BLEND_OP_MINUS_EXT = 1000148039,
1144 VK_BLEND_OP_MINUS_CLAMPED_EXT = 1000148040,
1145 VK_BLEND_OP_CONTRAST_EXT = 1000148041,
1146 VK_BLEND_OP_INVERT_OVG_EXT = 1000148042,
1147 VK_BLEND_OP_RED_EXT = 1000148043,
1148 VK_BLEND_OP_GREEN_EXT = 1000148044,
1149 VK_BLEND_OP_BLUE_EXT = 1000148045,
1150 VK_BLEND_OP_BEGIN_RANGE = VK_BLEND_OP_ADD,
1151 VK_BLEND_OP_END_RANGE = VK_BLEND_OP_MAX,
1152 VK_BLEND_OP_RANGE_SIZE = (VK_BLEND_OP_MAX - VK_BLEND_OP_ADD + 1),
1153 VK_BLEND_OP_MAX_ENUM = 0x7FFFFFFF
1154 } VkBlendOp;
1155
1156 typedef enum VkDynamicState {
1157 VK_DYNAMIC_STATE_VIEWPORT = 0,
1158 VK_DYNAMIC_STATE_SCISSOR = 1,
1159 VK_DYNAMIC_STATE_LINE_WIDTH = 2,
1160 VK_DYNAMIC_STATE_DEPTH_BIAS = 3,
1161 VK_DYNAMIC_STATE_BLEND_CONSTANTS = 4,
1162 VK_DYNAMIC_STATE_DEPTH_BOUNDS = 5,
1163 VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK = 6,
1164 VK_DYNAMIC_STATE_STENCIL_WRITE_MASK = 7,
1165 VK_DYNAMIC_STATE_STENCIL_REFERENCE = 8,
1166 VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV = 1000087000,
1167 VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT = 1000099000,
1168 VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT = 1000143000,
1169 VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV = 1000164004,
1170 VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV = 1000164006,
1171 VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV = 1000205001,
1172 VK_DYNAMIC_STATE_BEGIN_RANGE = VK_DYNAMIC_STATE_VIEWPORT,
1173 VK_DYNAMIC_STATE_END_RANGE = VK_DYNAMIC_STATE_STENCIL_REFERENCE,
1174 VK_DYNAMIC_STATE_RANGE_SIZE = (VK_DYNAMIC_STATE_STENCIL_REFERENCE - VK_DYNAMIC_STATE_VIEWPORT + 1),
1175 VK_DYNAMIC_STATE_MAX_ENUM = 0x7FFFFFFF
1176 } VkDynamicState;
1177
1178 typedef enum VkFilter {
1179 VK_FILTER_NEAREST = 0,
1180 VK_FILTER_LINEAR = 1,
1181 VK_FILTER_CUBIC_IMG = 1000015000,
1182 VK_FILTER_CUBIC_EXT = VK_FILTER_CUBIC_IMG,
1183 VK_FILTER_BEGIN_RANGE = VK_FILTER_NEAREST,
1184 VK_FILTER_END_RANGE = VK_FILTER_LINEAR,
1185 VK_FILTER_RANGE_SIZE = (VK_FILTER_LINEAR - VK_FILTER_NEAREST + 1),
1186 VK_FILTER_MAX_ENUM = 0x7FFFFFFF
1187 } VkFilter;
1188
1189 typedef enum VkSamplerMipmapMode {
1190 VK_SAMPLER_MIPMAP_MODE_NEAREST = 0,
1191 VK_SAMPLER_MIPMAP_MODE_LINEAR = 1,
1192 VK_SAMPLER_MIPMAP_MODE_BEGIN_RANGE = VK_SAMPLER_MIPMAP_MODE_NEAREST,
1193 VK_SAMPLER_MIPMAP_MODE_END_RANGE = VK_SAMPLER_MIPMAP_MODE_LINEAR,
1194 VK_SAMPLER_MIPMAP_MODE_RANGE_SIZE = (VK_SAMPLER_MIPMAP_MODE_LINEAR - VK_SAMPLER_MIPMAP_MODE_NEAREST + 1),
1195 VK_SAMPLER_MIPMAP_MODE_MAX_ENUM = 0x7FFFFFFF
1196 } VkSamplerMipmapMode;
1197
1198 typedef enum VkSamplerAddressMode {
1199 VK_SAMPLER_ADDRESS_MODE_REPEAT = 0,
1200 VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT = 1,
1201 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = 2,
1202 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3,
1203 VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = 4,
1204 VK_SAMPLER_ADDRESS_MODE_BEGIN_RANGE = VK_SAMPLER_ADDRESS_MODE_REPEAT,
1205 VK_SAMPLER_ADDRESS_MODE_END_RANGE = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER,
1206 VK_SAMPLER_ADDRESS_MODE_RANGE_SIZE = (VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER - VK_SAMPLER_ADDRESS_MODE_REPEAT + 1),
1207 VK_SAMPLER_ADDRESS_MODE_MAX_ENUM = 0x7FFFFFFF
1208 } VkSamplerAddressMode;
1209
1210 typedef enum VkBorderColor {
1211 VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK = 0,
1212 VK_BORDER_COLOR_INT_TRANSPARENT_BLACK = 1,
1213 VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK = 2,
1214 VK_BORDER_COLOR_INT_OPAQUE_BLACK = 3,
1215 VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE = 4,
1216 VK_BORDER_COLOR_INT_OPAQUE_WHITE = 5,
1217 VK_BORDER_COLOR_BEGIN_RANGE = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK,
1218 VK_BORDER_COLOR_END_RANGE = VK_BORDER_COLOR_INT_OPAQUE_WHITE,
1219 VK_BORDER_COLOR_RANGE_SIZE = (VK_BORDER_COLOR_INT_OPAQUE_WHITE - VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK + 1),
1220 VK_BORDER_COLOR_MAX_ENUM = 0x7FFFFFFF
1221 } VkBorderColor;
1222
1223 typedef enum VkDescriptorType {
1224 VK_DESCRIPTOR_TYPE_SAMPLER = 0,
1225 VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER = 1,
1226 VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE = 2,
1227 VK_DESCRIPTOR_TYPE_STORAGE_IMAGE = 3,
1228 VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER = 4,
1229 VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER = 5,
1230 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER = 6,
1231 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER = 7,
1232 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC = 8,
1233 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC = 9,
1234 VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT = 10,
1235 VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT = 1000138000,
1236 VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV = 1000165000,
1237 VK_DESCRIPTOR_TYPE_BEGIN_RANGE = VK_DESCRIPTOR_TYPE_SAMPLER,
1238 VK_DESCRIPTOR_TYPE_END_RANGE = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT,
1239 VK_DESCRIPTOR_TYPE_RANGE_SIZE = (VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT - VK_DESCRIPTOR_TYPE_SAMPLER + 1),
1240 VK_DESCRIPTOR_TYPE_MAX_ENUM = 0x7FFFFFFF
1241 } VkDescriptorType;
1242
1243 typedef enum VkAttachmentLoadOp {
1244 VK_ATTACHMENT_LOAD_OP_LOAD = 0,
1245 VK_ATTACHMENT_LOAD_OP_CLEAR = 1,
1246 VK_ATTACHMENT_LOAD_OP_DONT_CARE = 2,
1247 VK_ATTACHMENT_LOAD_OP_BEGIN_RANGE = VK_ATTACHMENT_LOAD_OP_LOAD,
1248 VK_ATTACHMENT_LOAD_OP_END_RANGE = VK_ATTACHMENT_LOAD_OP_DONT_CARE,
1249 VK_ATTACHMENT_LOAD_OP_RANGE_SIZE = (VK_ATTACHMENT_LOAD_OP_DONT_CARE - VK_ATTACHMENT_LOAD_OP_LOAD + 1),
1250 VK_ATTACHMENT_LOAD_OP_MAX_ENUM = 0x7FFFFFFF
1251 } VkAttachmentLoadOp;
1252
1253 typedef enum VkAttachmentStoreOp {
1254 VK_ATTACHMENT_STORE_OP_STORE = 0,
1255 VK_ATTACHMENT_STORE_OP_DONT_CARE = 1,
1256 VK_ATTACHMENT_STORE_OP_BEGIN_RANGE = VK_ATTACHMENT_STORE_OP_STORE,
1257 VK_ATTACHMENT_STORE_OP_END_RANGE = VK_ATTACHMENT_STORE_OP_DONT_CARE,
1258 VK_ATTACHMENT_STORE_OP_RANGE_SIZE = (VK_ATTACHMENT_STORE_OP_DONT_CARE - VK_ATTACHMENT_STORE_OP_STORE + 1),
1259 VK_ATTACHMENT_STORE_OP_MAX_ENUM = 0x7FFFFFFF
1260 } VkAttachmentStoreOp;
1261
1262 typedef enum VkPipelineBindPoint {
1263 VK_PIPELINE_BIND_POINT_GRAPHICS = 0,
1264 VK_PIPELINE_BIND_POINT_COMPUTE = 1,
1265 VK_PIPELINE_BIND_POINT_RAY_TRACING_NV = 1000165000,
1266 VK_PIPELINE_BIND_POINT_BEGIN_RANGE = VK_PIPELINE_BIND_POINT_GRAPHICS,
1267 VK_PIPELINE_BIND_POINT_END_RANGE = VK_PIPELINE_BIND_POINT_COMPUTE,
1268 VK_PIPELINE_BIND_POINT_RANGE_SIZE = (VK_PIPELINE_BIND_POINT_COMPUTE - VK_PIPELINE_BIND_POINT_GRAPHICS + 1),
1269 VK_PIPELINE_BIND_POINT_MAX_ENUM = 0x7FFFFFFF
1270 } VkPipelineBindPoint;
1271
1272 typedef enum VkCommandBufferLevel {
1273 VK_COMMAND_BUFFER_LEVEL_PRIMARY = 0,
1274 VK_COMMAND_BUFFER_LEVEL_SECONDARY = 1,
1275 VK_COMMAND_BUFFER_LEVEL_BEGIN_RANGE = VK_COMMAND_BUFFER_LEVEL_PRIMARY,
1276 VK_COMMAND_BUFFER_LEVEL_END_RANGE = VK_COMMAND_BUFFER_LEVEL_SECONDARY,
1277 VK_COMMAND_BUFFER_LEVEL_RANGE_SIZE = (VK_COMMAND_BUFFER_LEVEL_SECONDARY - VK_COMMAND_BUFFER_LEVEL_PRIMARY + 1),
1278 VK_COMMAND_BUFFER_LEVEL_MAX_ENUM = 0x7FFFFFFF
1279 } VkCommandBufferLevel;
1280
1281 typedef enum VkIndexType {
1282 VK_INDEX_TYPE_UINT16 = 0,
1283 VK_INDEX_TYPE_UINT32 = 1,
1284 VK_INDEX_TYPE_NONE_NV = 1000165000,
1285 VK_INDEX_TYPE_BEGIN_RANGE = VK_INDEX_TYPE_UINT16,
1286 VK_INDEX_TYPE_END_RANGE = VK_INDEX_TYPE_UINT32,
1287 VK_INDEX_TYPE_RANGE_SIZE = (VK_INDEX_TYPE_UINT32 - VK_INDEX_TYPE_UINT16 + 1),
1288 VK_INDEX_TYPE_MAX_ENUM = 0x7FFFFFFF
1289 } VkIndexType;
1290
1291 typedef enum VkSubpassContents {
1292 VK_SUBPASS_CONTENTS_INLINE = 0,
1293 VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS = 1,
1294 VK_SUBPASS_CONTENTS_BEGIN_RANGE = VK_SUBPASS_CONTENTS_INLINE,
1295 VK_SUBPASS_CONTENTS_END_RANGE = VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS,
1296 VK_SUBPASS_CONTENTS_RANGE_SIZE = (VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS - VK_SUBPASS_CONTENTS_INLINE + 1),
1297 VK_SUBPASS_CONTENTS_MAX_ENUM = 0x7FFFFFFF
1298 } VkSubpassContents;
1299
1300 typedef enum VkObjectType {
1301 VK_OBJECT_TYPE_UNKNOWN = 0,
1302 VK_OBJECT_TYPE_INSTANCE = 1,
1303 VK_OBJECT_TYPE_PHYSICAL_DEVICE = 2,
1304 VK_OBJECT_TYPE_DEVICE = 3,
1305 VK_OBJECT_TYPE_QUEUE = 4,
1306 VK_OBJECT_TYPE_SEMAPHORE = 5,
1307 VK_OBJECT_TYPE_COMMAND_BUFFER = 6,
1308 VK_OBJECT_TYPE_FENCE = 7,
1309 VK_OBJECT_TYPE_DEVICE_MEMORY = 8,
1310 VK_OBJECT_TYPE_BUFFER = 9,
1311 VK_OBJECT_TYPE_IMAGE = 10,
1312 VK_OBJECT_TYPE_EVENT = 11,
1313 VK_OBJECT_TYPE_QUERY_POOL = 12,
1314 VK_OBJECT_TYPE_BUFFER_VIEW = 13,
1315 VK_OBJECT_TYPE_IMAGE_VIEW = 14,
1316 VK_OBJECT_TYPE_SHADER_MODULE = 15,
1317 VK_OBJECT_TYPE_PIPELINE_CACHE = 16,
1318 VK_OBJECT_TYPE_PIPELINE_LAYOUT = 17,
1319 VK_OBJECT_TYPE_RENDER_PASS = 18,
1320 VK_OBJECT_TYPE_PIPELINE = 19,
1321 VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT = 20,
1322 VK_OBJECT_TYPE_SAMPLER = 21,
1323 VK_OBJECT_TYPE_DESCRIPTOR_POOL = 22,
1324 VK_OBJECT_TYPE_DESCRIPTOR_SET = 23,
1325 VK_OBJECT_TYPE_FRAMEBUFFER = 24,
1326 VK_OBJECT_TYPE_COMMAND_POOL = 25,
1327 VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION = 1000156000,
1328 VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE = 1000085000,
1329 VK_OBJECT_TYPE_SURFACE_KHR = 1000000000,
1330 VK_OBJECT_TYPE_SWAPCHAIN_KHR = 1000001000,
1331 VK_OBJECT_TYPE_DISPLAY_KHR = 1000002000,
1332 VK_OBJECT_TYPE_DISPLAY_MODE_KHR = 1000002001,
1333 VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT = 1000011000,
1334 VK_OBJECT_TYPE_OBJECT_TABLE_NVX = 1000086000,
1335 VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX = 1000086001,
1336 VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT = 1000128000,
1337 VK_OBJECT_TYPE_VALIDATION_CACHE_EXT = 1000160000,
1338 VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV = 1000165000,
1339 VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL = 1000210000,
1340 VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE,
1341 VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION,
1342 VK_OBJECT_TYPE_BEGIN_RANGE = VK_OBJECT_TYPE_UNKNOWN,
1343 VK_OBJECT_TYPE_END_RANGE = VK_OBJECT_TYPE_COMMAND_POOL,
1344 VK_OBJECT_TYPE_RANGE_SIZE = (VK_OBJECT_TYPE_COMMAND_POOL - VK_OBJECT_TYPE_UNKNOWN + 1),
1345 VK_OBJECT_TYPE_MAX_ENUM = 0x7FFFFFFF
1346 } VkObjectType;
1347
1348 typedef enum VkVendorId {
1349 VK_VENDOR_ID_VIV = 0x10001,
1350 VK_VENDOR_ID_VSI = 0x10002,
1351 VK_VENDOR_ID_KAZAN = 0x10003,
1352 VK_VENDOR_ID_BEGIN_RANGE = VK_VENDOR_ID_VIV,
1353 VK_VENDOR_ID_END_RANGE = VK_VENDOR_ID_KAZAN,
1354 VK_VENDOR_ID_RANGE_SIZE = (VK_VENDOR_ID_KAZAN - VK_VENDOR_ID_VIV + 1),
1355 VK_VENDOR_ID_MAX_ENUM = 0x7FFFFFFF
1356 } VkVendorId;
1357 typedef VkFlags VkInstanceCreateFlags;
1358
1359 typedef enum VkFormatFeatureFlagBits {
1360 VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT = 0x00000001,
1361 VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT = 0x00000002,
1362 VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT = 0x00000004,
1363 VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT = 0x00000008,
1364 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT = 0x00000010,
1365 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT = 0x00000020,
1366 VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT = 0x00000040,
1367 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT = 0x00000080,
1368 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT = 0x00000100,
1369 VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT = 0x00000200,
1370 VK_FORMAT_FEATURE_BLIT_SRC_BIT = 0x00000400,
1371 VK_FORMAT_FEATURE_BLIT_DST_BIT = 0x00000800,
1372 VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT = 0x00001000,
1373 VK_FORMAT_FEATURE_TRANSFER_SRC_BIT = 0x00004000,
1374 VK_FORMAT_FEATURE_TRANSFER_DST_BIT = 0x00008000,
1375 VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT = 0x00020000,
1376 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT = 0x00040000,
1377 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT = 0x00080000,
1378 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT = 0x00100000,
1379 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT = 0x00200000,
1380 VK_FORMAT_FEATURE_DISJOINT_BIT = 0x00400000,
1381 VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT = 0x00800000,
1382 VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG = 0x00002000,
1383 VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT = 0x00010000,
1384 VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT = 0x01000000,
1385 VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR = VK_FORMAT_FEATURE_TRANSFER_SRC_BIT,
1386 VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR = VK_FORMAT_FEATURE_TRANSFER_DST_BIT,
1387 VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT_KHR = VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT,
1388 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT_KHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT,
1389 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT_KHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT,
1390 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT_KHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT,
1391 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT_KHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT,
1392 VK_FORMAT_FEATURE_DISJOINT_BIT_KHR = VK_FORMAT_FEATURE_DISJOINT_BIT,
1393 VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT_KHR = VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT,
1394 VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG,
1395 VK_FORMAT_FEATURE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1396 } VkFormatFeatureFlagBits;
1397 typedef VkFlags VkFormatFeatureFlags;
1398
1399 typedef enum VkImageUsageFlagBits {
1400 VK_IMAGE_USAGE_TRANSFER_SRC_BIT = 0x00000001,
1401 VK_IMAGE_USAGE_TRANSFER_DST_BIT = 0x00000002,
1402 VK_IMAGE_USAGE_SAMPLED_BIT = 0x00000004,
1403 VK_IMAGE_USAGE_STORAGE_BIT = 0x00000008,
1404 VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT = 0x00000010,
1405 VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT = 0x00000020,
1406 VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT = 0x00000040,
1407 VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT = 0x00000080,
1408 VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV = 0x00000100,
1409 VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT = 0x00000200,
1410 VK_IMAGE_USAGE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1411 } VkImageUsageFlagBits;
1412 typedef VkFlags VkImageUsageFlags;
1413
1414 typedef enum VkImageCreateFlagBits {
1415 VK_IMAGE_CREATE_SPARSE_BINDING_BIT = 0x00000001,
1416 VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT = 0x00000002,
1417 VK_IMAGE_CREATE_SPARSE_ALIASED_BIT = 0x00000004,
1418 VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT = 0x00000008,
1419 VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT = 0x00000010,
1420 VK_IMAGE_CREATE_ALIAS_BIT = 0x00000400,
1421 VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT = 0x00000040,
1422 VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT = 0x00000020,
1423 VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT = 0x00000080,
1424 VK_IMAGE_CREATE_EXTENDED_USAGE_BIT = 0x00000100,
1425 VK_IMAGE_CREATE_PROTECTED_BIT = 0x00000800,
1426 VK_IMAGE_CREATE_DISJOINT_BIT = 0x00000200,
1427 VK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NV = 0x00002000,
1428 VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT = 0x00001000,
1429 VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT = 0x00004000,
1430 VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR = VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT,
1431 VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR = VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT,
1432 VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR = VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT,
1433 VK_IMAGE_CREATE_EXTENDED_USAGE_BIT_KHR = VK_IMAGE_CREATE_EXTENDED_USAGE_BIT,
1434 VK_IMAGE_CREATE_DISJOINT_BIT_KHR = VK_IMAGE_CREATE_DISJOINT_BIT,
1435 VK_IMAGE_CREATE_ALIAS_BIT_KHR = VK_IMAGE_CREATE_ALIAS_BIT,
1436 VK_IMAGE_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1437 } VkImageCreateFlagBits;
1438 typedef VkFlags VkImageCreateFlags;
1439
1440 typedef enum VkSampleCountFlagBits {
1441 VK_SAMPLE_COUNT_1_BIT = 0x00000001,
1442 VK_SAMPLE_COUNT_2_BIT = 0x00000002,
1443 VK_SAMPLE_COUNT_4_BIT = 0x00000004,
1444 VK_SAMPLE_COUNT_8_BIT = 0x00000008,
1445 VK_SAMPLE_COUNT_16_BIT = 0x00000010,
1446 VK_SAMPLE_COUNT_32_BIT = 0x00000020,
1447 VK_SAMPLE_COUNT_64_BIT = 0x00000040,
1448 VK_SAMPLE_COUNT_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1449 } VkSampleCountFlagBits;
1450 typedef VkFlags VkSampleCountFlags;
1451
1452 typedef enum VkQueueFlagBits {
1453 VK_QUEUE_GRAPHICS_BIT = 0x00000001,
1454 VK_QUEUE_COMPUTE_BIT = 0x00000002,
1455 VK_QUEUE_TRANSFER_BIT = 0x00000004,
1456 VK_QUEUE_SPARSE_BINDING_BIT = 0x00000008,
1457 VK_QUEUE_PROTECTED_BIT = 0x00000010,
1458 VK_QUEUE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1459 } VkQueueFlagBits;
1460 typedef VkFlags VkQueueFlags;
1461
1462 typedef enum VkMemoryPropertyFlagBits {
1463 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT = 0x00000001,
1464 VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT = 0x00000002,
1465 VK_MEMORY_PROPERTY_HOST_COHERENT_BIT = 0x00000004,
1466 VK_MEMORY_PROPERTY_HOST_CACHED_BIT = 0x00000008,
1467 VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT = 0x00000010,
1468 VK_MEMORY_PROPERTY_PROTECTED_BIT = 0x00000020,
1469 VK_MEMORY_PROPERTY_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1470 } VkMemoryPropertyFlagBits;
1471 typedef VkFlags VkMemoryPropertyFlags;
1472
1473 typedef enum VkMemoryHeapFlagBits {
1474 VK_MEMORY_HEAP_DEVICE_LOCAL_BIT = 0x00000001,
1475 VK_MEMORY_HEAP_MULTI_INSTANCE_BIT = 0x00000002,
1476 VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHR = VK_MEMORY_HEAP_MULTI_INSTANCE_BIT,
1477 VK_MEMORY_HEAP_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1478 } VkMemoryHeapFlagBits;
1479 typedef VkFlags VkMemoryHeapFlags;
1480 typedef VkFlags VkDeviceCreateFlags;
1481
1482 typedef enum VkDeviceQueueCreateFlagBits {
1483 VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT = 0x00000001,
1484 VK_DEVICE_QUEUE_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1485 } VkDeviceQueueCreateFlagBits;
1486 typedef VkFlags VkDeviceQueueCreateFlags;
1487
1488 typedef enum VkPipelineStageFlagBits {
1489 VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT = 0x00000001,
1490 VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT = 0x00000002,
1491 VK_PIPELINE_STAGE_VERTEX_INPUT_BIT = 0x00000004,
1492 VK_PIPELINE_STAGE_VERTEX_SHADER_BIT = 0x00000008,
1493 VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT = 0x00000010,
1494 VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT = 0x00000020,
1495 VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT = 0x00000040,
1496 VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT = 0x00000080,
1497 VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT = 0x00000100,
1498 VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT = 0x00000200,
1499 VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT = 0x00000400,
1500 VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT = 0x00000800,
1501 VK_PIPELINE_STAGE_TRANSFER_BIT = 0x00001000,
1502 VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT = 0x00002000,
1503 VK_PIPELINE_STAGE_HOST_BIT = 0x00004000,
1504 VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT = 0x00008000,
1505 VK_PIPELINE_STAGE_ALL_COMMANDS_BIT = 0x00010000,
1506 VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT = 0x01000000,
1507 VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT = 0x00040000,
1508 VK_PIPELINE_STAGE_COMMAND_PROCESS_BIT_NVX = 0x00020000,
1509 VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV = 0x00400000,
1510 VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_NV = 0x00200000,
1511 VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_NV = 0x02000000,
1512 VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV = 0x00080000,
1513 VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV = 0x00100000,
1514 VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT = 0x00800000,
1515 VK_PIPELINE_STAGE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1516 } VkPipelineStageFlagBits;
1517 typedef VkFlags VkPipelineStageFlags;
1518 typedef VkFlags VkMemoryMapFlags;
1519
1520 typedef enum VkImageAspectFlagBits {
1521 VK_IMAGE_ASPECT_COLOR_BIT = 0x00000001,
1522 VK_IMAGE_ASPECT_DEPTH_BIT = 0x00000002,
1523 VK_IMAGE_ASPECT_STENCIL_BIT = 0x00000004,
1524 VK_IMAGE_ASPECT_METADATA_BIT = 0x00000008,
1525 VK_IMAGE_ASPECT_PLANE_0_BIT = 0x00000010,
1526 VK_IMAGE_ASPECT_PLANE_1_BIT = 0x00000020,
1527 VK_IMAGE_ASPECT_PLANE_2_BIT = 0x00000040,
1528 VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT = 0x00000080,
1529 VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT = 0x00000100,
1530 VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT = 0x00000200,
1531 VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT = 0x00000400,
1532 VK_IMAGE_ASPECT_PLANE_0_BIT_KHR = VK_IMAGE_ASPECT_PLANE_0_BIT,
1533 VK_IMAGE_ASPECT_PLANE_1_BIT_KHR = VK_IMAGE_ASPECT_PLANE_1_BIT,
1534 VK_IMAGE_ASPECT_PLANE_2_BIT_KHR = VK_IMAGE_ASPECT_PLANE_2_BIT,
1535 VK_IMAGE_ASPECT_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1536 } VkImageAspectFlagBits;
1537 typedef VkFlags VkImageAspectFlags;
1538
1539 typedef enum VkSparseImageFormatFlagBits {
1540 VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT = 0x00000001,
1541 VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT = 0x00000002,
1542 VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT = 0x00000004,
1543 VK_SPARSE_IMAGE_FORMAT_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1544 } VkSparseImageFormatFlagBits;
1545 typedef VkFlags VkSparseImageFormatFlags;
1546
1547 typedef enum VkSparseMemoryBindFlagBits {
1548 VK_SPARSE_MEMORY_BIND_METADATA_BIT = 0x00000001,
1549 VK_SPARSE_MEMORY_BIND_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1550 } VkSparseMemoryBindFlagBits;
1551 typedef VkFlags VkSparseMemoryBindFlags;
1552
1553 typedef enum VkFenceCreateFlagBits {
1554 VK_FENCE_CREATE_SIGNALED_BIT = 0x00000001,
1555 VK_FENCE_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1556 } VkFenceCreateFlagBits;
1557 typedef VkFlags VkFenceCreateFlags;
1558 typedef VkFlags VkSemaphoreCreateFlags;
1559 typedef VkFlags VkEventCreateFlags;
1560 typedef VkFlags VkQueryPoolCreateFlags;
1561
1562 typedef enum VkQueryPipelineStatisticFlagBits {
1563 VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT = 0x00000001,
1564 VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT = 0x00000002,
1565 VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT = 0x00000004,
1566 VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT = 0x00000008,
1567 VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT = 0x00000010,
1568 VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT = 0x00000020,
1569 VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT = 0x00000040,
1570 VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT = 0x00000080,
1571 VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT = 0x00000100,
1572 VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT = 0x00000200,
1573 VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT = 0x00000400,
1574 VK_QUERY_PIPELINE_STATISTIC_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1575 } VkQueryPipelineStatisticFlagBits;
1576 typedef VkFlags VkQueryPipelineStatisticFlags;
1577
1578 typedef enum VkQueryResultFlagBits {
1579 VK_QUERY_RESULT_64_BIT = 0x00000001,
1580 VK_QUERY_RESULT_WAIT_BIT = 0x00000002,
1581 VK_QUERY_RESULT_WITH_AVAILABILITY_BIT = 0x00000004,
1582 VK_QUERY_RESULT_PARTIAL_BIT = 0x00000008,
1583 VK_QUERY_RESULT_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1584 } VkQueryResultFlagBits;
1585 typedef VkFlags VkQueryResultFlags;
1586
1587 typedef enum VkBufferCreateFlagBits {
1588 VK_BUFFER_CREATE_SPARSE_BINDING_BIT = 0x00000001,
1589 VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT = 0x00000002,
1590 VK_BUFFER_CREATE_SPARSE_ALIASED_BIT = 0x00000004,
1591 VK_BUFFER_CREATE_PROTECTED_BIT = 0x00000008,
1592 VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT = 0x00000010,
1593 VK_BUFFER_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1594 } VkBufferCreateFlagBits;
1595 typedef VkFlags VkBufferCreateFlags;
1596
1597 typedef enum VkBufferUsageFlagBits {
1598 VK_BUFFER_USAGE_TRANSFER_SRC_BIT = 0x00000001,
1599 VK_BUFFER_USAGE_TRANSFER_DST_BIT = 0x00000002,
1600 VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT = 0x00000004,
1601 VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT = 0x00000008,
1602 VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT = 0x00000010,
1603 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT = 0x00000020,
1604 VK_BUFFER_USAGE_INDEX_BUFFER_BIT = 0x00000040,
1605 VK_BUFFER_USAGE_VERTEX_BUFFER_BIT = 0x00000080,
1606 VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT = 0x00000100,
1607 VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT = 0x00000800,
1608 VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT = 0x00001000,
1609 VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT = 0x00000200,
1610 VK_BUFFER_USAGE_RAY_TRACING_BIT_NV = 0x00000400,
1611 VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT = 0x00020000,
1612 VK_BUFFER_USAGE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1613 } VkBufferUsageFlagBits;
1614 typedef VkFlags VkBufferUsageFlags;
1615 typedef VkFlags VkBufferViewCreateFlags;
1616
1617 typedef enum VkImageViewCreateFlagBits {
1618 VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT = 0x00000001,
1619 VK_IMAGE_VIEW_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1620 } VkImageViewCreateFlagBits;
1621 typedef VkFlags VkImageViewCreateFlags;
1622 typedef VkFlags VkShaderModuleCreateFlags;
1623 typedef VkFlags VkPipelineCacheCreateFlags;
1624
1625 typedef enum VkPipelineCreateFlagBits {
1626 VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT = 0x00000001,
1627 VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT = 0x00000002,
1628 VK_PIPELINE_CREATE_DERIVATIVE_BIT = 0x00000004,
1629 VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT = 0x00000008,
1630 VK_PIPELINE_CREATE_DISPATCH_BASE = 0x00000010,
1631 VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV = 0x00000020,
1632 VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR = VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT,
1633 VK_PIPELINE_CREATE_DISPATCH_BASE_KHR = VK_PIPELINE_CREATE_DISPATCH_BASE,
1634 VK_PIPELINE_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1635 } VkPipelineCreateFlagBits;
1636 typedef VkFlags VkPipelineCreateFlags;
1637 typedef VkFlags VkPipelineShaderStageCreateFlags;
1638
1639 typedef enum VkShaderStageFlagBits {
1640 VK_SHADER_STAGE_VERTEX_BIT = 0x00000001,
1641 VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT = 0x00000002,
1642 VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT = 0x00000004,
1643 VK_SHADER_STAGE_GEOMETRY_BIT = 0x00000008,
1644 VK_SHADER_STAGE_FRAGMENT_BIT = 0x00000010,
1645 VK_SHADER_STAGE_COMPUTE_BIT = 0x00000020,
1646 VK_SHADER_STAGE_ALL_GRAPHICS = 0x0000001F,
1647 VK_SHADER_STAGE_ALL = 0x7FFFFFFF,
1648 VK_SHADER_STAGE_RAYGEN_BIT_NV = 0x00000100,
1649 VK_SHADER_STAGE_ANY_HIT_BIT_NV = 0x00000200,
1650 VK_SHADER_STAGE_CLOSEST_HIT_BIT_NV = 0x00000400,
1651 VK_SHADER_STAGE_MISS_BIT_NV = 0x00000800,
1652 VK_SHADER_STAGE_INTERSECTION_BIT_NV = 0x00001000,
1653 VK_SHADER_STAGE_CALLABLE_BIT_NV = 0x00002000,
1654 VK_SHADER_STAGE_TASK_BIT_NV = 0x00000040,
1655 VK_SHADER_STAGE_MESH_BIT_NV = 0x00000080,
1656 VK_SHADER_STAGE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1657 } VkShaderStageFlagBits;
1658 typedef VkFlags VkPipelineVertexInputStateCreateFlags;
1659 typedef VkFlags VkPipelineInputAssemblyStateCreateFlags;
1660 typedef VkFlags VkPipelineTessellationStateCreateFlags;
1661 typedef VkFlags VkPipelineViewportStateCreateFlags;
1662 typedef VkFlags VkPipelineRasterizationStateCreateFlags;
1663
1664 typedef enum VkCullModeFlagBits {
1665 VK_CULL_MODE_NONE = 0,
1666 VK_CULL_MODE_FRONT_BIT = 0x00000001,
1667 VK_CULL_MODE_BACK_BIT = 0x00000002,
1668 VK_CULL_MODE_FRONT_AND_BACK = 0x00000003,
1669 VK_CULL_MODE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1670 } VkCullModeFlagBits;
1671 typedef VkFlags VkCullModeFlags;
1672 typedef VkFlags VkPipelineMultisampleStateCreateFlags;
1673 typedef VkFlags VkPipelineDepthStencilStateCreateFlags;
1674 typedef VkFlags VkPipelineColorBlendStateCreateFlags;
1675
1676 typedef enum VkColorComponentFlagBits {
1677 VK_COLOR_COMPONENT_R_BIT = 0x00000001,
1678 VK_COLOR_COMPONENT_G_BIT = 0x00000002,
1679 VK_COLOR_COMPONENT_B_BIT = 0x00000004,
1680 VK_COLOR_COMPONENT_A_BIT = 0x00000008,
1681 VK_COLOR_COMPONENT_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1682 } VkColorComponentFlagBits;
1683 typedef VkFlags VkColorComponentFlags;
1684 typedef VkFlags VkPipelineDynamicStateCreateFlags;
1685 typedef VkFlags VkPipelineLayoutCreateFlags;
1686 typedef VkFlags VkShaderStageFlags;
1687
1688 typedef enum VkSamplerCreateFlagBits {
1689 VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT = 0x00000001,
1690 VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT = 0x00000002,
1691 VK_SAMPLER_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1692 } VkSamplerCreateFlagBits;
1693 typedef VkFlags VkSamplerCreateFlags;
1694
1695 typedef enum VkDescriptorSetLayoutCreateFlagBits {
1696 VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR = 0x00000001,
1697 VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT = 0x00000002,
1698 VK_DESCRIPTOR_SET_LAYOUT_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1699 } VkDescriptorSetLayoutCreateFlagBits;
1700 typedef VkFlags VkDescriptorSetLayoutCreateFlags;
1701
1702 typedef enum VkDescriptorPoolCreateFlagBits {
1703 VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT = 0x00000001,
1704 VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT = 0x00000002,
1705 VK_DESCRIPTOR_POOL_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1706 } VkDescriptorPoolCreateFlagBits;
1707 typedef VkFlags VkDescriptorPoolCreateFlags;
1708 typedef VkFlags VkDescriptorPoolResetFlags;
1709 typedef VkFlags VkFramebufferCreateFlags;
1710 typedef VkFlags VkRenderPassCreateFlags;
1711
1712 typedef enum VkAttachmentDescriptionFlagBits {
1713 VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT = 0x00000001,
1714 VK_ATTACHMENT_DESCRIPTION_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1715 } VkAttachmentDescriptionFlagBits;
1716 typedef VkFlags VkAttachmentDescriptionFlags;
1717
1718 typedef enum VkSubpassDescriptionFlagBits {
1719 VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX = 0x00000001,
1720 VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX = 0x00000002,
1721 VK_SUBPASS_DESCRIPTION_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1722 } VkSubpassDescriptionFlagBits;
1723 typedef VkFlags VkSubpassDescriptionFlags;
1724
1725 typedef enum VkAccessFlagBits {
1726 VK_ACCESS_INDIRECT_COMMAND_READ_BIT = 0x00000001,
1727 VK_ACCESS_INDEX_READ_BIT = 0x00000002,
1728 VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT = 0x00000004,
1729 VK_ACCESS_UNIFORM_READ_BIT = 0x00000008,
1730 VK_ACCESS_INPUT_ATTACHMENT_READ_BIT = 0x00000010,
1731 VK_ACCESS_SHADER_READ_BIT = 0x00000020,
1732 VK_ACCESS_SHADER_WRITE_BIT = 0x00000040,
1733 VK_ACCESS_COLOR_ATTACHMENT_READ_BIT = 0x00000080,
1734 VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT = 0x00000100,
1735 VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT = 0x00000200,
1736 VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT = 0x00000400,
1737 VK_ACCESS_TRANSFER_READ_BIT = 0x00000800,
1738 VK_ACCESS_TRANSFER_WRITE_BIT = 0x00001000,
1739 VK_ACCESS_HOST_READ_BIT = 0x00002000,
1740 VK_ACCESS_HOST_WRITE_BIT = 0x00004000,
1741 VK_ACCESS_MEMORY_READ_BIT = 0x00008000,
1742 VK_ACCESS_MEMORY_WRITE_BIT = 0x00010000,
1743 VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT = 0x02000000,
1744 VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT = 0x04000000,
1745 VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT = 0x08000000,
1746 VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT = 0x00100000,
1747 VK_ACCESS_COMMAND_PROCESS_READ_BIT_NVX = 0x00020000,
1748 VK_ACCESS_COMMAND_PROCESS_WRITE_BIT_NVX = 0x00040000,
1749 VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT = 0x00080000,
1750 VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV = 0x00800000,
1751 VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_NV = 0x00200000,
1752 VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_NV = 0x00400000,
1753 VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT = 0x01000000,
1754 VK_ACCESS_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1755 } VkAccessFlagBits;
1756 typedef VkFlags VkAccessFlags;
1757
1758 typedef enum VkDependencyFlagBits {
1759 VK_DEPENDENCY_BY_REGION_BIT = 0x00000001,
1760 VK_DEPENDENCY_DEVICE_GROUP_BIT = 0x00000004,
1761 VK_DEPENDENCY_VIEW_LOCAL_BIT = 0x00000002,
1762 VK_DEPENDENCY_VIEW_LOCAL_BIT_KHR = VK_DEPENDENCY_VIEW_LOCAL_BIT,
1763 VK_DEPENDENCY_DEVICE_GROUP_BIT_KHR = VK_DEPENDENCY_DEVICE_GROUP_BIT,
1764 VK_DEPENDENCY_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1765 } VkDependencyFlagBits;
1766 typedef VkFlags VkDependencyFlags;
1767
1768 typedef enum VkCommandPoolCreateFlagBits {
1769 VK_COMMAND_POOL_CREATE_TRANSIENT_BIT = 0x00000001,
1770 VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT = 0x00000002,
1771 VK_COMMAND_POOL_CREATE_PROTECTED_BIT = 0x00000004,
1772 VK_COMMAND_POOL_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1773 } VkCommandPoolCreateFlagBits;
1774 typedef VkFlags VkCommandPoolCreateFlags;
1775
1776 typedef enum VkCommandPoolResetFlagBits {
1777 VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT = 0x00000001,
1778 VK_COMMAND_POOL_RESET_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1779 } VkCommandPoolResetFlagBits;
1780 typedef VkFlags VkCommandPoolResetFlags;
1781
1782 typedef enum VkCommandBufferUsageFlagBits {
1783 VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT = 0x00000001,
1784 VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT = 0x00000002,
1785 VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT = 0x00000004,
1786 VK_COMMAND_BUFFER_USAGE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1787 } VkCommandBufferUsageFlagBits;
1788 typedef VkFlags VkCommandBufferUsageFlags;
1789
1790 typedef enum VkQueryControlFlagBits {
1791 VK_QUERY_CONTROL_PRECISE_BIT = 0x00000001,
1792 VK_QUERY_CONTROL_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1793 } VkQueryControlFlagBits;
1794 typedef VkFlags VkQueryControlFlags;
1795
1796 typedef enum VkCommandBufferResetFlagBits {
1797 VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT = 0x00000001,
1798 VK_COMMAND_BUFFER_RESET_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1799 } VkCommandBufferResetFlagBits;
1800 typedef VkFlags VkCommandBufferResetFlags;
1801
1802 typedef enum VkStencilFaceFlagBits {
1803 VK_STENCIL_FACE_FRONT_BIT = 0x00000001,
1804 VK_STENCIL_FACE_BACK_BIT = 0x00000002,
1805 VK_STENCIL_FRONT_AND_BACK = 0x00000003,
1806 VK_STENCIL_FACE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
1807 } VkStencilFaceFlagBits;
1808 typedef VkFlags VkStencilFaceFlags;
1809 typedef struct VkApplicationInfo {
1810 VkStructureType sType;
1811 const void* pNext;
1812 const char* pApplicationName;
1813 uint32_t applicationVersion;
1814 const char* pEngineName;
1815 uint32_t engineVersion;
1816 uint32_t apiVersion;
1817 } VkApplicationInfo;
1818
1819 typedef struct VkInstanceCreateInfo {
1820 VkStructureType sType;
1821 const void* pNext;
1822 VkInstanceCreateFlags flags;
1823 const VkApplicationInfo* pApplicationInfo;
1824 uint32_t enabledLayerCount;
1825 const char* const* ppEnabledLayerNames;
1826 uint32_t enabledExtensionCount;
1827 const char* const* ppEnabledExtensionNames;
1828 } VkInstanceCreateInfo;
1829
1830 typedef void* (VKAPI_PTR *PFN_vkAllocationFunction)(
1831 void* pUserData,
1832 size_t size,
1833 size_t alignment,
1834 VkSystemAllocationScope allocationScope);
1835
1836 typedef void* (VKAPI_PTR *PFN_vkReallocationFunction)(
1837 void* pUserData,
1838 void* pOriginal,
1839 size_t size,
1840 size_t alignment,
1841 VkSystemAllocationScope allocationScope);
1842
1843 typedef void (VKAPI_PTR *PFN_vkFreeFunction)(
1844 void* pUserData,
1845 void* pMemory);
1846
1847 typedef void (VKAPI_PTR *PFN_vkInternalAllocationNotification)(
1848 void* pUserData,
1849 size_t size,
1850 VkInternalAllocationType allocationType,
1851 VkSystemAllocationScope allocationScope);
1852
1853 typedef void (VKAPI_PTR *PFN_vkInternalFreeNotification)(
1854 void* pUserData,
1855 size_t size,
1856 VkInternalAllocationType allocationType,
1857 VkSystemAllocationScope allocationScope);
1858
1859 typedef struct VkAllocationCallbacks {
1860 void* pUserData;
1861 PFN_vkAllocationFunction pfnAllocation;
1862 PFN_vkReallocationFunction pfnReallocation;
1863 PFN_vkFreeFunction pfnFree;
1864 PFN_vkInternalAllocationNotification pfnInternalAllocation;
1865 PFN_vkInternalFreeNotification pfnInternalFree;
1866 } VkAllocationCallbacks;
1867
1868 typedef struct VkPhysicalDeviceFeatures {
1869 VkBool32 robustBufferAccess;
1870 VkBool32 fullDrawIndexUint32;
1871 VkBool32 imageCubeArray;
1872 VkBool32 independentBlend;
1873 VkBool32 geometryShader;
1874 VkBool32 tessellationShader;
1875 VkBool32 sampleRateShading;
1876 VkBool32 dualSrcBlend;
1877 VkBool32 logicOp;
1878 VkBool32 multiDrawIndirect;
1879 VkBool32 drawIndirectFirstInstance;
1880 VkBool32 depthClamp;
1881 VkBool32 depthBiasClamp;
1882 VkBool32 fillModeNonSolid;
1883 VkBool32 depthBounds;
1884 VkBool32 wideLines;
1885 VkBool32 largePoints;
1886 VkBool32 alphaToOne;
1887 VkBool32 multiViewport;
1888 VkBool32 samplerAnisotropy;
1889 VkBool32 textureCompressionETC2;
1890 VkBool32 textureCompressionASTC_LDR;
1891 VkBool32 textureCompressionBC;
1892 VkBool32 occlusionQueryPrecise;
1893 VkBool32 pipelineStatisticsQuery;
1894 VkBool32 vertexPipelineStoresAndAtomics;
1895 VkBool32 fragmentStoresAndAtomics;
1896 VkBool32 shaderTessellationAndGeometryPointSize;
1897 VkBool32 shaderImageGatherExtended;
1898 VkBool32 shaderStorageImageExtendedFormats;
1899 VkBool32 shaderStorageImageMultisample;
1900 VkBool32 shaderStorageImageReadWithoutFormat;
1901 VkBool32 shaderStorageImageWriteWithoutFormat;
1902 VkBool32 shaderUniformBufferArrayDynamicIndexing;
1903 VkBool32 shaderSampledImageArrayDynamicIndexing;
1904 VkBool32 shaderStorageBufferArrayDynamicIndexing;
1905 VkBool32 shaderStorageImageArrayDynamicIndexing;
1906 VkBool32 shaderClipDistance;
1907 VkBool32 shaderCullDistance;
1908 VkBool32 shaderFloat64;
1909 VkBool32 shaderInt64;
1910 VkBool32 shaderInt16;
1911 VkBool32 shaderResourceResidency;
1912 VkBool32 shaderResourceMinLod;
1913 VkBool32 sparseBinding;
1914 VkBool32 sparseResidencyBuffer;
1915 VkBool32 sparseResidencyImage2D;
1916 VkBool32 sparseResidencyImage3D;
1917 VkBool32 sparseResidency2Samples;
1918 VkBool32 sparseResidency4Samples;
1919 VkBool32 sparseResidency8Samples;
1920 VkBool32 sparseResidency16Samples;
1921 VkBool32 sparseResidencyAliased;
1922 VkBool32 variableMultisampleRate;
1923 VkBool32 inheritedQueries;
1924 } VkPhysicalDeviceFeatures;
1925
1926 typedef struct VkFormatProperties {
1927 VkFormatFeatureFlags linearTilingFeatures;
1928 VkFormatFeatureFlags optimalTilingFeatures;
1929 VkFormatFeatureFlags bufferFeatures;
1930 } VkFormatProperties;
1931
1932 typedef struct VkExtent3D {
1933 uint32_t width;
1934 uint32_t height;
1935 uint32_t depth;
1936 } VkExtent3D;
1937
1938 typedef struct VkImageFormatProperties {
1939 VkExtent3D maxExtent;
1940 uint32_t maxMipLevels;
1941 uint32_t maxArrayLayers;
1942 VkSampleCountFlags sampleCounts;
1943 VkDeviceSize maxResourceSize;
1944 } VkImageFormatProperties;
1945
1946 typedef struct VkPhysicalDeviceLimits {
1947 uint32_t maxImageDimension1D;
1948 uint32_t maxImageDimension2D;
1949 uint32_t maxImageDimension3D;
1950 uint32_t maxImageDimensionCube;
1951 uint32_t maxImageArrayLayers;
1952 uint32_t maxTexelBufferElements;
1953 uint32_t maxUniformBufferRange;
1954 uint32_t maxStorageBufferRange;
1955 uint32_t maxPushConstantsSize;
1956 uint32_t maxMemoryAllocationCount;
1957 uint32_t maxSamplerAllocationCount;
1958 VkDeviceSize bufferImageGranularity;
1959 VkDeviceSize sparseAddressSpaceSize;
1960 uint32_t maxBoundDescriptorSets;
1961 uint32_t maxPerStageDescriptorSamplers;
1962 uint32_t maxPerStageDescriptorUniformBuffers;
1963 uint32_t maxPerStageDescriptorStorageBuffers;
1964 uint32_t maxPerStageDescriptorSampledImages;
1965 uint32_t maxPerStageDescriptorStorageImages;
1966 uint32_t maxPerStageDescriptorInputAttachments;
1967 uint32_t maxPerStageResources;
1968 uint32_t maxDescriptorSetSamplers;
1969 uint32_t maxDescriptorSetUniformBuffers;
1970 uint32_t maxDescriptorSetUniformBuffersDynamic;
1971 uint32_t maxDescriptorSetStorageBuffers;
1972 uint32_t maxDescriptorSetStorageBuffersDynamic;
1973 uint32_t maxDescriptorSetSampledImages;
1974 uint32_t maxDescriptorSetStorageImages;
1975 uint32_t maxDescriptorSetInputAttachments;
1976 uint32_t maxVertexInputAttributes;
1977 uint32_t maxVertexInputBindings;
1978 uint32_t maxVertexInputAttributeOffset;
1979 uint32_t maxVertexInputBindingStride;
1980 uint32_t maxVertexOutputComponents;
1981 uint32_t maxTessellationGenerationLevel;
1982 uint32_t maxTessellationPatchSize;
1983 uint32_t maxTessellationControlPerVertexInputComponents;
1984 uint32_t maxTessellationControlPerVertexOutputComponents;
1985 uint32_t maxTessellationControlPerPatchOutputComponents;
1986 uint32_t maxTessellationControlTotalOutputComponents;
1987 uint32_t maxTessellationEvaluationInputComponents;
1988 uint32_t maxTessellationEvaluationOutputComponents;
1989 uint32_t maxGeometryShaderInvocations;
1990 uint32_t maxGeometryInputComponents;
1991 uint32_t maxGeometryOutputComponents;
1992 uint32_t maxGeometryOutputVertices;
1993 uint32_t maxGeometryTotalOutputComponents;
1994 uint32_t maxFragmentInputComponents;
1995 uint32_t maxFragmentOutputAttachments;
1996 uint32_t maxFragmentDualSrcAttachments;
1997 uint32_t maxFragmentCombinedOutputResources;
1998 uint32_t maxComputeSharedMemorySize;
1999 uint32_t maxComputeWorkGroupCount[3];
2000 uint32_t maxComputeWorkGroupInvocations;
2001 uint32_t maxComputeWorkGroupSize[3];
2002 uint32_t subPixelPrecisionBits;
2003 uint32_t subTexelPrecisionBits;
2004 uint32_t mipmapPrecisionBits;
2005 uint32_t maxDrawIndexedIndexValue;
2006 uint32_t maxDrawIndirectCount;
2007 float maxSamplerLodBias;
2008 float maxSamplerAnisotropy;
2009 uint32_t maxViewports;
2010 uint32_t maxViewportDimensions[2];
2011 float viewportBoundsRange[2];
2012 uint32_t viewportSubPixelBits;
2013 size_t minMemoryMapAlignment;
2014 VkDeviceSize minTexelBufferOffsetAlignment;
2015 VkDeviceSize minUniformBufferOffsetAlignment;
2016 VkDeviceSize minStorageBufferOffsetAlignment;
2017 int32_t minTexelOffset;
2018 uint32_t maxTexelOffset;
2019 int32_t minTexelGatherOffset;
2020 uint32_t maxTexelGatherOffset;
2021 float minInterpolationOffset;
2022 float maxInterpolationOffset;
2023 uint32_t subPixelInterpolationOffsetBits;
2024 uint32_t maxFramebufferWidth;
2025 uint32_t maxFramebufferHeight;
2026 uint32_t maxFramebufferLayers;
2027 VkSampleCountFlags framebufferColorSampleCounts;
2028 VkSampleCountFlags framebufferDepthSampleCounts;
2029 VkSampleCountFlags framebufferStencilSampleCounts;
2030 VkSampleCountFlags framebufferNoAttachmentsSampleCounts;
2031 uint32_t maxColorAttachments;
2032 VkSampleCountFlags sampledImageColorSampleCounts;
2033 VkSampleCountFlags sampledImageIntegerSampleCounts;
2034 VkSampleCountFlags sampledImageDepthSampleCounts;
2035 VkSampleCountFlags sampledImageStencilSampleCounts;
2036 VkSampleCountFlags storageImageSampleCounts;
2037 uint32_t maxSampleMaskWords;
2038 VkBool32 timestampComputeAndGraphics;
2039 float timestampPeriod;
2040 uint32_t maxClipDistances;
2041 uint32_t maxCullDistances;
2042 uint32_t maxCombinedClipAndCullDistances;
2043 uint32_t discreteQueuePriorities;
2044 float pointSizeRange[2];
2045 float lineWidthRange[2];
2046 float pointSizeGranularity;
2047 float lineWidthGranularity;
2048 VkBool32 strictLines;
2049 VkBool32 standardSampleLocations;
2050 VkDeviceSize optimalBufferCopyOffsetAlignment;
2051 VkDeviceSize optimalBufferCopyRowPitchAlignment;
2052 VkDeviceSize nonCoherentAtomSize;
2053 } VkPhysicalDeviceLimits;
2054
2055 typedef struct VkPhysicalDeviceSparseProperties {
2056 VkBool32 residencyStandard2DBlockShape;
2057 VkBool32 residencyStandard2DMultisampleBlockShape;
2058 VkBool32 residencyStandard3DBlockShape;
2059 VkBool32 residencyAlignedMipSize;
2060 VkBool32 residencyNonResidentStrict;
2061 } VkPhysicalDeviceSparseProperties;
2062
2063 typedef struct VkPhysicalDeviceProperties {
2064 uint32_t apiVersion;
2065 uint32_t driverVersion;
2066 uint32_t vendorID;
2067 uint32_t deviceID;
2068 VkPhysicalDeviceType deviceType;
2069 char deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE];
2070 uint8_t pipelineCacheUUID[VK_UUID_SIZE];
2071 VkPhysicalDeviceLimits limits;
2072 VkPhysicalDeviceSparseProperties sparseProperties;
2073 } VkPhysicalDeviceProperties;
2074
2075 typedef struct VkQueueFamilyProperties {
2076 VkQueueFlags queueFlags;
2077 uint32_t queueCount;
2078 uint32_t timestampValidBits;
2079 VkExtent3D minImageTransferGranularity;
2080 } VkQueueFamilyProperties;
2081
2082 typedef struct VkMemoryType {
2083 VkMemoryPropertyFlags propertyFlags;
2084 uint32_t heapIndex;
2085 } VkMemoryType;
2086
2087 typedef struct VkMemoryHeap {
2088 VkDeviceSize size;
2089 VkMemoryHeapFlags flags;
2090 } VkMemoryHeap;
2091
2092 typedef struct VkPhysicalDeviceMemoryProperties {
2093 uint32_t memoryTypeCount;
2094 VkMemoryType memoryTypes[VK_MAX_MEMORY_TYPES];
2095 uint32_t memoryHeapCount;
2096 VkMemoryHeap memoryHeaps[VK_MAX_MEMORY_HEAPS];
2097 } VkPhysicalDeviceMemoryProperties;
2098
2099 typedef void (VKAPI_PTR *PFN_vkVoidFunction)(void);
2100 typedef struct VkDeviceQueueCreateInfo {
2101 VkStructureType sType;
2102 const void* pNext;
2103 VkDeviceQueueCreateFlags flags;
2104 uint32_t queueFamilyIndex;
2105 uint32_t queueCount;
2106 const float* pQueuePriorities;
2107 } VkDeviceQueueCreateInfo;
2108
2109 typedef struct VkDeviceCreateInfo {
2110 VkStructureType sType;
2111 const void* pNext;
2112 VkDeviceCreateFlags flags;
2113 uint32_t queueCreateInfoCount;
2114 const VkDeviceQueueCreateInfo* pQueueCreateInfos;
2115 uint32_t enabledLayerCount;
2116 const char* const* ppEnabledLayerNames;
2117 uint32_t enabledExtensionCount;
2118 const char* const* ppEnabledExtensionNames;
2119 const VkPhysicalDeviceFeatures* pEnabledFeatures;
2120 } VkDeviceCreateInfo;
2121
2122 typedef struct VkExtensionProperties {
2123 char extensionName[VK_MAX_EXTENSION_NAME_SIZE];
2124 uint32_t specVersion;
2125 } VkExtensionProperties;
2126
2127 typedef struct VkLayerProperties {
2128 char layerName[VK_MAX_EXTENSION_NAME_SIZE];
2129 uint32_t specVersion;
2130 uint32_t implementationVersion;
2131 char description[VK_MAX_DESCRIPTION_SIZE];
2132 } VkLayerProperties;
2133
2134 typedef struct VkSubmitInfo {
2135 VkStructureType sType;
2136 const void* pNext;
2137 uint32_t waitSemaphoreCount;
2138 const VkSemaphore* pWaitSemaphores;
2139 const VkPipelineStageFlags* pWaitDstStageMask;
2140 uint32_t commandBufferCount;
2141 const VkCommandBuffer* pCommandBuffers;
2142 uint32_t signalSemaphoreCount;
2143 const VkSemaphore* pSignalSemaphores;
2144 } VkSubmitInfo;
2145
2146 typedef struct VkMemoryAllocateInfo {
2147 VkStructureType sType;
2148 const void* pNext;
2149 VkDeviceSize allocationSize;
2150 uint32_t memoryTypeIndex;
2151 } VkMemoryAllocateInfo;
2152
2153 typedef struct VkMappedMemoryRange {
2154 VkStructureType sType;
2155 const void* pNext;
2156 VkDeviceMemory memory;
2157 VkDeviceSize offset;
2158 VkDeviceSize size;
2159 } VkMappedMemoryRange;
2160
2161 typedef struct VkMemoryRequirements {
2162 VkDeviceSize size;
2163 VkDeviceSize alignment;
2164 uint32_t memoryTypeBits;
2165 } VkMemoryRequirements;
2166
2167 typedef struct VkSparseImageFormatProperties {
2168 VkImageAspectFlags aspectMask;
2169 VkExtent3D imageGranularity;
2170 VkSparseImageFormatFlags flags;
2171 } VkSparseImageFormatProperties;
2172
2173 typedef struct VkSparseImageMemoryRequirements {
2174 VkSparseImageFormatProperties formatProperties;
2175 uint32_t imageMipTailFirstLod;
2176 VkDeviceSize imageMipTailSize;
2177 VkDeviceSize imageMipTailOffset;
2178 VkDeviceSize imageMipTailStride;
2179 } VkSparseImageMemoryRequirements;
2180
2181 typedef struct VkSparseMemoryBind {
2182 VkDeviceSize resourceOffset;
2183 VkDeviceSize size;
2184 VkDeviceMemory memory;
2185 VkDeviceSize memoryOffset;
2186 VkSparseMemoryBindFlags flags;
2187 } VkSparseMemoryBind;
2188
2189 typedef struct VkSparseBufferMemoryBindInfo {
2190 VkBuffer buffer;
2191 uint32_t bindCount;
2192 const VkSparseMemoryBind* pBinds;
2193 } VkSparseBufferMemoryBindInfo;
2194
2195 typedef struct VkSparseImageOpaqueMemoryBindInfo {
2196 VkImage image;
2197 uint32_t bindCount;
2198 const VkSparseMemoryBind* pBinds;
2199 } VkSparseImageOpaqueMemoryBindInfo;
2200
2201 typedef struct VkImageSubresource {
2202 VkImageAspectFlags aspectMask;
2203 uint32_t mipLevel;
2204 uint32_t arrayLayer;
2205 } VkImageSubresource;
2206
2207 typedef struct VkOffset3D {
2208 int32_t x;
2209 int32_t y;
2210 int32_t z;
2211 } VkOffset3D;
2212
2213 typedef struct VkSparseImageMemoryBind {
2214 VkImageSubresource subresource;
2215 VkOffset3D offset;
2216 VkExtent3D extent;
2217 VkDeviceMemory memory;
2218 VkDeviceSize memoryOffset;
2219 VkSparseMemoryBindFlags flags;
2220 } VkSparseImageMemoryBind;
2221
2222 typedef struct VkSparseImageMemoryBindInfo {
2223 VkImage image;
2224 uint32_t bindCount;
2225 const VkSparseImageMemoryBind* pBinds;
2226 } VkSparseImageMemoryBindInfo;
2227
2228 typedef struct VkBindSparseInfo {
2229 VkStructureType sType;
2230 const void* pNext;
2231 uint32_t waitSemaphoreCount;
2232 const VkSemaphore* pWaitSemaphores;
2233 uint32_t bufferBindCount;
2234 const VkSparseBufferMemoryBindInfo* pBufferBinds;
2235 uint32_t imageOpaqueBindCount;
2236 const VkSparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds;
2237 uint32_t imageBindCount;
2238 const VkSparseImageMemoryBindInfo* pImageBinds;
2239 uint32_t signalSemaphoreCount;
2240 const VkSemaphore* pSignalSemaphores;
2241 } VkBindSparseInfo;
2242
2243 typedef struct VkFenceCreateInfo {
2244 VkStructureType sType;
2245 const void* pNext;
2246 VkFenceCreateFlags flags;
2247 } VkFenceCreateInfo;
2248
2249 typedef struct VkSemaphoreCreateInfo {
2250 VkStructureType sType;
2251 const void* pNext;
2252 VkSemaphoreCreateFlags flags;
2253 } VkSemaphoreCreateInfo;
2254
2255 typedef struct VkEventCreateInfo {
2256 VkStructureType sType;
2257 const void* pNext;
2258 VkEventCreateFlags flags;
2259 } VkEventCreateInfo;
2260
2261 typedef struct VkQueryPoolCreateInfo {
2262 VkStructureType sType;
2263 const void* pNext;
2264 VkQueryPoolCreateFlags flags;
2265 VkQueryType queryType;
2266 uint32_t queryCount;
2267 VkQueryPipelineStatisticFlags pipelineStatistics;
2268 } VkQueryPoolCreateInfo;
2269
2270 typedef struct VkBufferCreateInfo {
2271 VkStructureType sType;
2272 const void* pNext;
2273 VkBufferCreateFlags flags;
2274 VkDeviceSize size;
2275 VkBufferUsageFlags usage;
2276 VkSharingMode sharingMode;
2277 uint32_t queueFamilyIndexCount;
2278 const uint32_t* pQueueFamilyIndices;
2279 } VkBufferCreateInfo;
2280
2281 typedef struct VkBufferViewCreateInfo {
2282 VkStructureType sType;
2283 const void* pNext;
2284 VkBufferViewCreateFlags flags;
2285 VkBuffer buffer;
2286 VkFormat format;
2287 VkDeviceSize offset;
2288 VkDeviceSize range;
2289 } VkBufferViewCreateInfo;
2290
2291 typedef struct VkImageCreateInfo {
2292 VkStructureType sType;
2293 const void* pNext;
2294 VkImageCreateFlags flags;
2295 VkImageType imageType;
2296 VkFormat format;
2297 VkExtent3D extent;
2298 uint32_t mipLevels;
2299 uint32_t arrayLayers;
2300 VkSampleCountFlagBits samples;
2301 VkImageTiling tiling;
2302 VkImageUsageFlags usage;
2303 VkSharingMode sharingMode;
2304 uint32_t queueFamilyIndexCount;
2305 const uint32_t* pQueueFamilyIndices;
2306 VkImageLayout initialLayout;
2307 } VkImageCreateInfo;
2308
2309 typedef struct VkSubresourceLayout {
2310 VkDeviceSize offset;
2311 VkDeviceSize size;
2312 VkDeviceSize rowPitch;
2313 VkDeviceSize arrayPitch;
2314 VkDeviceSize depthPitch;
2315 } VkSubresourceLayout;
2316
2317 typedef struct VkComponentMapping {
2318 VkComponentSwizzle r;
2319 VkComponentSwizzle g;
2320 VkComponentSwizzle b;
2321 VkComponentSwizzle a;
2322 } VkComponentMapping;
2323
2324 typedef struct VkImageSubresourceRange {
2325 VkImageAspectFlags aspectMask;
2326 uint32_t baseMipLevel;
2327 uint32_t levelCount;
2328 uint32_t baseArrayLayer;
2329 uint32_t layerCount;
2330 } VkImageSubresourceRange;
2331
2332 typedef struct VkImageViewCreateInfo {
2333 VkStructureType sType;
2334 const void* pNext;
2335 VkImageViewCreateFlags flags;
2336 VkImage image;
2337 VkImageViewType viewType;
2338 VkFormat format;
2339 VkComponentMapping components;
2340 VkImageSubresourceRange subresourceRange;
2341 } VkImageViewCreateInfo;
2342
2343 typedef struct VkShaderModuleCreateInfo {
2344 VkStructureType sType;
2345 const void* pNext;
2346 VkShaderModuleCreateFlags flags;
2347 size_t codeSize;
2348 const uint32_t* pCode;
2349 } VkShaderModuleCreateInfo;
2350
2351 typedef struct VkPipelineCacheCreateInfo {
2352 VkStructureType sType;
2353 const void* pNext;
2354 VkPipelineCacheCreateFlags flags;
2355 size_t initialDataSize;
2356 const void* pInitialData;
2357 } VkPipelineCacheCreateInfo;
2358
2359 typedef struct VkSpecializationMapEntry {
2360 uint32_t constantID;
2361 uint32_t offset;
2362 size_t size;
2363 } VkSpecializationMapEntry;
2364
2365 typedef struct VkSpecializationInfo {
2366 uint32_t mapEntryCount;
2367 const VkSpecializationMapEntry* pMapEntries;
2368 size_t dataSize;
2369 const void* pData;
2370 } VkSpecializationInfo;
2371
2372 typedef struct VkPipelineShaderStageCreateInfo {
2373 VkStructureType sType;
2374 const void* pNext;
2375 VkPipelineShaderStageCreateFlags flags;
2376 VkShaderStageFlagBits stage;
2377 VkShaderModule module;
2378 const char* pName;
2379 const VkSpecializationInfo* pSpecializationInfo;
2380 } VkPipelineShaderStageCreateInfo;
2381
2382 typedef struct VkVertexInputBindingDescription {
2383 uint32_t binding;
2384 uint32_t stride;
2385 VkVertexInputRate inputRate;
2386 } VkVertexInputBindingDescription;
2387
2388 typedef struct VkVertexInputAttributeDescription {
2389 uint32_t location;
2390 uint32_t binding;
2391 VkFormat format;
2392 uint32_t offset;
2393 } VkVertexInputAttributeDescription;
2394
2395 typedef struct VkPipelineVertexInputStateCreateInfo {
2396 VkStructureType sType;
2397 const void* pNext;
2398 VkPipelineVertexInputStateCreateFlags flags;
2399 uint32_t vertexBindingDescriptionCount;
2400 const VkVertexInputBindingDescription* pVertexBindingDescriptions;
2401 uint32_t vertexAttributeDescriptionCount;
2402 const VkVertexInputAttributeDescription* pVertexAttributeDescriptions;
2403 } VkPipelineVertexInputStateCreateInfo;
2404
2405 typedef struct VkPipelineInputAssemblyStateCreateInfo {
2406 VkStructureType sType;
2407 const void* pNext;
2408 VkPipelineInputAssemblyStateCreateFlags flags;
2409 VkPrimitiveTopology topology;
2410 VkBool32 primitiveRestartEnable;
2411 } VkPipelineInputAssemblyStateCreateInfo;
2412
2413 typedef struct VkPipelineTessellationStateCreateInfo {
2414 VkStructureType sType;
2415 const void* pNext;
2416 VkPipelineTessellationStateCreateFlags flags;
2417 uint32_t patchControlPoints;
2418 } VkPipelineTessellationStateCreateInfo;
2419
2420 typedef struct VkViewport {
2421 float x;
2422 float y;
2423 float width;
2424 float height;
2425 float minDepth;
2426 float maxDepth;
2427 } VkViewport;
2428
2429 typedef struct VkOffset2D {
2430 int32_t x;
2431 int32_t y;
2432 } VkOffset2D;
2433
2434 typedef struct VkExtent2D {
2435 uint32_t width;
2436 uint32_t height;
2437 } VkExtent2D;
2438
2439 typedef struct VkRect2D {
2440 VkOffset2D offset;
2441 VkExtent2D extent;
2442 } VkRect2D;
2443
2444 typedef struct VkPipelineViewportStateCreateInfo {
2445 VkStructureType sType;
2446 const void* pNext;
2447 VkPipelineViewportStateCreateFlags flags;
2448 uint32_t viewportCount;
2449 const VkViewport* pViewports;
2450 uint32_t scissorCount;
2451 const VkRect2D* pScissors;
2452 } VkPipelineViewportStateCreateInfo;
2453
2454 typedef struct VkPipelineRasterizationStateCreateInfo {
2455 VkStructureType sType;
2456 const void* pNext;
2457 VkPipelineRasterizationStateCreateFlags flags;
2458 VkBool32 depthClampEnable;
2459 VkBool32 rasterizerDiscardEnable;
2460 VkPolygonMode polygonMode;
2461 VkCullModeFlags cullMode;
2462 VkFrontFace frontFace;
2463 VkBool32 depthBiasEnable;
2464 float depthBiasConstantFactor;
2465 float depthBiasClamp;
2466 float depthBiasSlopeFactor;
2467 float lineWidth;
2468 } VkPipelineRasterizationStateCreateInfo;
2469
2470 typedef struct VkPipelineMultisampleStateCreateInfo {
2471 VkStructureType sType;
2472 const void* pNext;
2473 VkPipelineMultisampleStateCreateFlags flags;
2474 VkSampleCountFlagBits rasterizationSamples;
2475 VkBool32 sampleShadingEnable;
2476 float minSampleShading;
2477 const VkSampleMask* pSampleMask;
2478 VkBool32 alphaToCoverageEnable;
2479 VkBool32 alphaToOneEnable;
2480 } VkPipelineMultisampleStateCreateInfo;
2481
2482 typedef struct VkStencilOpState {
2483 VkStencilOp failOp;
2484 VkStencilOp passOp;
2485 VkStencilOp depthFailOp;
2486 VkCompareOp compareOp;
2487 uint32_t compareMask;
2488 uint32_t writeMask;
2489 uint32_t reference;
2490 } VkStencilOpState;
2491
2492 typedef struct VkPipelineDepthStencilStateCreateInfo {
2493 VkStructureType sType;
2494 const void* pNext;
2495 VkPipelineDepthStencilStateCreateFlags flags;
2496 VkBool32 depthTestEnable;
2497 VkBool32 depthWriteEnable;
2498 VkCompareOp depthCompareOp;
2499 VkBool32 depthBoundsTestEnable;
2500 VkBool32 stencilTestEnable;
2501 VkStencilOpState front;
2502 VkStencilOpState back;
2503 float minDepthBounds;
2504 float maxDepthBounds;
2505 } VkPipelineDepthStencilStateCreateInfo;
2506
2507 typedef struct VkPipelineColorBlendAttachmentState {
2508 VkBool32 blendEnable;
2509 VkBlendFactor srcColorBlendFactor;
2510 VkBlendFactor dstColorBlendFactor;
2511 VkBlendOp colorBlendOp;
2512 VkBlendFactor srcAlphaBlendFactor;
2513 VkBlendFactor dstAlphaBlendFactor;
2514 VkBlendOp alphaBlendOp;
2515 VkColorComponentFlags colorWriteMask;
2516 } VkPipelineColorBlendAttachmentState;
2517
2518 typedef struct VkPipelineColorBlendStateCreateInfo {
2519 VkStructureType sType;
2520 const void* pNext;
2521 VkPipelineColorBlendStateCreateFlags flags;
2522 VkBool32 logicOpEnable;
2523 VkLogicOp logicOp;
2524 uint32_t attachmentCount;
2525 const VkPipelineColorBlendAttachmentState* pAttachments;
2526 float blendConstants[4];
2527 } VkPipelineColorBlendStateCreateInfo;
2528
2529 typedef struct VkPipelineDynamicStateCreateInfo {
2530 VkStructureType sType;
2531 const void* pNext;
2532 VkPipelineDynamicStateCreateFlags flags;
2533 uint32_t dynamicStateCount;
2534 const VkDynamicState* pDynamicStates;
2535 } VkPipelineDynamicStateCreateInfo;
2536
2537 typedef struct VkGraphicsPipelineCreateInfo {
2538 VkStructureType sType;
2539 const void* pNext;
2540 VkPipelineCreateFlags flags;
2541 uint32_t stageCount;
2542 const VkPipelineShaderStageCreateInfo* pStages;
2543 const VkPipelineVertexInputStateCreateInfo* pVertexInputState;
2544 const VkPipelineInputAssemblyStateCreateInfo* pInputAssemblyState;
2545 const VkPipelineTessellationStateCreateInfo* pTessellationState;
2546 const VkPipelineViewportStateCreateInfo* pViewportState;
2547 const VkPipelineRasterizationStateCreateInfo* pRasterizationState;
2548 const VkPipelineMultisampleStateCreateInfo* pMultisampleState;
2549 const VkPipelineDepthStencilStateCreateInfo* pDepthStencilState;
2550 const VkPipelineColorBlendStateCreateInfo* pColorBlendState;
2551 const VkPipelineDynamicStateCreateInfo* pDynamicState;
2552 VkPipelineLayout layout;
2553 VkRenderPass renderPass;
2554 uint32_t subpass;
2555 VkPipeline basePipelineHandle;
2556 int32_t basePipelineIndex;
2557 } VkGraphicsPipelineCreateInfo;
2558
2559 typedef struct VkComputePipelineCreateInfo {
2560 VkStructureType sType;
2561 const void* pNext;
2562 VkPipelineCreateFlags flags;
2563 VkPipelineShaderStageCreateInfo stage;
2564 VkPipelineLayout layout;
2565 VkPipeline basePipelineHandle;
2566 int32_t basePipelineIndex;
2567 } VkComputePipelineCreateInfo;
2568
2569 typedef struct VkPushConstantRange {
2570 VkShaderStageFlags stageFlags;
2571 uint32_t offset;
2572 uint32_t size;
2573 } VkPushConstantRange;
2574
2575 typedef struct VkPipelineLayoutCreateInfo {
2576 VkStructureType sType;
2577 const void* pNext;
2578 VkPipelineLayoutCreateFlags flags;
2579 uint32_t setLayoutCount;
2580 const VkDescriptorSetLayout* pSetLayouts;
2581 uint32_t pushConstantRangeCount;
2582 const VkPushConstantRange* pPushConstantRanges;
2583 } VkPipelineLayoutCreateInfo;
2584
2585 typedef struct VkSamplerCreateInfo {
2586 VkStructureType sType;
2587 const void* pNext;
2588 VkSamplerCreateFlags flags;
2589 VkFilter magFilter;
2590 VkFilter minFilter;
2591 VkSamplerMipmapMode mipmapMode;
2592 VkSamplerAddressMode addressModeU;
2593 VkSamplerAddressMode addressModeV;
2594 VkSamplerAddressMode addressModeW;
2595 float mipLodBias;
2596 VkBool32 anisotropyEnable;
2597 float maxAnisotropy;
2598 VkBool32 compareEnable;
2599 VkCompareOp compareOp;
2600 float minLod;
2601 float maxLod;
2602 VkBorderColor borderColor;
2603 VkBool32 unnormalizedCoordinates;
2604 } VkSamplerCreateInfo;
2605
2606 typedef struct VkDescriptorSetLayoutBinding {
2607 uint32_t binding;
2608 VkDescriptorType descriptorType;
2609 uint32_t descriptorCount;
2610 VkShaderStageFlags stageFlags;
2611 const VkSampler* pImmutableSamplers;
2612 } VkDescriptorSetLayoutBinding;
2613
2614 typedef struct VkDescriptorSetLayoutCreateInfo {
2615 VkStructureType sType;
2616 const void* pNext;
2617 VkDescriptorSetLayoutCreateFlags flags;
2618 uint32_t bindingCount;
2619 const VkDescriptorSetLayoutBinding* pBindings;
2620 } VkDescriptorSetLayoutCreateInfo;
2621
2622 typedef struct VkDescriptorPoolSize {
2623 VkDescriptorType type;
2624 uint32_t descriptorCount;
2625 } VkDescriptorPoolSize;
2626
2627 typedef struct VkDescriptorPoolCreateInfo {
2628 VkStructureType sType;
2629 const void* pNext;
2630 VkDescriptorPoolCreateFlags flags;
2631 uint32_t maxSets;
2632 uint32_t poolSizeCount;
2633 const VkDescriptorPoolSize* pPoolSizes;
2634 } VkDescriptorPoolCreateInfo;
2635
2636 typedef struct VkDescriptorSetAllocateInfo {
2637 VkStructureType sType;
2638 const void* pNext;
2639 VkDescriptorPool descriptorPool;
2640 uint32_t descriptorSetCount;
2641 const VkDescriptorSetLayout* pSetLayouts;
2642 } VkDescriptorSetAllocateInfo;
2643
2644 typedef struct VkDescriptorImageInfo {
2645 VkSampler sampler;
2646 VkImageView imageView;
2647 VkImageLayout imageLayout;
2648 } VkDescriptorImageInfo;
2649
2650 typedef struct VkDescriptorBufferInfo {
2651 VkBuffer buffer;
2652 VkDeviceSize offset;
2653 VkDeviceSize range;
2654 } VkDescriptorBufferInfo;
2655
2656 typedef struct VkWriteDescriptorSet {
2657 VkStructureType sType;
2658 const void* pNext;
2659 VkDescriptorSet dstSet;
2660 uint32_t dstBinding;
2661 uint32_t dstArrayElement;
2662 uint32_t descriptorCount;
2663 VkDescriptorType descriptorType;
2664 const VkDescriptorImageInfo* pImageInfo;
2665 const VkDescriptorBufferInfo* pBufferInfo;
2666 const VkBufferView* pTexelBufferView;
2667 } VkWriteDescriptorSet;
2668
2669 typedef struct VkCopyDescriptorSet {
2670 VkStructureType sType;
2671 const void* pNext;
2672 VkDescriptorSet srcSet;
2673 uint32_t srcBinding;
2674 uint32_t srcArrayElement;
2675 VkDescriptorSet dstSet;
2676 uint32_t dstBinding;
2677 uint32_t dstArrayElement;
2678 uint32_t descriptorCount;
2679 } VkCopyDescriptorSet;
2680
2681 typedef struct VkFramebufferCreateInfo {
2682 VkStructureType sType;
2683 const void* pNext;
2684 VkFramebufferCreateFlags flags;
2685 VkRenderPass renderPass;
2686 uint32_t attachmentCount;
2687 const VkImageView* pAttachments;
2688 uint32_t width;
2689 uint32_t height;
2690 uint32_t layers;
2691 } VkFramebufferCreateInfo;
2692
2693 typedef struct VkAttachmentDescription {
2694 VkAttachmentDescriptionFlags flags;
2695 VkFormat format;
2696 VkSampleCountFlagBits samples;
2697 VkAttachmentLoadOp loadOp;
2698 VkAttachmentStoreOp storeOp;
2699 VkAttachmentLoadOp stencilLoadOp;
2700 VkAttachmentStoreOp stencilStoreOp;
2701 VkImageLayout initialLayout;
2702 VkImageLayout finalLayout;
2703 } VkAttachmentDescription;
2704
2705 typedef struct VkAttachmentReference {
2706 uint32_t attachment;
2707 VkImageLayout layout;
2708 } VkAttachmentReference;
2709
2710 typedef struct VkSubpassDescription {
2711 VkSubpassDescriptionFlags flags;
2712 VkPipelineBindPoint pipelineBindPoint;
2713 uint32_t inputAttachmentCount;
2714 const VkAttachmentReference* pInputAttachments;
2715 uint32_t colorAttachmentCount;
2716 const VkAttachmentReference* pColorAttachments;
2717 const VkAttachmentReference* pResolveAttachments;
2718 const VkAttachmentReference* pDepthStencilAttachment;
2719 uint32_t preserveAttachmentCount;
2720 const uint32_t* pPreserveAttachments;
2721 } VkSubpassDescription;
2722
2723 typedef struct VkSubpassDependency {
2724 uint32_t srcSubpass;
2725 uint32_t dstSubpass;
2726 VkPipelineStageFlags srcStageMask;
2727 VkPipelineStageFlags dstStageMask;
2728 VkAccessFlags srcAccessMask;
2729 VkAccessFlags dstAccessMask;
2730 VkDependencyFlags dependencyFlags;
2731 } VkSubpassDependency;
2732
2733 typedef struct VkRenderPassCreateInfo {
2734 VkStructureType sType;
2735 const void* pNext;
2736 VkRenderPassCreateFlags flags;
2737 uint32_t attachmentCount;
2738 const VkAttachmentDescription* pAttachments;
2739 uint32_t subpassCount;
2740 const VkSubpassDescription* pSubpasses;
2741 uint32_t dependencyCount;
2742 const VkSubpassDependency* pDependencies;
2743 } VkRenderPassCreateInfo;
2744
2745 typedef struct VkCommandPoolCreateInfo {
2746 VkStructureType sType;
2747 const void* pNext;
2748 VkCommandPoolCreateFlags flags;
2749 uint32_t queueFamilyIndex;
2750 } VkCommandPoolCreateInfo;
2751
2752 typedef struct VkCommandBufferAllocateInfo {
2753 VkStructureType sType;
2754 const void* pNext;
2755 VkCommandPool commandPool;
2756 VkCommandBufferLevel level;
2757 uint32_t commandBufferCount;
2758 } VkCommandBufferAllocateInfo;
2759
2760 typedef struct VkCommandBufferInheritanceInfo {
2761 VkStructureType sType;
2762 const void* pNext;
2763 VkRenderPass renderPass;
2764 uint32_t subpass;
2765 VkFramebuffer framebuffer;
2766 VkBool32 occlusionQueryEnable;
2767 VkQueryControlFlags queryFlags;
2768 VkQueryPipelineStatisticFlags pipelineStatistics;
2769 } VkCommandBufferInheritanceInfo;
2770
2771 typedef struct VkCommandBufferBeginInfo {
2772 VkStructureType sType;
2773 const void* pNext;
2774 VkCommandBufferUsageFlags flags;
2775 const VkCommandBufferInheritanceInfo* pInheritanceInfo;
2776 } VkCommandBufferBeginInfo;
2777
2778 typedef struct VkBufferCopy {
2779 VkDeviceSize srcOffset;
2780 VkDeviceSize dstOffset;
2781 VkDeviceSize size;
2782 } VkBufferCopy;
2783
2784 typedef struct VkImageSubresourceLayers {
2785 VkImageAspectFlags aspectMask;
2786 uint32_t mipLevel;
2787 uint32_t baseArrayLayer;
2788 uint32_t layerCount;
2789 } VkImageSubresourceLayers;
2790
2791 typedef struct VkImageCopy {
2792 VkImageSubresourceLayers srcSubresource;
2793 VkOffset3D srcOffset;
2794 VkImageSubresourceLayers dstSubresource;
2795 VkOffset3D dstOffset;
2796 VkExtent3D extent;
2797 } VkImageCopy;
2798
2799 typedef struct VkImageBlit {
2800 VkImageSubresourceLayers srcSubresource;
2801 VkOffset3D srcOffsets[2];
2802 VkImageSubresourceLayers dstSubresource;
2803 VkOffset3D dstOffsets[2];
2804 } VkImageBlit;
2805
2806 typedef struct VkBufferImageCopy {
2807 VkDeviceSize bufferOffset;
2808 uint32_t bufferRowLength;
2809 uint32_t bufferImageHeight;
2810 VkImageSubresourceLayers imageSubresource;
2811 VkOffset3D imageOffset;
2812 VkExtent3D imageExtent;
2813 } VkBufferImageCopy;
2814
2815 typedef union VkClearColorValue {
2816 float float32[4];
2817 int32_t int32[4];
2818 uint32_t uint32[4];
2819 } VkClearColorValue;
2820
2821 typedef struct VkClearDepthStencilValue {
2822 float depth;
2823 uint32_t stencil;
2824 } VkClearDepthStencilValue;
2825
2826 typedef union VkClearValue {
2827 VkClearColorValue color;
2828 VkClearDepthStencilValue depthStencil;
2829 } VkClearValue;
2830
2831 typedef struct VkClearAttachment {
2832 VkImageAspectFlags aspectMask;
2833 uint32_t colorAttachment;
2834 VkClearValue clearValue;
2835 } VkClearAttachment;
2836
2837 typedef struct VkClearRect {
2838 VkRect2D rect;
2839 uint32_t baseArrayLayer;
2840 uint32_t layerCount;
2841 } VkClearRect;
2842
2843 typedef struct VkImageResolve {
2844 VkImageSubresourceLayers srcSubresource;
2845 VkOffset3D srcOffset;
2846 VkImageSubresourceLayers dstSubresource;
2847 VkOffset3D dstOffset;
2848 VkExtent3D extent;
2849 } VkImageResolve;
2850
2851 typedef struct VkMemoryBarrier {
2852 VkStructureType sType;
2853 const void* pNext;
2854 VkAccessFlags srcAccessMask;
2855 VkAccessFlags dstAccessMask;
2856 } VkMemoryBarrier;
2857
2858 typedef struct VkBufferMemoryBarrier {
2859 VkStructureType sType;
2860 const void* pNext;
2861 VkAccessFlags srcAccessMask;
2862 VkAccessFlags dstAccessMask;
2863 uint32_t srcQueueFamilyIndex;
2864 uint32_t dstQueueFamilyIndex;
2865 VkBuffer buffer;
2866 VkDeviceSize offset;
2867 VkDeviceSize size;
2868 } VkBufferMemoryBarrier;
2869
2870 typedef struct VkImageMemoryBarrier {
2871 VkStructureType sType;
2872 const void* pNext;
2873 VkAccessFlags srcAccessMask;
2874 VkAccessFlags dstAccessMask;
2875 VkImageLayout oldLayout;
2876 VkImageLayout newLayout;
2877 uint32_t srcQueueFamilyIndex;
2878 uint32_t dstQueueFamilyIndex;
2879 VkImage image;
2880 VkImageSubresourceRange subresourceRange;
2881 } VkImageMemoryBarrier;
2882
2883 typedef struct VkRenderPassBeginInfo {
2884 VkStructureType sType;
2885 const void* pNext;
2886 VkRenderPass renderPass;
2887 VkFramebuffer framebuffer;
2888 VkRect2D renderArea;
2889 uint32_t clearValueCount;
2890 const VkClearValue* pClearValues;
2891 } VkRenderPassBeginInfo;
2892
2893 typedef struct VkDispatchIndirectCommand {
2894 uint32_t x;
2895 uint32_t y;
2896 uint32_t z;
2897 } VkDispatchIndirectCommand;
2898
2899 typedef struct VkDrawIndexedIndirectCommand {
2900 uint32_t indexCount;
2901 uint32_t instanceCount;
2902 uint32_t firstIndex;
2903 int32_t vertexOffset;
2904 uint32_t firstInstance;
2905 } VkDrawIndexedIndirectCommand;
2906
2907 typedef struct VkDrawIndirectCommand {
2908 uint32_t vertexCount;
2909 uint32_t instanceCount;
2910 uint32_t firstVertex;
2911 uint32_t firstInstance;
2912 } VkDrawIndirectCommand;
2913
2914 typedef struct VkBaseOutStructure {
2915 VkStructureType sType;
2916 struct VkBaseOutStructure* pNext;
2917 } VkBaseOutStructure;
2918
2919 typedef struct VkBaseInStructure {
2920 VkStructureType sType;
2921 const struct VkBaseInStructure* pNext;
2922 } VkBaseInStructure;
2923
2924 typedef VkResult (VKAPI_PTR *PFN_vkCreateInstance)(const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance);
2925 typedef void (VKAPI_PTR *PFN_vkDestroyInstance)(VkInstance instance, const VkAllocationCallbacks* pAllocator);
2926 typedef VkResult (VKAPI_PTR *PFN_vkEnumeratePhysicalDevices)(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
2927 typedef void (VKAPI_PTR *PFN_vkGetPhysicalDeviceFeatures)(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures);
2928 typedef void (VKAPI_PTR *PFN_vkGetPhysicalDeviceFormatProperties)(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties* pFormatProperties);
2929 typedef VkResult (VKAPI_PTR *PFN_vkGetPhysicalDeviceImageFormatProperties)(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties);
2930 typedef void (VKAPI_PTR *PFN_vkGetPhysicalDeviceProperties)(VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties* pProperties);
2931 typedef void (VKAPI_PTR *PFN_vkGetPhysicalDeviceQueueFamilyProperties)(VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties);
2932 typedef void (VKAPI_PTR *PFN_vkGetPhysicalDeviceMemoryProperties)(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties* pMemoryProperties);
2933 typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vkGetInstanceProcAddr)(VkInstance instance, const char* pName);
2934 typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vkGetDeviceProcAddr)(VkDevice device, const char* pName);
2935 typedef VkResult (VKAPI_PTR *PFN_vkCreateDevice)(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDevice* pDevice);
2936 typedef void (VKAPI_PTR *PFN_vkDestroyDevice)(VkDevice device, const VkAllocationCallbacks* pAllocator);
2937 typedef VkResult (VKAPI_PTR *PFN_vkEnumerateInstanceExtensionProperties)(const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties);
2938 typedef VkResult (VKAPI_PTR *PFN_vkEnumerateDeviceExtensionProperties)(VkPhysicalDevice physicalDevice, const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties);
2939 typedef VkResult (VKAPI_PTR *PFN_vkEnumerateInstanceLayerProperties)(uint32_t* pPropertyCount, VkLayerProperties* pProperties);
2940 typedef VkResult (VKAPI_PTR *PFN_vkEnumerateDeviceLayerProperties)(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkLayerProperties* pProperties);
2941 typedef void (VKAPI_PTR *PFN_vkGetDeviceQueue)(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue);
2942 typedef VkResult (VKAPI_PTR *PFN_vkQueueSubmit)(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence);
2943 typedef VkResult (VKAPI_PTR *PFN_vkQueueWaitIdle)(VkQueue queue);
2944 typedef VkResult (VKAPI_PTR *PFN_vkDeviceWaitIdle)(VkDevice device);
2945 typedef VkResult (VKAPI_PTR *PFN_vkAllocateMemory)(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory);
2946 typedef void (VKAPI_PTR *PFN_vkFreeMemory)(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator);
2947 typedef VkResult (VKAPI_PTR *PFN_vkMapMemory)(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData);
2948 typedef void (VKAPI_PTR *PFN_vkUnmapMemory)(VkDevice device, VkDeviceMemory memory);
2949 typedef VkResult (VKAPI_PTR *PFN_vkFlushMappedMemoryRanges)(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges);
2950 typedef VkResult (VKAPI_PTR *PFN_vkInvalidateMappedMemoryRanges)(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges);
2951 typedef void (VKAPI_PTR *PFN_vkGetDeviceMemoryCommitment)(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes);
2952 typedef VkResult (VKAPI_PTR *PFN_vkBindBufferMemory)(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset);
2953 typedef VkResult (VKAPI_PTR *PFN_vkBindImageMemory)(VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset);
2954 typedef void (VKAPI_PTR *PFN_vkGetBufferMemoryRequirements)(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements);
2955 typedef void (VKAPI_PTR *PFN_vkGetImageMemoryRequirements)(VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements);
2956 typedef void (VKAPI_PTR *PFN_vkGetImageSparseMemoryRequirements)(VkDevice device, VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements);
2957 typedef void (VKAPI_PTR *PFN_vkGetPhysicalDeviceSparseImageFormatProperties)(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties);
2958 typedef VkResult (VKAPI_PTR *PFN_vkQueueBindSparse)(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence);
2959 typedef VkResult (VKAPI_PTR *PFN_vkCreateFence)(VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence);
2960 typedef void (VKAPI_PTR *PFN_vkDestroyFence)(VkDevice device, VkFence fence, const VkAllocationCallbacks* pAllocator);
2961 typedef VkResult (VKAPI_PTR *PFN_vkResetFences)(VkDevice device, uint32_t fenceCount, const VkFence* pFences);
2962 typedef VkResult (VKAPI_PTR *PFN_vkGetFenceStatus)(VkDevice device, VkFence fence);
2963 typedef VkResult (VKAPI_PTR *PFN_vkWaitForFences)(VkDevice device, uint32_t fenceCount, const VkFence* pFences, VkBool32 waitAll, uint64_t timeout);
2964 typedef VkResult (VKAPI_PTR *PFN_vkCreateSemaphore)(VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore);
2965 typedef void (VKAPI_PTR *PFN_vkDestroySemaphore)(VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks* pAllocator);
2966 typedef VkResult (VKAPI_PTR *PFN_vkCreateEvent)(VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkEvent* pEvent);
2967 typedef void (VKAPI_PTR *PFN_vkDestroyEvent)(VkDevice device, VkEvent event, const VkAllocationCallbacks* pAllocator);
2968 typedef VkResult (VKAPI_PTR *PFN_vkGetEventStatus)(VkDevice device, VkEvent event);
2969 typedef VkResult (VKAPI_PTR *PFN_vkSetEvent)(VkDevice device, VkEvent event);
2970 typedef VkResult (VKAPI_PTR *PFN_vkResetEvent)(VkDevice device, VkEvent event);
2971 typedef VkResult (VKAPI_PTR *PFN_vkCreateQueryPool)(VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool);
2972 typedef void (VKAPI_PTR *PFN_vkDestroyQueryPool)(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator);
2973 typedef VkResult (VKAPI_PTR *PFN_vkGetQueryPoolResults)(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags);
2974 typedef VkResult (VKAPI_PTR *PFN_vkCreateBuffer)(VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer);
2975 typedef void (VKAPI_PTR *PFN_vkDestroyBuffer)(VkDevice device, VkBuffer buffer, const VkAllocationCallbacks* pAllocator);
2976 typedef VkResult (VKAPI_PTR *PFN_vkCreateBufferView)(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView);
2977 typedef void (VKAPI_PTR *PFN_vkDestroyBufferView)(VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator);
2978 typedef VkResult (VKAPI_PTR *PFN_vkCreateImage)(VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImage* pImage);
2979 typedef void (VKAPI_PTR *PFN_vkDestroyImage)(VkDevice device, VkImage image, const VkAllocationCallbacks* pAllocator);
2980 typedef void (VKAPI_PTR *PFN_vkGetImageSubresourceLayout)(VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout);
2981 typedef VkResult (VKAPI_PTR *PFN_vkCreateImageView)(VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pView);
2982 typedef void (VKAPI_PTR *PFN_vkDestroyImageView)(VkDevice device, VkImageView imageView, const VkAllocationCallbacks* pAllocator);
2983 typedef VkResult (VKAPI_PTR *PFN_vkCreateShaderModule)(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule);
2984 typedef void (VKAPI_PTR *PFN_vkDestroyShaderModule)(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator);
2985 typedef VkResult (VKAPI_PTR *PFN_vkCreatePipelineCache)(VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache);
2986 typedef void (VKAPI_PTR *PFN_vkDestroyPipelineCache)(VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator);
2987 typedef VkResult (VKAPI_PTR *PFN_vkGetPipelineCacheData)(VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData);
2988 typedef VkResult (VKAPI_PTR *PFN_vkMergePipelineCaches)(VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches);
2989 typedef VkResult (VKAPI_PTR *PFN_vkCreateGraphicsPipelines)(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines);
2990 typedef VkResult (VKAPI_PTR *PFN_vkCreateComputePipelines)(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines);
2991 typedef void (VKAPI_PTR *PFN_vkDestroyPipeline)(VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks* pAllocator);
2992 typedef VkResult (VKAPI_PTR *PFN_vkCreatePipelineLayout)(VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout);
2993 typedef void (VKAPI_PTR *PFN_vkDestroyPipelineLayout)(VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks* pAllocator);
2994 typedef VkResult (VKAPI_PTR *PFN_vkCreateSampler)(VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler);
2995 typedef void (VKAPI_PTR *PFN_vkDestroySampler)(VkDevice device, VkSampler sampler, const VkAllocationCallbacks* pAllocator);
2996 typedef VkResult (VKAPI_PTR *PFN_vkCreateDescriptorSetLayout)(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout);
2997 typedef void (VKAPI_PTR *PFN_vkDestroyDescriptorSetLayout)(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator);
2998 typedef VkResult (VKAPI_PTR *PFN_vkCreateDescriptorPool)(VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool);
2999 typedef void (VKAPI_PTR *PFN_vkDestroyDescriptorPool)(VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator);
3000 typedef VkResult (VKAPI_PTR *PFN_vkResetDescriptorPool)(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags);
3001 typedef VkResult (VKAPI_PTR *PFN_vkAllocateDescriptorSets)(VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets);
3002 typedef VkResult (VKAPI_PTR *PFN_vkFreeDescriptorSets)(VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets);
3003 typedef void (VKAPI_PTR *PFN_vkUpdateDescriptorSets)(VkDevice device, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const VkCopyDescriptorSet* pDescriptorCopies);
3004 typedef VkResult (VKAPI_PTR *PFN_vkCreateFramebuffer)(VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer);
3005 typedef void (VKAPI_PTR *PFN_vkDestroyFramebuffer)(VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks* pAllocator);
3006 typedef VkResult (VKAPI_PTR *PFN_vkCreateRenderPass)(VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass);
3007 typedef void (VKAPI_PTR *PFN_vkDestroyRenderPass)(VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* pAllocator);
3008 typedef void (VKAPI_PTR *PFN_vkGetRenderAreaGranularity)(VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity);
3009 typedef VkResult (VKAPI_PTR *PFN_vkCreateCommandPool)(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool);
3010 typedef void (VKAPI_PTR *PFN_vkDestroyCommandPool)(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator);
3011 typedef VkResult (VKAPI_PTR *PFN_vkResetCommandPool)(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags);
3012 typedef VkResult (VKAPI_PTR *PFN_vkAllocateCommandBuffers)(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers);
3013 typedef void (VKAPI_PTR *PFN_vkFreeCommandBuffers)(VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers);
3014 typedef VkResult (VKAPI_PTR *PFN_vkBeginCommandBuffer)(VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo* pBeginInfo);
3015 typedef VkResult (VKAPI_PTR *PFN_vkEndCommandBuffer)(VkCommandBuffer commandBuffer);
3016 typedef VkResult (VKAPI_PTR *PFN_vkResetCommandBuffer)(VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags);
3017 typedef void (VKAPI_PTR *PFN_vkCmdBindPipeline)(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline);
3018 typedef void (VKAPI_PTR *PFN_vkCmdSetViewport)(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewport* pViewports);
3019 typedef void (VKAPI_PTR *PFN_vkCmdSetScissor)(VkCommandBuffer commandBuffer, uint32_t firstScissor, uint32_t scissorCount, const VkRect2D* pScissors);
3020 typedef void (VKAPI_PTR *PFN_vkCmdSetLineWidth)(VkCommandBuffer commandBuffer, float lineWidth);
3021 typedef void (VKAPI_PTR *PFN_vkCmdSetDepthBias)(VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor);
3022 typedef void (VKAPI_PTR *PFN_vkCmdSetBlendConstants)(VkCommandBuffer commandBuffer, const float blendConstants[4]);
3023 typedef void (VKAPI_PTR *PFN_vkCmdSetDepthBounds)(VkCommandBuffer commandBuffer, float minDepthBounds, float maxDepthBounds);
3024 typedef void (VKAPI_PTR *PFN_vkCmdSetStencilCompareMask)(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t compareMask);
3025 typedef void (VKAPI_PTR *PFN_vkCmdSetStencilWriteMask)(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t writeMask);
3026 typedef void (VKAPI_PTR *PFN_vkCmdSetStencilReference)(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t reference);
3027 typedef void (VKAPI_PTR *PFN_vkCmdBindDescriptorSets)(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets);
3028 typedef void (VKAPI_PTR *PFN_vkCmdBindIndexBuffer)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType);
3029 typedef void (VKAPI_PTR *PFN_vkCmdBindVertexBuffers)(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets);
3030 typedef void (VKAPI_PTR *PFN_vkCmdDraw)(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance);
3031 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndexed)(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance);
3032 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride);
3033 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndexedIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride);
3034 typedef void (VKAPI_PTR *PFN_vkCmdDispatch)(VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ);
3035 typedef void (VKAPI_PTR *PFN_vkCmdDispatchIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset);
3036 typedef void (VKAPI_PTR *PFN_vkCmdCopyBuffer)(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
3037 typedef void (VKAPI_PTR *PFN_vkCmdCopyImage)(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions);
3038 typedef void (VKAPI_PTR *PFN_vkCmdBlitImage)(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter);
3039 typedef void (VKAPI_PTR *PFN_vkCmdCopyBufferToImage)(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions);
3040 typedef void (VKAPI_PTR *PFN_vkCmdCopyImageToBuffer)(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions);
3041 typedef void (VKAPI_PTR *PFN_vkCmdUpdateBuffer)(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData);
3042 typedef void (VKAPI_PTR *PFN_vkCmdFillBuffer)(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data);
3043 typedef void (VKAPI_PTR *PFN_vkCmdClearColorImage)(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor, uint32_t rangeCount, const VkImageSubresourceRange* pRanges);
3044 typedef void (VKAPI_PTR *PFN_vkCmdClearDepthStencilImage)(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange* pRanges);
3045 typedef void (VKAPI_PTR *PFN_vkCmdClearAttachments)(VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkClearAttachment* pAttachments, uint32_t rectCount, const VkClearRect* pRects);
3046 typedef void (VKAPI_PTR *PFN_vkCmdResolveImage)(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve* pRegions);
3047 typedef void (VKAPI_PTR *PFN_vkCmdSetEvent)(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask);
3048 typedef void (VKAPI_PTR *PFN_vkCmdResetEvent)(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask);
3049 typedef void (VKAPI_PTR *PFN_vkCmdWaitEvents)(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers);
3050 typedef void (VKAPI_PTR *PFN_vkCmdPipelineBarrier)(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers);
3051 typedef void (VKAPI_PTR *PFN_vkCmdBeginQuery)(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags);
3052 typedef void (VKAPI_PTR *PFN_vkCmdEndQuery)(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query);
3053 typedef void (VKAPI_PTR *PFN_vkCmdResetQueryPool)(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount);
3054 typedef void (VKAPI_PTR *PFN_vkCmdWriteTimestamp)(VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t query);
3055 typedef void (VKAPI_PTR *PFN_vkCmdCopyQueryPoolResults)(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags);
3056 typedef void (VKAPI_PTR *PFN_vkCmdPushConstants)(VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues);
3057 typedef void (VKAPI_PTR *PFN_vkCmdBeginRenderPass)(VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, VkSubpassContents contents);
3058 typedef void (VKAPI_PTR *PFN_vkCmdNextSubpass)(VkCommandBuffer commandBuffer, VkSubpassContents contents);
3059 typedef void (VKAPI_PTR *PFN_vkCmdEndRenderPass)(VkCommandBuffer commandBuffer);
3060 typedef void (VKAPI_PTR *PFN_vkCmdExecuteCommands)(VkCommandBuffer commandBuffer, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers);
3061
3062 #ifndef VK_NO_PROTOTYPES
3063 VKAPI_ATTR VkResult VKAPI_CALL vkCreateInstance(
3064 const VkInstanceCreateInfo* pCreateInfo,
3065 const VkAllocationCallbacks* pAllocator,
3066 VkInstance* pInstance);
3067
3068 VKAPI_ATTR void VKAPI_CALL vkDestroyInstance(
3069 VkInstance instance,
3070 const VkAllocationCallbacks* pAllocator);
3071
3072 VKAPI_ATTR VkResult VKAPI_CALL vkEnumeratePhysicalDevices(
3073 VkInstance instance,
3074 uint32_t* pPhysicalDeviceCount,
3075 VkPhysicalDevice* pPhysicalDevices);
3076
3077 VKAPI_ATTR void VKAPI_CALL vkGetPhysicalDeviceFeatures(
3078 VkPhysicalDevice physicalDevice,
3079 VkPhysicalDeviceFeatures* pFeatures);
3080