9 ** Copyright (c) 2015 The Khronos Group Inc.
11 ** Permission is hereby granted, free of charge, to any person obtaining a
12 ** copy of this software and/or associated documentation files (the
13 ** "Materials"), to deal in the Materials without restriction, including
14 ** without limitation the rights to use, copy, modify, merge, publish,
15 ** distribute, sublicense, and/or sell copies of the Materials, and to
16 ** permit persons to whom the Materials are furnished to do so, subject to
17 ** the following conditions:
19 ** The above copyright notice and this permission notice shall be included
20 ** in all copies or substantial portions of the Materials.
22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
32 ** This header is generated from the Khronos Vulkan XML API Registry.
37 #define VK_VERSION_1_0 1
38 #include "vk_platform.h"
40 #define VK_MAKE_VERSION(major, minor, patch) \
41 ((major << 22) | (minor << 12) | patch)
43 // Vulkan API version supported by this file
44 #define VK_API_VERSION VK_MAKE_VERSION(0, 170, 2)
47 #define VK_NULL_HANDLE 0
51 #define VK_DEFINE_HANDLE(object) typedef struct object##_T* object;
54 #if defined(__LP64__) || defined(_WIN64) || defined(__x86_64__) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
55 #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef struct object##_T *object;
57 #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef uint64_t object;
62 typedef uint32_t VkFlags
;
63 typedef uint32_t VkBool32
;
64 typedef uint64_t VkDeviceSize
;
65 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(VkShader
)
83 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipelineCache
)
84 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipelineLayout
)
85 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkRenderPass
)
86 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipeline
)
87 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorSetLayout
)
88 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSampler
)
89 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorPool
)
90 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorSet
)
91 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkFramebuffer
)
92 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCommandPool
)
94 #define VK_LOD_CLAMP_NONE 1000.0f
95 #define VK_REMAINING_MIP_LEVELS (~0U)
96 #define VK_REMAINING_ARRAY_LAYERS (~0U)
97 #define VK_WHOLE_SIZE (~0ULL)
98 #define VK_ATTACHMENT_UNUSED (~0U)
101 #define VK_QUEUE_FAMILY_IGNORED (~0U)
102 #define VK_SUBPASS_EXTERNAL (~0U)
103 #define VK_MAX_PHYSICAL_DEVICE_NAME_SIZE 256
104 #define VK_UUID_SIZE 16
105 #define VK_MAX_MEMORY_TYPES 32
106 #define VK_MAX_MEMORY_HEAPS 16
107 #define VK_MAX_EXTENSION_NAME_SIZE 256
108 #define VK_MAX_DESCRIPTION_SIZE 256
111 typedef enum VkResult
{
119 VK_ERROR_OUT_OF_HOST_MEMORY
= -1,
120 VK_ERROR_OUT_OF_DEVICE_MEMORY
= -2,
121 VK_ERROR_INITIALIZATION_FAILED
= -3,
122 VK_ERROR_DEVICE_LOST
= -4,
123 VK_ERROR_MEMORY_MAP_FAILED
= -5,
124 VK_ERROR_LAYER_NOT_PRESENT
= -6,
125 VK_ERROR_EXTENSION_NOT_PRESENT
= -7,
126 VK_ERROR_INCOMPATIBLE_DRIVER
= -8,
127 VK_RESULT_BEGIN_RANGE
= VK_ERROR_INCOMPATIBLE_DRIVER
,
128 VK_RESULT_END_RANGE
= VK_INCOMPLETE
,
129 VK_RESULT_NUM
= (VK_INCOMPLETE
- VK_ERROR_INCOMPATIBLE_DRIVER
+ 1),
130 VK_RESULT_MAX_ENUM
= 0x7FFFFFFF
133 typedef enum VkStructureType
{
134 VK_STRUCTURE_TYPE_APPLICATION_INFO
= 0,
135 VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO
= 1,
136 VK_STRUCTURE_TYPE_MEMORY_ALLOC_INFO
= 2,
137 VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO
= 3,
138 VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO
= 4,
139 VK_STRUCTURE_TYPE_SHADER_CREATE_INFO
= 5,
140 VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO
= 6,
141 VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO
= 7,
142 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO
= 8,
143 VK_STRUCTURE_TYPE_COMMAND_BUFFER_CREATE_INFO
= 9,
144 VK_STRUCTURE_TYPE_EVENT_CREATE_INFO
= 10,
145 VK_STRUCTURE_TYPE_FENCE_CREATE_INFO
= 11,
146 VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO
= 12,
147 VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO
= 13,
148 VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO
= 14,
149 VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO
= 15,
150 VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO
= 16,
151 VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO
= 17,
152 VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO
= 18,
153 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO
= 19,
154 VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO
= 20,
155 VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO
= 21,
156 VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO
= 22,
157 VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO
= 23,
158 VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO
= 24,
159 VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO
= 25,
160 VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO
= 26,
161 VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO
= 27,
162 VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO
= 28,
163 VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO
= 29,
164 VK_STRUCTURE_TYPE_MEMORY_BARRIER
= 30,
165 VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER
= 31,
166 VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER
= 32,
167 VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO
= 33,
168 VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET
= 34,
169 VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET
= 35,
170 VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO
= 36,
171 VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO
= 37,
172 VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE
= 38,
173 VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO
= 39,
174 VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION
= 40,
175 VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION
= 41,
176 VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY
= 42,
177 VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO
= 43,
178 VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO
= 44,
179 VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO
= 45,
180 VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO
= 46,
181 VK_STRUCTURE_TYPE_BEGIN_RANGE
= VK_STRUCTURE_TYPE_APPLICATION_INFO
,
182 VK_STRUCTURE_TYPE_END_RANGE
= VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO
,
183 VK_STRUCTURE_TYPE_NUM
= (VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO
- VK_STRUCTURE_TYPE_APPLICATION_INFO
+ 1),
184 VK_STRUCTURE_TYPE_MAX_ENUM
= 0x7FFFFFFF
188 VK_SYSTEM_ALLOC_TYPE_API_OBJECT
= 0,
189 VK_SYSTEM_ALLOC_TYPE_INTERNAL
= 1,
190 VK_SYSTEM_ALLOC_TYPE_INTERNAL_TEMP
= 2,
191 VK_SYSTEM_ALLOC_TYPE_INTERNAL_SHADER
= 3,
192 VK_SYSTEM_ALLOC_TYPE_DEBUG
= 4,
193 VK_SYSTEM_ALLOC_TYPE_BEGIN_RANGE
= VK_SYSTEM_ALLOC_TYPE_API_OBJECT
,
194 VK_SYSTEM_ALLOC_TYPE_END_RANGE
= VK_SYSTEM_ALLOC_TYPE_DEBUG
,
195 VK_SYSTEM_ALLOC_TYPE_NUM
= (VK_SYSTEM_ALLOC_TYPE_DEBUG
- VK_SYSTEM_ALLOC_TYPE_API_OBJECT
+ 1),
196 VK_SYSTEM_ALLOC_TYPE_MAX_ENUM
= 0x7FFFFFFF
199 typedef enum VkFormat
{
200 VK_FORMAT_UNDEFINED
= 0,
201 VK_FORMAT_R4G4_UNORM
= 1,
202 VK_FORMAT_R4G4_USCALED
= 2,
203 VK_FORMAT_R4G4B4A4_UNORM
= 3,
204 VK_FORMAT_R4G4B4A4_USCALED
= 4,
205 VK_FORMAT_R5G6B5_UNORM
= 5,
206 VK_FORMAT_R5G6B5_USCALED
= 6,
207 VK_FORMAT_R5G5B5A1_UNORM
= 7,
208 VK_FORMAT_R5G5B5A1_USCALED
= 8,
209 VK_FORMAT_R8_UNORM
= 9,
210 VK_FORMAT_R8_SNORM
= 10,
211 VK_FORMAT_R8_USCALED
= 11,
212 VK_FORMAT_R8_SSCALED
= 12,
213 VK_FORMAT_R8_UINT
= 13,
214 VK_FORMAT_R8_SINT
= 14,
215 VK_FORMAT_R8_SRGB
= 15,
216 VK_FORMAT_R8G8_UNORM
= 16,
217 VK_FORMAT_R8G8_SNORM
= 17,
218 VK_FORMAT_R8G8_USCALED
= 18,
219 VK_FORMAT_R8G8_SSCALED
= 19,
220 VK_FORMAT_R8G8_UINT
= 20,
221 VK_FORMAT_R8G8_SINT
= 21,
222 VK_FORMAT_R8G8_SRGB
= 22,
223 VK_FORMAT_R8G8B8_UNORM
= 23,
224 VK_FORMAT_R8G8B8_SNORM
= 24,
225 VK_FORMAT_R8G8B8_USCALED
= 25,
226 VK_FORMAT_R8G8B8_SSCALED
= 26,
227 VK_FORMAT_R8G8B8_UINT
= 27,
228 VK_FORMAT_R8G8B8_SINT
= 28,
229 VK_FORMAT_R8G8B8_SRGB
= 29,
230 VK_FORMAT_R8G8B8A8_UNORM
= 30,
231 VK_FORMAT_R8G8B8A8_SNORM
= 31,
232 VK_FORMAT_R8G8B8A8_USCALED
= 32,
233 VK_FORMAT_R8G8B8A8_SSCALED
= 33,
234 VK_FORMAT_R8G8B8A8_UINT
= 34,
235 VK_FORMAT_R8G8B8A8_SINT
= 35,
236 VK_FORMAT_R8G8B8A8_SRGB
= 36,
237 VK_FORMAT_R10G10B10A2_UNORM
= 37,
238 VK_FORMAT_R10G10B10A2_SNORM
= 38,
239 VK_FORMAT_R10G10B10A2_USCALED
= 39,
240 VK_FORMAT_R10G10B10A2_SSCALED
= 40,
241 VK_FORMAT_R10G10B10A2_UINT
= 41,
242 VK_FORMAT_R10G10B10A2_SINT
= 42,
243 VK_FORMAT_R16_UNORM
= 43,
244 VK_FORMAT_R16_SNORM
= 44,
245 VK_FORMAT_R16_USCALED
= 45,
246 VK_FORMAT_R16_SSCALED
= 46,
247 VK_FORMAT_R16_UINT
= 47,
248 VK_FORMAT_R16_SINT
= 48,
249 VK_FORMAT_R16_SFLOAT
= 49,
250 VK_FORMAT_R16G16_UNORM
= 50,
251 VK_FORMAT_R16G16_SNORM
= 51,
252 VK_FORMAT_R16G16_USCALED
= 52,
253 VK_FORMAT_R16G16_SSCALED
= 53,
254 VK_FORMAT_R16G16_UINT
= 54,
255 VK_FORMAT_R16G16_SINT
= 55,
256 VK_FORMAT_R16G16_SFLOAT
= 56,
257 VK_FORMAT_R16G16B16_UNORM
= 57,
258 VK_FORMAT_R16G16B16_SNORM
= 58,
259 VK_FORMAT_R16G16B16_USCALED
= 59,
260 VK_FORMAT_R16G16B16_SSCALED
= 60,
261 VK_FORMAT_R16G16B16_UINT
= 61,
262 VK_FORMAT_R16G16B16_SINT
= 62,
263 VK_FORMAT_R16G16B16_SFLOAT
= 63,
264 VK_FORMAT_R16G16B16A16_UNORM
= 64,
265 VK_FORMAT_R16G16B16A16_SNORM
= 65,
266 VK_FORMAT_R16G16B16A16_USCALED
= 66,
267 VK_FORMAT_R16G16B16A16_SSCALED
= 67,
268 VK_FORMAT_R16G16B16A16_UINT
= 68,
269 VK_FORMAT_R16G16B16A16_SINT
= 69,
270 VK_FORMAT_R16G16B16A16_SFLOAT
= 70,
271 VK_FORMAT_R32_UINT
= 71,
272 VK_FORMAT_R32_SINT
= 72,
273 VK_FORMAT_R32_SFLOAT
= 73,
274 VK_FORMAT_R32G32_UINT
= 74,
275 VK_FORMAT_R32G32_SINT
= 75,
276 VK_FORMAT_R32G32_SFLOAT
= 76,
277 VK_FORMAT_R32G32B32_UINT
= 77,
278 VK_FORMAT_R32G32B32_SINT
= 78,
279 VK_FORMAT_R32G32B32_SFLOAT
= 79,
280 VK_FORMAT_R32G32B32A32_UINT
= 80,
281 VK_FORMAT_R32G32B32A32_SINT
= 81,
282 VK_FORMAT_R32G32B32A32_SFLOAT
= 82,
283 VK_FORMAT_R64_SFLOAT
= 83,
284 VK_FORMAT_R64G64_SFLOAT
= 84,
285 VK_FORMAT_R64G64B64_SFLOAT
= 85,
286 VK_FORMAT_R64G64B64A64_SFLOAT
= 86,
287 VK_FORMAT_R11G11B10_UFLOAT
= 87,
288 VK_FORMAT_R9G9B9E5_UFLOAT
= 88,
289 VK_FORMAT_D16_UNORM
= 89,
290 VK_FORMAT_D24_UNORM_X8
= 90,
291 VK_FORMAT_D32_SFLOAT
= 91,
292 VK_FORMAT_S8_UINT
= 92,
293 VK_FORMAT_D16_UNORM_S8_UINT
= 93,
294 VK_FORMAT_D24_UNORM_S8_UINT
= 94,
295 VK_FORMAT_D32_SFLOAT_S8_UINT
= 95,
296 VK_FORMAT_BC1_RGB_UNORM
= 96,
297 VK_FORMAT_BC1_RGB_SRGB
= 97,
298 VK_FORMAT_BC1_RGBA_UNORM
= 98,
299 VK_FORMAT_BC1_RGBA_SRGB
= 99,
300 VK_FORMAT_BC2_UNORM
= 100,
301 VK_FORMAT_BC2_SRGB
= 101,
302 VK_FORMAT_BC3_UNORM
= 102,
303 VK_FORMAT_BC3_SRGB
= 103,
304 VK_FORMAT_BC4_UNORM
= 104,
305 VK_FORMAT_BC4_SNORM
= 105,
306 VK_FORMAT_BC5_UNORM
= 106,
307 VK_FORMAT_BC5_SNORM
= 107,
308 VK_FORMAT_BC6H_UFLOAT
= 108,
309 VK_FORMAT_BC6H_SFLOAT
= 109,
310 VK_FORMAT_BC7_UNORM
= 110,
311 VK_FORMAT_BC7_SRGB
= 111,
312 VK_FORMAT_ETC2_R8G8B8_UNORM
= 112,
313 VK_FORMAT_ETC2_R8G8B8_SRGB
= 113,
314 VK_FORMAT_ETC2_R8G8B8A1_UNORM
= 114,
315 VK_FORMAT_ETC2_R8G8B8A1_SRGB
= 115,
316 VK_FORMAT_ETC2_R8G8B8A8_UNORM
= 116,
317 VK_FORMAT_ETC2_R8G8B8A8_SRGB
= 117,
318 VK_FORMAT_EAC_R11_UNORM
= 118,
319 VK_FORMAT_EAC_R11_SNORM
= 119,
320 VK_FORMAT_EAC_R11G11_UNORM
= 120,
321 VK_FORMAT_EAC_R11G11_SNORM
= 121,
322 VK_FORMAT_ASTC_4x4_UNORM
= 122,
323 VK_FORMAT_ASTC_4x4_SRGB
= 123,
324 VK_FORMAT_ASTC_5x4_UNORM
= 124,
325 VK_FORMAT_ASTC_5x4_SRGB
= 125,
326 VK_FORMAT_ASTC_5x5_UNORM
= 126,
327 VK_FORMAT_ASTC_5x5_SRGB
= 127,
328 VK_FORMAT_ASTC_6x5_UNORM
= 128,
329 VK_FORMAT_ASTC_6x5_SRGB
= 129,
330 VK_FORMAT_ASTC_6x6_UNORM
= 130,
331 VK_FORMAT_ASTC_6x6_SRGB
= 131,
332 VK_FORMAT_ASTC_8x5_UNORM
= 132,
333 VK_FORMAT_ASTC_8x5_SRGB
= 133,
334 VK_FORMAT_ASTC_8x6_UNORM
= 134,
335 VK_FORMAT_ASTC_8x6_SRGB
= 135,
336 VK_FORMAT_ASTC_8x8_UNORM
= 136,
337 VK_FORMAT_ASTC_8x8_SRGB
= 137,
338 VK_FORMAT_ASTC_10x5_UNORM
= 138,
339 VK_FORMAT_ASTC_10x5_SRGB
= 139,
340 VK_FORMAT_ASTC_10x6_UNORM
= 140,
341 VK_FORMAT_ASTC_10x6_SRGB
= 141,
342 VK_FORMAT_ASTC_10x8_UNORM
= 142,
343 VK_FORMAT_ASTC_10x8_SRGB
= 143,
344 VK_FORMAT_ASTC_10x10_UNORM
= 144,
345 VK_FORMAT_ASTC_10x10_SRGB
= 145,
346 VK_FORMAT_ASTC_12x10_UNORM
= 146,
347 VK_FORMAT_ASTC_12x10_SRGB
= 147,
348 VK_FORMAT_ASTC_12x12_UNORM
= 148,
349 VK_FORMAT_ASTC_12x12_SRGB
= 149,
350 VK_FORMAT_B4G4R4A4_UNORM
= 150,
351 VK_FORMAT_B5G5R5A1_UNORM
= 151,
352 VK_FORMAT_B5G6R5_UNORM
= 152,
353 VK_FORMAT_B5G6R5_USCALED
= 153,
354 VK_FORMAT_B8G8R8_UNORM
= 154,
355 VK_FORMAT_B8G8R8_SNORM
= 155,
356 VK_FORMAT_B8G8R8_USCALED
= 156,
357 VK_FORMAT_B8G8R8_SSCALED
= 157,
358 VK_FORMAT_B8G8R8_UINT
= 158,
359 VK_FORMAT_B8G8R8_SINT
= 159,
360 VK_FORMAT_B8G8R8_SRGB
= 160,
361 VK_FORMAT_B8G8R8A8_UNORM
= 161,
362 VK_FORMAT_B8G8R8A8_SNORM
= 162,
363 VK_FORMAT_B8G8R8A8_USCALED
= 163,
364 VK_FORMAT_B8G8R8A8_SSCALED
= 164,
365 VK_FORMAT_B8G8R8A8_UINT
= 165,
366 VK_FORMAT_B8G8R8A8_SINT
= 166,
367 VK_FORMAT_B8G8R8A8_SRGB
= 167,
368 VK_FORMAT_B10G10R10A2_UNORM
= 168,
369 VK_FORMAT_B10G10R10A2_SNORM
= 169,
370 VK_FORMAT_B10G10R10A2_USCALED
= 170,
371 VK_FORMAT_B10G10R10A2_SSCALED
= 171,
372 VK_FORMAT_B10G10R10A2_UINT
= 172,
373 VK_FORMAT_B10G10R10A2_SINT
= 173,
374 VK_FORMAT_BEGIN_RANGE
= VK_FORMAT_UNDEFINED
,
375 VK_FORMAT_END_RANGE
= VK_FORMAT_B10G10R10A2_SINT
,
376 VK_FORMAT_NUM
= (VK_FORMAT_B10G10R10A2_SINT
- VK_FORMAT_UNDEFINED
+ 1),
377 VK_FORMAT_MAX_ENUM
= 0x7FFFFFFF
380 typedef enum VkImageType
{
381 VK_IMAGE_TYPE_1D
= 0,
382 VK_IMAGE_TYPE_2D
= 1,
383 VK_IMAGE_TYPE_3D
= 2,
384 VK_IMAGE_TYPE_BEGIN_RANGE
= VK_IMAGE_TYPE_1D
,
385 VK_IMAGE_TYPE_END_RANGE
= VK_IMAGE_TYPE_3D
,
386 VK_IMAGE_TYPE_RANGE_SIZE
= (VK_IMAGE_TYPE_3D
- VK_IMAGE_TYPE_1D
+ 1),
387 VK_IMAGE_TYPE_MAX_ENUM
= 0x7FFFFFFF
390 typedef enum VkImageTiling
{
391 VK_IMAGE_TILING_OPTIMAL
= 0,
392 VK_IMAGE_TILING_LINEAR
= 1,
393 VK_IMAGE_TILING_BEGIN_RANGE
= VK_IMAGE_TILING_OPTIMAL
,
394 VK_IMAGE_TILING_END_RANGE
= VK_IMAGE_TILING_LINEAR
,
395 VK_IMAGE_TILING_RANGE_SIZE
= (VK_IMAGE_TILING_LINEAR
- VK_IMAGE_TILING_OPTIMAL
+ 1),
396 VK_IMAGE_TILING_MAX_ENUM
= 0x7FFFFFFF
399 typedef enum VkPhysicalDeviceType
{
400 VK_PHYSICAL_DEVICE_TYPE_OTHER
= 0,
401 VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
= 1,
402 VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
= 2,
403 VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU
= 3,
404 VK_PHYSICAL_DEVICE_TYPE_CPU
= 4,
405 VK_PHYSICAL_DEVICE_TYPE_BEGIN_RANGE
= VK_PHYSICAL_DEVICE_TYPE_OTHER
,
406 VK_PHYSICAL_DEVICE_TYPE_END_RANGE
= VK_PHYSICAL_DEVICE_TYPE_CPU
,
407 VK_PHYSICAL_DEVICE_TYPE_RANGE_SIZE
= (VK_PHYSICAL_DEVICE_TYPE_CPU
- VK_PHYSICAL_DEVICE_TYPE_OTHER
+ 1),
408 VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM
= 0x7FFFFFFF
409 } VkPhysicalDeviceType
;
412 VK_IMAGE_ASPECT_COLOR
= 0,
413 VK_IMAGE_ASPECT_DEPTH
= 1,
414 VK_IMAGE_ASPECT_STENCIL
= 2,
415 VK_IMAGE_ASPECT_METADATA
= 3,
416 VK_IMAGE_ASPECT_BEGIN_RANGE
= VK_IMAGE_ASPECT_COLOR
,
417 VK_IMAGE_ASPECT_END_RANGE
= VK_IMAGE_ASPECT_METADATA
,
418 VK_IMAGE_ASPECT_NUM
= (VK_IMAGE_ASPECT_METADATA
- VK_IMAGE_ASPECT_COLOR
+ 1),
419 VK_IMAGE_ASPECT_MAX_ENUM
= 0x7FFFFFFF
422 typedef enum VkQueryType
{
423 VK_QUERY_TYPE_OCCLUSION
= 0,
424 VK_QUERY_TYPE_PIPELINE_STATISTICS
= 1,
425 VK_QUERY_TYPE_BEGIN_RANGE
= VK_QUERY_TYPE_OCCLUSION
,
426 VK_QUERY_TYPE_END_RANGE
= VK_QUERY_TYPE_PIPELINE_STATISTICS
,
427 VK_QUERY_TYPE_RANGE_SIZE
= (VK_QUERY_TYPE_PIPELINE_STATISTICS
- VK_QUERY_TYPE_OCCLUSION
+ 1),
428 VK_QUERY_TYPE_MAX_ENUM
= 0x7FFFFFFF
431 typedef enum VkSharingMode
{
432 VK_SHARING_MODE_EXCLUSIVE
= 0,
433 VK_SHARING_MODE_CONCURRENT
= 1,
434 VK_SHARING_MODE_BEGIN_RANGE
= VK_SHARING_MODE_EXCLUSIVE
,
435 VK_SHARING_MODE_END_RANGE
= VK_SHARING_MODE_CONCURRENT
,
436 VK_SHARING_MODE_RANGE_SIZE
= (VK_SHARING_MODE_CONCURRENT
- VK_SHARING_MODE_EXCLUSIVE
+ 1),
437 VK_SHARING_MODE_MAX_ENUM
= 0x7FFFFFFF
440 typedef enum VkImageLayout
{
441 VK_IMAGE_LAYOUT_UNDEFINED
= 0,
442 VK_IMAGE_LAYOUT_GENERAL
= 1,
443 VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL
= 2,
444 VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL
= 3,
445 VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL
= 4,
446 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
= 5,
447 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL
= 6,
448 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL
= 7,
449 VK_IMAGE_LAYOUT_PREINITIALIZED
= 8,
450 VK_IMAGE_LAYOUT_BEGIN_RANGE
= VK_IMAGE_LAYOUT_UNDEFINED
,
451 VK_IMAGE_LAYOUT_END_RANGE
= VK_IMAGE_LAYOUT_PREINITIALIZED
,
452 VK_IMAGE_LAYOUT_RANGE_SIZE
= (VK_IMAGE_LAYOUT_PREINITIALIZED
- VK_IMAGE_LAYOUT_UNDEFINED
+ 1),
453 VK_IMAGE_LAYOUT_MAX_ENUM
= 0x7FFFFFFF
456 typedef enum VkImageViewType
{
457 VK_IMAGE_VIEW_TYPE_1D
= 0,
458 VK_IMAGE_VIEW_TYPE_2D
= 1,
459 VK_IMAGE_VIEW_TYPE_3D
= 2,
460 VK_IMAGE_VIEW_TYPE_CUBE
= 3,
461 VK_IMAGE_VIEW_TYPE_1D_ARRAY
= 4,
462 VK_IMAGE_VIEW_TYPE_2D_ARRAY
= 5,
463 VK_IMAGE_VIEW_TYPE_CUBE_ARRAY
= 6,
464 VK_IMAGE_VIEW_TYPE_BEGIN_RANGE
= VK_IMAGE_VIEW_TYPE_1D
,
465 VK_IMAGE_VIEW_TYPE_END_RANGE
= VK_IMAGE_VIEW_TYPE_CUBE_ARRAY
,
466 VK_IMAGE_VIEW_TYPE_RANGE_SIZE
= (VK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- VK_IMAGE_VIEW_TYPE_1D
+ 1),
467 VK_IMAGE_VIEW_TYPE_MAX_ENUM
= 0x7FFFFFFF
470 typedef enum VkComponentSwizzle
{
471 VK_COMPONENT_SWIZZLE_IDENTITY
= 0,
472 VK_COMPONENT_SWIZZLE_ZERO
= 1,
473 VK_COMPONENT_SWIZZLE_ONE
= 2,
474 VK_COMPONENT_SWIZZLE_R
= 3,
475 VK_COMPONENT_SWIZZLE_G
= 4,
476 VK_COMPONENT_SWIZZLE_B
= 5,
477 VK_COMPONENT_SWIZZLE_A
= 6,
478 VK_COMPONENT_SWIZZLE_BEGIN_RANGE
= VK_COMPONENT_SWIZZLE_IDENTITY
,
479 VK_COMPONENT_SWIZZLE_END_RANGE
= VK_COMPONENT_SWIZZLE_A
,
480 VK_COMPONENT_SWIZZLE_RANGE_SIZE
= (VK_COMPONENT_SWIZZLE_A
- VK_COMPONENT_SWIZZLE_IDENTITY
+ 1),
481 VK_COMPONENT_SWIZZLE_MAX_ENUM
= 0x7FFFFFFF
482 } VkComponentSwizzle
;
485 VK_SHADER_STAGE_VERTEX
= 0,
486 VK_SHADER_STAGE_TESS_CONTROL
= 1,
487 VK_SHADER_STAGE_TESS_EVALUATION
= 2,
488 VK_SHADER_STAGE_GEOMETRY
= 3,
489 VK_SHADER_STAGE_FRAGMENT
= 4,
490 VK_SHADER_STAGE_COMPUTE
= 5,
491 VK_SHADER_STAGE_BEGIN_RANGE
= VK_SHADER_STAGE_VERTEX
,
492 VK_SHADER_STAGE_END_RANGE
= VK_SHADER_STAGE_COMPUTE
,
493 VK_SHADER_STAGE_NUM
= (VK_SHADER_STAGE_COMPUTE
- VK_SHADER_STAGE_VERTEX
+ 1),
494 VK_SHADER_STAGE_MAX_ENUM
= 0x7FFFFFFF
497 typedef enum VkVertexInputRate
{
498 VK_VERTEX_INPUT_RATE_VERTEX
= 0,
499 VK_VERTEX_INPUT_RATE_INSTANCE
= 1,
500 VK_VERTEX_INPUT_RATE_BEGIN_RANGE
= VK_VERTEX_INPUT_RATE_VERTEX
,
501 VK_VERTEX_INPUT_RATE_END_RANGE
= VK_VERTEX_INPUT_RATE_INSTANCE
,
502 VK_VERTEX_INPUT_RATE_RANGE_SIZE
= (VK_VERTEX_INPUT_RATE_INSTANCE
- VK_VERTEX_INPUT_RATE_VERTEX
+ 1),
503 VK_VERTEX_INPUT_RATE_MAX_ENUM
= 0x7FFFFFFF
506 typedef enum VkPrimitiveTopology
{
507 VK_PRIMITIVE_TOPOLOGY_POINT_LIST
= 0,
508 VK_PRIMITIVE_TOPOLOGY_LINE_LIST
= 1,
509 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP
= 2,
510 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST
= 3,
511 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP
= 4,
512 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN
= 5,
513 VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY
= 6,
514 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY
= 7,
515 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY
= 8,
516 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY
= 9,
517 VK_PRIMITIVE_TOPOLOGY_PATCH_LIST
= 10,
518 VK_PRIMITIVE_TOPOLOGY_BEGIN_RANGE
= VK_PRIMITIVE_TOPOLOGY_POINT_LIST
,
519 VK_PRIMITIVE_TOPOLOGY_END_RANGE
= VK_PRIMITIVE_TOPOLOGY_PATCH_LIST
,
520 VK_PRIMITIVE_TOPOLOGY_RANGE_SIZE
= (VK_PRIMITIVE_TOPOLOGY_PATCH_LIST
- VK_PRIMITIVE_TOPOLOGY_POINT_LIST
+ 1),
521 VK_PRIMITIVE_TOPOLOGY_MAX_ENUM
= 0x7FFFFFFF
522 } VkPrimitiveTopology
;
524 typedef enum VkPolygonMode
{
525 VK_POLYGON_MODE_FILL
= 0,
526 VK_POLYGON_MODE_LINE
= 1,
527 VK_POLYGON_MODE_POINT
= 2,
528 VK_POLYGON_MODE_BEGIN_RANGE
= VK_POLYGON_MODE_FILL
,
529 VK_POLYGON_MODE_END_RANGE
= VK_POLYGON_MODE_POINT
,
530 VK_POLYGON_MODE_RANGE_SIZE
= (VK_POLYGON_MODE_POINT
- VK_POLYGON_MODE_FILL
+ 1),
531 VK_POLYGON_MODE_MAX_ENUM
= 0x7FFFFFFF
534 typedef enum VkFrontFace
{
535 VK_FRONT_FACE_COUNTER_CLOCKWISE
= 0,
536 VK_FRONT_FACE_CLOCKWISE
= 1,
537 VK_FRONT_FACE_BEGIN_RANGE
= VK_FRONT_FACE_COUNTER_CLOCKWISE
,
538 VK_FRONT_FACE_END_RANGE
= VK_FRONT_FACE_CLOCKWISE
,
539 VK_FRONT_FACE_RANGE_SIZE
= (VK_FRONT_FACE_CLOCKWISE
- VK_FRONT_FACE_COUNTER_CLOCKWISE
+ 1),
540 VK_FRONT_FACE_MAX_ENUM
= 0x7FFFFFFF
543 typedef enum VkCompareOp
{
544 VK_COMPARE_OP_NEVER
= 0,
545 VK_COMPARE_OP_LESS
= 1,
546 VK_COMPARE_OP_EQUAL
= 2,
547 VK_COMPARE_OP_LESS_OR_EQUAL
= 3,
548 VK_COMPARE_OP_GREATER
= 4,
549 VK_COMPARE_OP_NOT_EQUAL
= 5,
550 VK_COMPARE_OP_GREATER_OR_EQUAL
= 6,
551 VK_COMPARE_OP_ALWAYS
= 7,
552 VK_COMPARE_OP_BEGIN_RANGE
= VK_COMPARE_OP_NEVER
,
553 VK_COMPARE_OP_END_RANGE
= VK_COMPARE_OP_ALWAYS
,
554 VK_COMPARE_OP_RANGE_SIZE
= (VK_COMPARE_OP_ALWAYS
- VK_COMPARE_OP_NEVER
+ 1),
555 VK_COMPARE_OP_MAX_ENUM
= 0x7FFFFFFF
558 typedef enum VkStencilOp
{
559 VK_STENCIL_OP_KEEP
= 0,
560 VK_STENCIL_OP_ZERO
= 1,
561 VK_STENCIL_OP_REPLACE
= 2,
562 VK_STENCIL_OP_INCREMENT_AND_CLAMP
= 3,
563 VK_STENCIL_OP_DECREMENT_AND_CLAMP
= 4,
564 VK_STENCIL_OP_INVERT
= 5,
565 VK_STENCIL_OP_INCREMENT_AND_WRAP
= 6,
566 VK_STENCIL_OP_DECREMENT_AND_WRAP
= 7,
567 VK_STENCIL_OP_BEGIN_RANGE
= VK_STENCIL_OP_KEEP
,
568 VK_STENCIL_OP_END_RANGE
= VK_STENCIL_OP_DECREMENT_AND_WRAP
,
569 VK_STENCIL_OP_RANGE_SIZE
= (VK_STENCIL_OP_DECREMENT_AND_WRAP
- VK_STENCIL_OP_KEEP
+ 1),
570 VK_STENCIL_OP_MAX_ENUM
= 0x7FFFFFFF
573 typedef enum VkLogicOp
{
574 VK_LOGIC_OP_CLEAR
= 0,
576 VK_LOGIC_OP_AND_REVERSE
= 2,
577 VK_LOGIC_OP_COPY
= 3,
578 VK_LOGIC_OP_AND_INVERTED
= 4,
579 VK_LOGIC_OP_NO_OP
= 5,
583 VK_LOGIC_OP_EQUIVALENT
= 9,
584 VK_LOGIC_OP_INVERT
= 10,
585 VK_LOGIC_OP_OR_REVERSE
= 11,
586 VK_LOGIC_OP_COPY_INVERTED
= 12,
587 VK_LOGIC_OP_OR_INVERTED
= 13,
588 VK_LOGIC_OP_NAND
= 14,
589 VK_LOGIC_OP_SET
= 15,
590 VK_LOGIC_OP_BEGIN_RANGE
= VK_LOGIC_OP_CLEAR
,
591 VK_LOGIC_OP_END_RANGE
= VK_LOGIC_OP_SET
,
592 VK_LOGIC_OP_RANGE_SIZE
= (VK_LOGIC_OP_SET
- VK_LOGIC_OP_CLEAR
+ 1),
593 VK_LOGIC_OP_MAX_ENUM
= 0x7FFFFFFF
596 typedef enum VkBlendFactor
{
597 VK_BLEND_FACTOR_ZERO
= 0,
598 VK_BLEND_FACTOR_ONE
= 1,
599 VK_BLEND_FACTOR_SRC_COLOR
= 2,
600 VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR
= 3,
601 VK_BLEND_FACTOR_DST_COLOR
= 4,
602 VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR
= 5,
603 VK_BLEND_FACTOR_SRC_ALPHA
= 6,
604 VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
= 7,
605 VK_BLEND_FACTOR_DST_ALPHA
= 8,
606 VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA
= 9,
607 VK_BLEND_FACTOR_CONSTANT_COLOR
= 10,
608 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR
= 11,
609 VK_BLEND_FACTOR_CONSTANT_ALPHA
= 12,
610 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA
= 13,
611 VK_BLEND_FACTOR_SRC_ALPHA_SATURATE
= 14,
612 VK_BLEND_FACTOR_SRC1_COLOR
= 15,
613 VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR
= 16,
614 VK_BLEND_FACTOR_SRC1_ALPHA
= 17,
615 VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA
= 18,
616 VK_BLEND_FACTOR_BEGIN_RANGE
= VK_BLEND_FACTOR_ZERO
,
617 VK_BLEND_FACTOR_END_RANGE
= VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA
,
618 VK_BLEND_FACTOR_RANGE_SIZE
= (VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA
- VK_BLEND_FACTOR_ZERO
+ 1),
619 VK_BLEND_FACTOR_MAX_ENUM
= 0x7FFFFFFF
622 typedef enum VkBlendOp
{
624 VK_BLEND_OP_SUBTRACT
= 1,
625 VK_BLEND_OP_REVERSE_SUBTRACT
= 2,
628 VK_BLEND_OP_BEGIN_RANGE
= VK_BLEND_OP_ADD
,
629 VK_BLEND_OP_END_RANGE
= VK_BLEND_OP_MAX
,
630 VK_BLEND_OP_RANGE_SIZE
= (VK_BLEND_OP_MAX
- VK_BLEND_OP_ADD
+ 1),
631 VK_BLEND_OP_MAX_ENUM
= 0x7FFFFFFF
634 typedef enum VkDynamicState
{
635 VK_DYNAMIC_STATE_VIEWPORT
= 0,
636 VK_DYNAMIC_STATE_SCISSOR
= 1,
637 VK_DYNAMIC_STATE_LINE_WIDTH
= 2,
638 VK_DYNAMIC_STATE_DEPTH_BIAS
= 3,
639 VK_DYNAMIC_STATE_BLEND_CONSTANTS
= 4,
640 VK_DYNAMIC_STATE_DEPTH_BOUNDS
= 5,
641 VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK
= 6,
642 VK_DYNAMIC_STATE_STENCIL_WRITE_MASK
= 7,
643 VK_DYNAMIC_STATE_STENCIL_REFERENCE
= 8,
644 VK_DYNAMIC_STATE_BEGIN_RANGE
= VK_DYNAMIC_STATE_VIEWPORT
,
645 VK_DYNAMIC_STATE_END_RANGE
= VK_DYNAMIC_STATE_STENCIL_REFERENCE
,
646 VK_DYNAMIC_STATE_RANGE_SIZE
= (VK_DYNAMIC_STATE_STENCIL_REFERENCE
- VK_DYNAMIC_STATE_VIEWPORT
+ 1),
647 VK_DYNAMIC_STATE_MAX_ENUM
= 0x7FFFFFFF
650 typedef enum VkFilter
{
651 VK_FILTER_NEAREST
= 0,
652 VK_FILTER_LINEAR
= 1,
653 VK_FILTER_BEGIN_RANGE
= VK_FILTER_NEAREST
,
654 VK_FILTER_END_RANGE
= VK_FILTER_LINEAR
,
655 VK_FILTER_RANGE_SIZE
= (VK_FILTER_LINEAR
- VK_FILTER_NEAREST
+ 1),
656 VK_FILTER_MAX_ENUM
= 0x7FFFFFFF
659 typedef enum VkSamplerMipmapMode
{
660 VK_SAMPLER_MIPMAP_MODE_BASE
= 0,
661 VK_SAMPLER_MIPMAP_MODE_NEAREST
= 1,
662 VK_SAMPLER_MIPMAP_MODE_LINEAR
= 2,
663 VK_SAMPLER_MIPMAP_MODE_BEGIN_RANGE
= VK_SAMPLER_MIPMAP_MODE_BASE
,
664 VK_SAMPLER_MIPMAP_MODE_END_RANGE
= VK_SAMPLER_MIPMAP_MODE_LINEAR
,
665 VK_SAMPLER_MIPMAP_MODE_RANGE_SIZE
= (VK_SAMPLER_MIPMAP_MODE_LINEAR
- VK_SAMPLER_MIPMAP_MODE_BASE
+ 1),
666 VK_SAMPLER_MIPMAP_MODE_MAX_ENUM
= 0x7FFFFFFF
667 } VkSamplerMipmapMode
;
669 typedef enum VkSamplerAddressMode
{
670 VK_SAMPLER_ADDRESS_MODE_REPEAT
= 0,
671 VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT
= 1,
672 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
= 2,
673 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER
= 3,
674 VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
= 4,
675 VK_SAMPLER_ADDRESS_MODE_BEGIN_RANGE
= VK_SAMPLER_ADDRESS_MODE_REPEAT
,
676 VK_SAMPLER_ADDRESS_MODE_END_RANGE
= VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
,
677 VK_SAMPLER_ADDRESS_MODE_RANGE_SIZE
= (VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
- VK_SAMPLER_ADDRESS_MODE_REPEAT
+ 1),
678 VK_SAMPLER_ADDRESS_MODE_MAX_ENUM
= 0x7FFFFFFF
679 } VkSamplerAddressMode
;
681 typedef enum VkBorderColor
{
682 VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK
= 0,
683 VK_BORDER_COLOR_INT_TRANSPARENT_BLACK
= 1,
684 VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK
= 2,
685 VK_BORDER_COLOR_INT_OPAQUE_BLACK
= 3,
686 VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE
= 4,
687 VK_BORDER_COLOR_INT_OPAQUE_WHITE
= 5,
688 VK_BORDER_COLOR_BEGIN_RANGE
= VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK
,
689 VK_BORDER_COLOR_END_RANGE
= VK_BORDER_COLOR_INT_OPAQUE_WHITE
,
690 VK_BORDER_COLOR_RANGE_SIZE
= (VK_BORDER_COLOR_INT_OPAQUE_WHITE
- VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK
+ 1),
691 VK_BORDER_COLOR_MAX_ENUM
= 0x7FFFFFFF
694 typedef enum VkDescriptorType
{
695 VK_DESCRIPTOR_TYPE_SAMPLER
= 0,
696 VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
= 1,
697 VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE
= 2,
698 VK_DESCRIPTOR_TYPE_STORAGE_IMAGE
= 3,
699 VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER
= 4,
700 VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
= 5,
701 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER
= 6,
702 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
= 7,
703 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC
= 8,
704 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
= 9,
705 VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT
= 10,
706 VK_DESCRIPTOR_TYPE_BEGIN_RANGE
= VK_DESCRIPTOR_TYPE_SAMPLER
,
707 VK_DESCRIPTOR_TYPE_END_RANGE
= VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT
,
708 VK_DESCRIPTOR_TYPE_RANGE_SIZE
= (VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT
- VK_DESCRIPTOR_TYPE_SAMPLER
+ 1),
709 VK_DESCRIPTOR_TYPE_MAX_ENUM
= 0x7FFFFFFF
713 VK_DESCRIPTOR_POOL_USAGE_ONE_SHOT
= 0,
714 VK_DESCRIPTOR_POOL_USAGE_DYNAMIC
= 1,
715 VK_DESCRIPTOR_POOL_USAGE_BEGIN_RANGE
= VK_DESCRIPTOR_POOL_USAGE_ONE_SHOT
,
716 VK_DESCRIPTOR_POOL_USAGE_END_RANGE
= VK_DESCRIPTOR_POOL_USAGE_DYNAMIC
,
717 VK_DESCRIPTOR_POOL_USAGE_NUM
= (VK_DESCRIPTOR_POOL_USAGE_DYNAMIC
- VK_DESCRIPTOR_POOL_USAGE_ONE_SHOT
+ 1),
718 VK_DESCRIPTOR_POOL_USAGE_MAX_ENUM
= 0x7FFFFFFF
719 } VkDescriptorPoolUsage
;
722 VK_DESCRIPTOR_SET_USAGE_ONE_SHOT
= 0,
723 VK_DESCRIPTOR_SET_USAGE_STATIC
= 1,
724 VK_DESCRIPTOR_SET_USAGE_BEGIN_RANGE
= VK_DESCRIPTOR_SET_USAGE_ONE_SHOT
,
725 VK_DESCRIPTOR_SET_USAGE_END_RANGE
= VK_DESCRIPTOR_SET_USAGE_STATIC
,
726 VK_DESCRIPTOR_SET_USAGE_NUM
= (VK_DESCRIPTOR_SET_USAGE_STATIC
- VK_DESCRIPTOR_SET_USAGE_ONE_SHOT
+ 1),
727 VK_DESCRIPTOR_SET_USAGE_MAX_ENUM
= 0x7FFFFFFF
728 } VkDescriptorSetUsage
;
730 typedef enum VkAttachmentLoadOp
{
731 VK_ATTACHMENT_LOAD_OP_LOAD
= 0,
732 VK_ATTACHMENT_LOAD_OP_CLEAR
= 1,
733 VK_ATTACHMENT_LOAD_OP_DONT_CARE
= 2,
734 VK_ATTACHMENT_LOAD_OP_BEGIN_RANGE
= VK_ATTACHMENT_LOAD_OP_LOAD
,
735 VK_ATTACHMENT_LOAD_OP_END_RANGE
= VK_ATTACHMENT_LOAD_OP_DONT_CARE
,
736 VK_ATTACHMENT_LOAD_OP_RANGE_SIZE
= (VK_ATTACHMENT_LOAD_OP_DONT_CARE
- VK_ATTACHMENT_LOAD_OP_LOAD
+ 1),
737 VK_ATTACHMENT_LOAD_OP_MAX_ENUM
= 0x7FFFFFFF
738 } VkAttachmentLoadOp
;
740 typedef enum VkAttachmentStoreOp
{
741 VK_ATTACHMENT_STORE_OP_STORE
= 0,
742 VK_ATTACHMENT_STORE_OP_DONT_CARE
= 1,
743 VK_ATTACHMENT_STORE_OP_BEGIN_RANGE
= VK_ATTACHMENT_STORE_OP_STORE
,
744 VK_ATTACHMENT_STORE_OP_END_RANGE
= VK_ATTACHMENT_STORE_OP_DONT_CARE
,
745 VK_ATTACHMENT_STORE_OP_RANGE_SIZE
= (VK_ATTACHMENT_STORE_OP_DONT_CARE
- VK_ATTACHMENT_STORE_OP_STORE
+ 1),
746 VK_ATTACHMENT_STORE_OP_MAX_ENUM
= 0x7FFFFFFF
747 } VkAttachmentStoreOp
;
749 typedef enum VkPipelineBindPoint
{
750 VK_PIPELINE_BIND_POINT_GRAPHICS
= 0,
751 VK_PIPELINE_BIND_POINT_COMPUTE
= 1,
752 VK_PIPELINE_BIND_POINT_BEGIN_RANGE
= VK_PIPELINE_BIND_POINT_GRAPHICS
,
753 VK_PIPELINE_BIND_POINT_END_RANGE
= VK_PIPELINE_BIND_POINT_COMPUTE
,
754 VK_PIPELINE_BIND_POINT_RANGE_SIZE
= (VK_PIPELINE_BIND_POINT_COMPUTE
- VK_PIPELINE_BIND_POINT_GRAPHICS
+ 1),
755 VK_PIPELINE_BIND_POINT_MAX_ENUM
= 0x7FFFFFFF
756 } VkPipelineBindPoint
;
758 typedef enum VkCommandBufferLevel
{
759 VK_COMMAND_BUFFER_LEVEL_PRIMARY
= 0,
760 VK_COMMAND_BUFFER_LEVEL_SECONDARY
= 1,
761 VK_COMMAND_BUFFER_LEVEL_BEGIN_RANGE
= VK_COMMAND_BUFFER_LEVEL_PRIMARY
,
762 VK_COMMAND_BUFFER_LEVEL_END_RANGE
= VK_COMMAND_BUFFER_LEVEL_SECONDARY
,
763 VK_COMMAND_BUFFER_LEVEL_RANGE_SIZE
= (VK_COMMAND_BUFFER_LEVEL_SECONDARY
- VK_COMMAND_BUFFER_LEVEL_PRIMARY
+ 1),
764 VK_COMMAND_BUFFER_LEVEL_MAX_ENUM
= 0x7FFFFFFF
765 } VkCommandBufferLevel
;
767 typedef enum VkIndexType
{
768 VK_INDEX_TYPE_UINT16
= 0,
769 VK_INDEX_TYPE_UINT32
= 1,
770 VK_INDEX_TYPE_BEGIN_RANGE
= VK_INDEX_TYPE_UINT16
,
771 VK_INDEX_TYPE_END_RANGE
= VK_INDEX_TYPE_UINT32
,
772 VK_INDEX_TYPE_RANGE_SIZE
= (VK_INDEX_TYPE_UINT32
- VK_INDEX_TYPE_UINT16
+ 1),
773 VK_INDEX_TYPE_MAX_ENUM
= 0x7FFFFFFF
777 VK_TIMESTAMP_TYPE_TOP
= 0,
778 VK_TIMESTAMP_TYPE_BOTTOM
= 1,
779 VK_TIMESTAMP_TYPE_BEGIN_RANGE
= VK_TIMESTAMP_TYPE_TOP
,
780 VK_TIMESTAMP_TYPE_END_RANGE
= VK_TIMESTAMP_TYPE_BOTTOM
,
781 VK_TIMESTAMP_TYPE_NUM
= (VK_TIMESTAMP_TYPE_BOTTOM
- VK_TIMESTAMP_TYPE_TOP
+ 1),
782 VK_TIMESTAMP_TYPE_MAX_ENUM
= 0x7FFFFFFF
785 typedef enum VkSubpassContents
{
786 VK_SUBPASS_CONTENTS_INLINE
= 0,
787 VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS
= 1,
788 VK_SUBPASS_CONTENTS_BEGIN_RANGE
= VK_SUBPASS_CONTENTS_INLINE
,
789 VK_SUBPASS_CONTENTS_END_RANGE
= VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS
,
790 VK_SUBPASS_CONTENTS_RANGE_SIZE
= (VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS
- VK_SUBPASS_CONTENTS_INLINE
+ 1),
791 VK_SUBPASS_CONTENTS_MAX_ENUM
= 0x7FFFFFFF
794 typedef VkFlags VkInstanceCreateFlags
;
796 typedef enum VkFormatFeatureFlagBits
{
797 VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT
= 0x00000001,
798 VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT
= 0x00000002,
799 VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
= 0x00000004,
800 VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT
= 0x00000008,
801 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT
= 0x00000010,
802 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
= 0x00000020,
803 VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT
= 0x00000040,
804 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT
= 0x00000080,
805 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
= 0x00000100,
806 VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT
= 0x00000200,
807 VK_FORMAT_FEATURE_BLIT_SRC_BIT
= 0x00000400,
808 VK_FORMAT_FEATURE_BLIT_DST_BIT
= 0x00000800,
809 } VkFormatFeatureFlagBits
;
810 typedef VkFlags VkFormatFeatureFlags
;
812 typedef enum VkImageUsageFlagBits
{
813 VK_IMAGE_USAGE_TRANSFER_SRC_BIT
= 0x00000001,
814 VK_IMAGE_USAGE_TRANSFER_DST_BIT
= 0x00000002,
815 VK_IMAGE_USAGE_SAMPLED_BIT
= 0x00000004,
816 VK_IMAGE_USAGE_STORAGE_BIT
= 0x00000008,
817 VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
= 0x00000010,
818 VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT
= 0x00000020,
819 VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT
= 0x00000040,
820 VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT
= 0x00000080,
821 } VkImageUsageFlagBits
;
822 typedef VkFlags VkImageUsageFlags
;
824 typedef enum VkImageCreateFlagBits
{
825 VK_IMAGE_CREATE_SPARSE_BINDING_BIT
= 0x00000001,
826 VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT
= 0x00000002,
827 VK_IMAGE_CREATE_SPARSE_ALIASED_BIT
= 0x00000004,
828 VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT
= 0x00000008,
829 VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT
= 0x00000010,
830 } VkImageCreateFlagBits
;
831 typedef VkFlags VkImageCreateFlags
;
833 typedef enum VkSampleCountFlagBits
{
834 VK_SAMPLE_COUNT_1_BIT
= 0x00000001,
835 VK_SAMPLE_COUNT_2_BIT
= 0x00000002,
836 VK_SAMPLE_COUNT_4_BIT
= 0x00000004,
837 VK_SAMPLE_COUNT_8_BIT
= 0x00000008,
838 VK_SAMPLE_COUNT_16_BIT
= 0x00000010,
839 VK_SAMPLE_COUNT_32_BIT
= 0x00000020,
840 VK_SAMPLE_COUNT_64_BIT
= 0x00000040,
841 } VkSampleCountFlagBits
;
842 typedef VkFlags VkSampleCountFlags
;
844 typedef enum VkQueueFlagBits
{
845 VK_QUEUE_GRAPHICS_BIT
= 0x00000001,
846 VK_QUEUE_COMPUTE_BIT
= 0x00000002,
847 VK_QUEUE_TRANSFER_BIT
= 0x00000004,
848 VK_QUEUE_SPARSE_BINDING_BIT
= 0x00000008,
850 typedef VkFlags VkQueueFlags
;
852 typedef enum VkMemoryPropertyFlagBits
{
853 VK_MEMORY_PROPERTY_DEVICE_ONLY
= 0,
854 VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT
= 0x00000001,
855 VK_MEMORY_PROPERTY_HOST_NON_COHERENT_BIT
= 0x00000002,
856 VK_MEMORY_PROPERTY_HOST_UNCACHED_BIT
= 0x00000004,
857 VK_MEMORY_PROPERTY_HOST_WRITE_COMBINED_BIT
= 0x00000008,
858 VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT
= 0x00000010,
859 } VkMemoryPropertyFlagBits
;
860 typedef VkFlags VkMemoryPropertyFlags
;
862 typedef enum VkMemoryHeapFlagBits
{
863 VK_MEMORY_HEAP_HOST_LOCAL_BIT
= 0x00000001,
864 } VkMemoryHeapFlagBits
;
865 typedef VkFlags VkMemoryHeapFlags
;
866 typedef VkFlags VkDeviceCreateFlags
;
867 typedef VkFlags VkDeviceQueueCreateFlags
;
868 typedef VkFlags VkMemoryMapFlags
;
870 typedef enum VkImageAspectFlagBits
{
871 VK_IMAGE_ASPECT_COLOR_BIT
= 0x00000001,
872 VK_IMAGE_ASPECT_DEPTH_BIT
= 0x00000002,
873 VK_IMAGE_ASPECT_STENCIL_BIT
= 0x00000004,
874 VK_IMAGE_ASPECT_METADATA_BIT
= 0x00000008,
875 } VkImageAspectFlagBits
;
876 typedef VkFlags VkImageAspectFlags
;
878 typedef enum VkSparseImageFormatFlagBits
{
879 VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT
= 0x00000001,
880 VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT
= 0x00000002,
881 VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT
= 0x00000004,
882 } VkSparseImageFormatFlagBits
;
883 typedef VkFlags VkSparseImageFormatFlags
;
885 typedef enum VkSparseMemoryBindFlagBits
{
886 VK_SPARSE_MEMORY_BIND_METADATA_BIT
= 0x00000001,
887 } VkSparseMemoryBindFlagBits
;
888 typedef VkFlags VkSparseMemoryBindFlags
;
890 typedef enum VkFenceCreateFlagBits
{
891 VK_FENCE_CREATE_SIGNALED_BIT
= 0x00000001,
892 } VkFenceCreateFlagBits
;
893 typedef VkFlags VkFenceCreateFlags
;
894 typedef VkFlags VkSemaphoreCreateFlags
;
895 typedef VkFlags VkEventCreateFlags
;
896 typedef VkFlags VkQueryPoolCreateFlags
;
898 typedef enum VkQueryPipelineStatisticFlagBits
{
899 VK_QUERY_PIPELINE_STATISTIC_IA_VERTICES_BIT
= 0x00000001,
900 VK_QUERY_PIPELINE_STATISTIC_IA_PRIMITIVES_BIT
= 0x00000002,
901 VK_QUERY_PIPELINE_STATISTIC_VS_INVOCATIONS_BIT
= 0x00000004,
902 VK_QUERY_PIPELINE_STATISTIC_GS_INVOCATIONS_BIT
= 0x00000008,
903 VK_QUERY_PIPELINE_STATISTIC_GS_PRIMITIVES_BIT
= 0x00000010,
904 VK_QUERY_PIPELINE_STATISTIC_C_INVOCATIONS_BIT
= 0x00000020,
905 VK_QUERY_PIPELINE_STATISTIC_C_PRIMITIVES_BIT
= 0x00000040,
906 VK_QUERY_PIPELINE_STATISTIC_FS_INVOCATIONS_BIT
= 0x00000080,
907 VK_QUERY_PIPELINE_STATISTIC_TCS_PATCHES_BIT
= 0x00000100,
908 VK_QUERY_PIPELINE_STATISTIC_TES_INVOCATIONS_BIT
= 0x00000200,
909 VK_QUERY_PIPELINE_STATISTIC_CS_INVOCATIONS_BIT
= 0x00000400,
910 } VkQueryPipelineStatisticFlagBits
;
911 typedef VkFlags VkQueryPipelineStatisticFlags
;
913 typedef enum VkQueryResultFlagBits
{
914 VK_QUERY_RESULT_DEFAULT
= 0,
915 VK_QUERY_RESULT_64_BIT
= 0x00000001,
916 VK_QUERY_RESULT_WAIT_BIT
= 0x00000002,
917 VK_QUERY_RESULT_WITH_AVAILABILITY_BIT
= 0x00000004,
918 VK_QUERY_RESULT_PARTIAL_BIT
= 0x00000008,
919 } VkQueryResultFlagBits
;
920 typedef VkFlags VkQueryResultFlags
;
922 typedef enum VkBufferCreateFlagBits
{
923 VK_BUFFER_CREATE_SPARSE_BINDING_BIT
= 0x00000001,
924 VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT
= 0x00000002,
925 VK_BUFFER_CREATE_SPARSE_ALIASED_BIT
= 0x00000004,
926 } VkBufferCreateFlagBits
;
927 typedef VkFlags VkBufferCreateFlags
;
929 typedef enum VkBufferUsageFlagBits
{
930 VK_BUFFER_USAGE_TRANSFER_SRC_BIT
= 0x00000001,
931 VK_BUFFER_USAGE_TRANSFER_DST_BIT
= 0x00000002,
932 VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT
= 0x00000004,
933 VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT
= 0x00000008,
934 VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT
= 0x00000010,
935 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT
= 0x00000020,
936 VK_BUFFER_USAGE_INDEX_BUFFER_BIT
= 0x00000040,
937 VK_BUFFER_USAGE_VERTEX_BUFFER_BIT
= 0x00000080,
938 VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT
= 0x00000100,
939 } VkBufferUsageFlagBits
;
940 typedef VkFlags VkBufferUsageFlags
;
941 typedef VkFlags VkBufferViewCreateFlags
;
944 VK_IMAGE_VIEW_CREATE_READ_ONLY_DEPTH_BIT
= 0x00000001,
945 VK_IMAGE_VIEW_CREATE_READ_ONLY_STENCIL_BIT
= 0x00000002,
946 } VkImageViewCreateFlagBits
;
947 typedef VkFlags VkImageViewCreateFlags
;
948 typedef VkFlags VkShaderModuleCreateFlags
;
949 typedef VkFlags VkPipelineCacheCreateFlags
;
950 typedef VkFlags VkShaderCreateFlags
;
952 typedef enum VkPipelineCreateFlagBits
{
953 VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT
= 0x00000001,
954 VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT
= 0x00000002,
955 VK_PIPELINE_CREATE_DERIVATIVE_BIT
= 0x00000004,
956 } VkPipelineCreateFlagBits
;
957 typedef VkFlags VkPipelineCreateFlags
;
958 typedef VkFlags VkPipelineShaderStageCreateFlags
;
960 typedef enum VkShaderStageFlagBits
{
961 VK_SHADER_STAGE_VERTEX_BIT
= 0x00000001,
962 VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
= 0x00000002,
963 VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
= 0x00000004,
964 VK_SHADER_STAGE_GEOMETRY_BIT
= 0x00000008,
965 VK_SHADER_STAGE_FRAGMENT_BIT
= 0x00000010,
966 VK_SHADER_STAGE_COMPUTE_BIT
= 0x00000020,
967 VK_SHADER_STAGE_ALL_GRAPHICS
= 0x1F,
968 VK_SHADER_STAGE_ALL
= 0x7FFFFFFF,
969 } VkShaderStageFlagBits
;
970 typedef VkFlags VkPipelineVertexInputStateCreateFlags
;
971 typedef VkFlags VkPipelineInputAssemblyStateCreateFlags
;
972 typedef VkFlags VkPipelineTesselationStateCreateFlags
;
973 typedef VkFlags VkPipelineViewportStateCreateFlags
;
974 typedef VkFlags VkPipelineRasterizationStateCreateFlags
;
976 typedef enum VkCullModeFlagBits
{
977 VK_CULL_MODE_NONE
= 0,
978 VK_CULL_MODE_FRONT_BIT
= 0x00000001,
979 VK_CULL_MODE_BACK_BIT
= 0x00000002,
980 VK_CULL_MODE_FRONT_AND_BACK
= 0x3,
981 } VkCullModeFlagBits
;
982 typedef VkFlags VkCullModeFlags
;
983 typedef VkFlags VkPipelineMultisampleStateCreateFlags
;
984 typedef VkFlags VkPipelineDepthStencilStateCreateFlags
;
985 typedef VkFlags VkPipelineColorBlendStateCreateFlags
;
987 typedef enum VkColorComponentFlagBits
{
988 VK_COLOR_COMPONENT_R_BIT
= 0x00000001,
989 VK_COLOR_COMPONENT_G_BIT
= 0x00000002,
990 VK_COLOR_COMPONENT_B_BIT
= 0x00000004,
991 VK_COLOR_COMPONENT_A_BIT
= 0x00000008,
992 } VkColorComponentFlagBits
;
993 typedef VkFlags VkColorComponentFlags
;
994 typedef VkFlags VkPipelineDynamicStateCreateFlags
;
995 typedef VkFlags VkPipelineLayoutCreateFlags
;
996 typedef VkFlags VkShaderStageFlags
;
997 typedef VkFlags VkSamplerCreateFlags
;
998 typedef VkFlags VkDescriptorSetLayoutCreateFlags
;
1000 typedef enum VkDescriptorPoolCreateFlagBits
{
1001 VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT
= 0x00000001,
1002 } VkDescriptorPoolCreateFlagBits
;
1003 typedef VkFlags VkDescriptorPoolCreateFlags
;
1004 typedef VkFlags VkDescriptorPoolResetFlags
;
1005 typedef VkFlags VkFramebufferCreateFlags
;
1006 typedef VkFlags VkRenderPassCreateFlags
;
1008 typedef enum VkAttachmentDescriptionFlagBits
{
1009 VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT
= 0x00000001,
1010 } VkAttachmentDescriptionFlagBits
;
1011 typedef VkFlags VkAttachmentDescriptionFlags
;
1012 typedef VkFlags VkSubpassDescriptionFlags
;
1014 typedef enum VkPipelineStageFlagBits
{
1015 VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT
= 0x00000001,
1016 VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT
= 0x00000002,
1017 VK_PIPELINE_STAGE_VERTEX_INPUT_BIT
= 0x00000004,
1018 VK_PIPELINE_STAGE_VERTEX_SHADER_BIT
= 0x00000008,
1019 VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT
= 0x00000010,
1020 VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT
= 0x00000020,
1021 VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT
= 0x00000040,
1022 VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT
= 0x00000080,
1023 VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT
= 0x00000100,
1024 VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT
= 0x00000200,
1025 VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT
= 0x00000400,
1026 VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT
= 0x00000800,
1027 VK_PIPELINE_STAGE_TRANSFER_BIT
= 0x00001000,
1028 VK_PIPELINE_STAGE_HOST_BIT
= 0x00002000,
1029 VK_PIPELINE_STAGE_ALL_GRAPHICS
= 0x000007FF,
1030 VK_PIPELINE_STAGE_ALL_GPU_COMMANDS
= 0x00001FFF,
1031 } VkPipelineStageFlagBits
;
1032 typedef VkFlags VkPipelineStageFlags
;
1035 VK_MEMORY_OUTPUT_HOST_WRITE_BIT
= 0x00000001,
1036 VK_MEMORY_OUTPUT_SHADER_WRITE_BIT
= 0x00000002,
1037 VK_MEMORY_OUTPUT_COLOR_ATTACHMENT_BIT
= 0x00000004,
1038 VK_MEMORY_OUTPUT_DEPTH_STENCIL_ATTACHMENT_BIT
= 0x00000008,
1039 VK_MEMORY_OUTPUT_TRANSFER_BIT
= 0x00000010,
1040 } VkMemoryOutputFlagBits
;
1041 typedef VkFlags VkMemoryOutputFlags
;
1044 VK_MEMORY_INPUT_HOST_READ_BIT
= 0x00000001,
1045 VK_MEMORY_INPUT_INDIRECT_COMMAND_BIT
= 0x00000002,
1046 VK_MEMORY_INPUT_INDEX_FETCH_BIT
= 0x00000004,
1047 VK_MEMORY_INPUT_VERTEX_ATTRIBUTE_FETCH_BIT
= 0x00000008,
1048 VK_MEMORY_INPUT_UNIFORM_READ_BIT
= 0x00000010,
1049 VK_MEMORY_INPUT_SHADER_READ_BIT
= 0x00000020,
1050 VK_MEMORY_INPUT_COLOR_ATTACHMENT_BIT
= 0x00000040,
1051 VK_MEMORY_INPUT_DEPTH_STENCIL_ATTACHMENT_BIT
= 0x00000080,
1052 VK_MEMORY_INPUT_INPUT_ATTACHMENT_BIT
= 0x00000100,
1053 VK_MEMORY_INPUT_TRANSFER_BIT
= 0x00000200,
1054 } VkMemoryInputFlagBits
;
1055 typedef VkFlags VkMemoryInputFlags
;
1057 typedef enum VkCommandPoolCreateFlagBits
{
1058 VK_COMMAND_POOL_CREATE_TRANSIENT_BIT
= 0x00000001,
1059 VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT
= 0x00000002,
1060 } VkCommandPoolCreateFlagBits
;
1061 typedef VkFlags VkCommandPoolCreateFlags
;
1063 typedef enum VkCommandPoolResetFlagBits
{
1064 VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT
= 0x00000001,
1065 } VkCommandPoolResetFlagBits
;
1066 typedef VkFlags VkCommandPoolResetFlags
;
1067 typedef VkFlags VkCommandBufferCreateFlags
;
1069 typedef enum VkCommandBufferUsageFlagBits
{
1070 VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT
= 0x00000001,
1071 VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
= 0x00000002,
1072 VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT
= 0x00000004,
1073 } VkCommandBufferUsageFlagBits
;
1074 typedef VkFlags VkCommandBufferUsageFlags
;
1076 typedef enum VkCommandBufferResetFlagBits
{
1077 VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT
= 0x00000001,
1078 } VkCommandBufferResetFlagBits
;
1079 typedef VkFlags VkCommandBufferResetFlags
;
1081 typedef enum VkStencilFaceFlagBits
{
1082 VK_STENCIL_FACE_NONE
= 0,
1083 VK_STENCIL_FACE_FRONT_BIT
= 0x00000001,
1084 VK_STENCIL_FACE_BACK_BIT
= 0x00000002,
1085 VK_STENCIL_FRONT_AND_BACK
= 0x3,
1086 } VkStencilFaceFlagBits
;
1087 typedef VkFlags VkStencilFaceFlags
;
1090 VK_QUERY_CONTROL_CONSERVATIVE_BIT
= 0x00000001,
1091 } VkQueryControlFlagBits
;
1092 typedef VkFlags VkQueryControlFlags
;
1094 typedef void* (VKAPI_PTR
*PFN_vkAllocFunction
)(
1098 VkSystemAllocType allocType
);
1100 typedef void (VKAPI_PTR
*PFN_vkFreeFunction
)(
1104 typedef void (VKAPI_PTR
*PFN_vkVoidFunction
)(void);
1107 VkStructureType sType
;
1109 const char* pAppName
;
1110 uint32_t appVersion
;
1111 const char* pEngineName
;
1112 uint32_t engineVersion
;
1113 uint32_t apiVersion
;
1114 } VkApplicationInfo
;
1118 PFN_vkAllocFunction pfnAlloc
;
1119 PFN_vkFreeFunction pfnFree
;
1122 typedef struct VkInstanceCreateInfo
{
1123 VkStructureType sType
;
1125 VkInstanceCreateFlags flags
;
1126 const VkApplicationInfo
* pAppInfo
;
1127 const VkAllocCallbacks
* pAllocCb
;
1128 uint32_t layerCount
;
1129 const char*const* ppEnabledLayerNames
;
1130 uint32_t extensionCount
;
1131 const char*const* ppEnabledExtensionNames
;
1132 } VkInstanceCreateInfo
;
1134 typedef struct VkPhysicalDeviceFeatures
{
1135 VkBool32 robustBufferAccess
;
1136 VkBool32 fullDrawIndexUint32
;
1137 VkBool32 imageCubeArray
;
1138 VkBool32 independentBlend
;
1139 VkBool32 geometryShader
;
1140 VkBool32 tessellationShader
;
1141 VkBool32 sampleRateShading
;
1142 VkBool32 dualSourceBlend
;
1144 VkBool32 multiDrawIndirect
;
1146 VkBool32 depthBiasClamp
;
1147 VkBool32 fillModeNonSolid
;
1148 VkBool32 depthBounds
;
1150 VkBool32 largePoints
;
1151 VkBool32 textureCompressionETC2
;
1152 VkBool32 textureCompressionASTC_LDR
;
1153 VkBool32 textureCompressionBC
;
1154 VkBool32 occlusionQueryNonConservative
;
1155 VkBool32 pipelineStatisticsQuery
;
1156 VkBool32 vertexSideEffects
;
1157 VkBool32 tessellationSideEffects
;
1158 VkBool32 geometrySideEffects
;
1159 VkBool32 fragmentSideEffects
;
1160 VkBool32 shaderTessellationPointSize
;
1161 VkBool32 shaderGeometryPointSize
;
1162 VkBool32 shaderImageGatherExtended
;
1163 VkBool32 shaderStorageImageExtendedFormats
;
1164 VkBool32 shaderStorageImageMultisample
;
1165 VkBool32 shaderUniformBufferArrayDynamicIndexing
;
1166 VkBool32 shaderSampledImageArrayDynamicIndexing
;
1167 VkBool32 shaderStorageBufferArrayDynamicIndexing
;
1168 VkBool32 shaderStorageImageArrayDynamicIndexing
;
1169 VkBool32 shaderClipDistance
;
1170 VkBool32 shaderCullDistance
;
1171 VkBool32 shaderFloat64
;
1172 VkBool32 shaderInt64
;
1173 VkBool32 shaderInt16
;
1174 VkBool32 shaderResourceResidency
;
1175 VkBool32 shaderResourceMinLOD
;
1176 VkBool32 alphaToOne
;
1177 VkBool32 sparseBinding
;
1178 VkBool32 sparseResidencyBuffer
;
1179 VkBool32 sparseResidencyImage2D
;
1180 VkBool32 sparseResidencyImage3D
;
1181 VkBool32 sparseResidency2Samples
;
1182 VkBool32 sparseResidency4Samples
;
1183 VkBool32 sparseResidency8Samples
;
1184 VkBool32 sparseResidency16Samples
;
1185 VkBool32 sparseResidencyAliased
;
1186 } VkPhysicalDeviceFeatures
;
1188 typedef struct VkFormatProperties
{
1189 VkFormatFeatureFlags linearTilingFeatures
;
1190 VkFormatFeatureFlags optimalTilingFeatures
;
1191 VkFormatFeatureFlags bufferFeatures
;
1192 } VkFormatProperties
;
1194 typedef struct VkExtent3D
{
1200 typedef struct VkImageFormatProperties
{
1201 VkExtent3D maxExtent
;
1202 uint32_t maxMipLevels
;
1203 uint32_t maxArraySize
;
1204 VkSampleCountFlags sampleCounts
;
1205 VkDeviceSize maxResourceSize
;
1206 } VkImageFormatProperties
;
1208 typedef struct VkPhysicalDeviceLimits
{
1209 uint32_t maxImageDimension1D
;
1210 uint32_t maxImageDimension2D
;
1211 uint32_t maxImageDimension3D
;
1212 uint32_t maxImageDimensionCube
;
1213 uint32_t maxImageArrayLayers
;
1214 VkSampleCountFlags sampleCounts
;
1215 uint32_t maxTexelBufferSize
;
1216 uint32_t maxUniformBufferSize
;
1217 uint32_t maxStorageBufferSize
;
1218 uint32_t maxPushConstantsSize
;
1219 uint32_t maxMemoryAllocationCount
;
1220 VkDeviceSize bufferImageGranularity
;
1221 VkDeviceSize sparseAddressSpaceSize
;
1222 uint32_t maxBoundDescriptorSets
;
1223 uint32_t maxDescriptorSets
;
1224 uint32_t maxPerStageDescriptorSamplers
;
1225 uint32_t maxPerStageDescriptorUniformBuffers
;
1226 uint32_t maxPerStageDescriptorStorageBuffers
;
1227 uint32_t maxPerStageDescriptorSampledImages
;
1228 uint32_t maxPerStageDescriptorStorageImages
;
1229 uint32_t maxDescriptorSetSamplers
;
1230 uint32_t maxDescriptorSetUniformBuffers
;
1231 uint32_t maxDescriptorSetUniformBuffersDynamic
;
1232 uint32_t maxDescriptorSetStorageBuffers
;
1233 uint32_t maxDescriptorSetStorageBuffersDynamic
;
1234 uint32_t maxDescriptorSetSampledImages
;
1235 uint32_t maxDescriptorSetStorageImages
;
1236 uint32_t maxVertexInputAttributes
;
1237 uint32_t maxVertexInputBindings
;
1238 uint32_t maxVertexInputAttributeOffset
;
1239 uint32_t maxVertexInputBindingStride
;
1240 uint32_t maxVertexOutputComponents
;
1241 uint32_t maxTessGenLevel
;
1242 uint32_t maxTessPatchSize
;
1243 uint32_t maxTessControlPerVertexInputComponents
;
1244 uint32_t maxTessControlPerVertexOutputComponents
;
1245 uint32_t maxTessControlPerPatchOutputComponents
;
1246 uint32_t maxTessControlTotalOutputComponents
;
1247 uint32_t maxTessEvaluationInputComponents
;
1248 uint32_t maxTessEvaluationOutputComponents
;
1249 uint32_t maxGeometryShaderInvocations
;
1250 uint32_t maxGeometryInputComponents
;
1251 uint32_t maxGeometryOutputComponents
;
1252 uint32_t maxGeometryOutputVertices
;
1253 uint32_t maxGeometryTotalOutputComponents
;
1254 uint32_t maxFragmentInputComponents
;
1255 uint32_t maxFragmentOutputBuffers
;
1256 uint32_t maxFragmentDualSourceBuffers
;
1257 uint32_t maxFragmentCombinedOutputResources
;
1258 uint32_t maxComputeSharedMemorySize
;
1259 uint32_t maxComputeWorkGroupCount
[3];
1260 uint32_t maxComputeWorkGroupInvocations
;
1261 uint32_t maxComputeWorkGroupSize
[3];
1262 uint32_t subPixelPrecisionBits
;
1263 uint32_t subTexelPrecisionBits
;
1264 uint32_t mipmapPrecisionBits
;
1265 uint32_t maxDrawIndexedIndexValue
;
1266 uint32_t maxDrawIndirectInstanceCount
;
1267 VkBool32 primitiveRestartForPatches
;
1268 float maxSamplerLodBias
;
1269 float maxSamplerAnisotropy
;
1270 uint32_t maxViewports
;
1271 uint32_t maxViewportDimensions
[2];
1272 float viewportBoundsRange
[2];
1273 uint32_t viewportSubPixelBits
;
1274 uint32_t minMemoryMapAlignment
;
1275 uint32_t minTexelBufferOffsetAlignment
;
1276 uint32_t minUniformBufferOffsetAlignment
;
1277 uint32_t minStorageBufferOffsetAlignment
;
1278 uint32_t minTexelOffset
;
1279 uint32_t maxTexelOffset
;
1280 uint32_t minTexelGatherOffset
;
1281 uint32_t maxTexelGatherOffset
;
1282 float minInterpolationOffset
;
1283 float maxInterpolationOffset
;
1284 uint32_t subPixelInterpolationOffsetBits
;
1285 uint32_t maxFramebufferWidth
;
1286 uint32_t maxFramebufferHeight
;
1287 uint32_t maxFramebufferLayers
;
1288 uint32_t maxFramebufferColorSamples
;
1289 uint32_t maxFramebufferDepthSamples
;
1290 uint32_t maxFramebufferStencilSamples
;
1291 uint32_t maxColorAttachments
;
1292 uint32_t maxSampledImageColorSamples
;
1293 uint32_t maxSampledImageDepthSamples
;
1294 uint32_t maxSampledImageIntegerSamples
;
1295 uint32_t maxStorageImageSamples
;
1296 uint32_t maxSampleMaskWords
;
1297 uint64_t timestampFrequency
;
1298 uint32_t maxClipDistances
;
1299 uint32_t maxCullDistances
;
1300 uint32_t maxCombinedClipAndCullDistances
;
1301 float pointSizeRange
[2];
1302 float lineWidthRange
[2];
1303 float pointSizeGranularity
;
1304 float lineWidthGranularity
;
1305 } VkPhysicalDeviceLimits
;
1307 typedef struct VkPhysicalDeviceSparseProperties
{
1308 VkBool32 residencyStandard2DBlockShape
;
1309 VkBool32 residencyStandard2DMultisampleBlockShape
;
1310 VkBool32 residencyStandard3DBlockShape
;
1311 VkBool32 residencyAlignedMipSize
;
1312 VkBool32 residencyNonResidentStrict
;
1313 } VkPhysicalDeviceSparseProperties
;
1315 typedef struct VkPhysicalDeviceProperties
{
1316 uint32_t apiVersion
;
1317 uint32_t driverVersion
;
1320 VkPhysicalDeviceType deviceType
;
1321 char deviceName
[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE
];
1322 uint8_t pipelineCacheUUID
[VK_UUID_SIZE
];
1323 VkPhysicalDeviceLimits limits
;
1324 VkPhysicalDeviceSparseProperties sparseProperties
;
1325 } VkPhysicalDeviceProperties
;
1327 typedef struct VkQueueFamilyProperties
{
1328 VkQueueFlags queueFlags
;
1329 uint32_t queueCount
;
1330 VkBool32 supportsTimestamps
;
1331 } VkQueueFamilyProperties
;
1333 typedef struct VkMemoryType
{
1334 VkMemoryPropertyFlags propertyFlags
;
1338 typedef struct VkMemoryHeap
{
1340 VkMemoryHeapFlags flags
;
1343 typedef struct VkPhysicalDeviceMemoryProperties
{
1344 uint32_t memoryTypeCount
;
1345 VkMemoryType memoryTypes
[VK_MAX_MEMORY_TYPES
];
1346 uint32_t memoryHeapCount
;
1347 VkMemoryHeap memoryHeaps
[VK_MAX_MEMORY_HEAPS
];
1348 } VkPhysicalDeviceMemoryProperties
;
1350 typedef struct VkDeviceQueueCreateInfo
{
1351 VkStructureType sType
;
1353 VkDeviceQueueCreateFlags flags
;
1354 uint32_t queueFamilyIndex
;
1355 uint32_t queueCount
;
1356 const float* pQueuePriorities
;
1357 } VkDeviceQueueCreateInfo
;
1359 typedef struct VkDeviceCreateInfo
{
1360 VkStructureType sType
;
1362 VkDeviceCreateFlags flags
;
1363 uint32_t queueCreateInfoCount
;
1364 const VkDeviceQueueCreateInfo
* pQueueCreateInfos
;
1365 uint32_t enabledLayerNameCount
;
1366 const char* const* ppEnabledLayerNames
;
1367 uint32_t enabledExtensionNameCount
;
1368 const char* const* ppEnabledExtensionNames
;
1369 const VkPhysicalDeviceFeatures
* pEnabledFeatures
;
1370 } VkDeviceCreateInfo
;
1372 typedef struct VkExtensionProperties
{
1373 char extensionName
[VK_MAX_EXTENSION_NAME_SIZE
];
1374 uint32_t specVersion
;
1375 } VkExtensionProperties
;
1377 typedef struct VkLayerProperties
{
1378 char layerName
[VK_MAX_EXTENSION_NAME_SIZE
];
1379 uint32_t specVersion
;
1380 uint32_t implementationVersion
;
1381 char description
[VK_MAX_DESCRIPTION_SIZE
];
1382 } VkLayerProperties
;
1385 VkStructureType sType
;
1387 VkDeviceSize allocationSize
;
1388 uint32_t memoryTypeIndex
;
1389 } VkMemoryAllocInfo
;
1391 typedef struct VkMappedMemoryRange
{
1392 VkStructureType sType
;
1395 VkDeviceSize offset
;
1397 } VkMappedMemoryRange
;
1399 typedef struct VkMemoryRequirements
{
1401 VkDeviceSize alignment
;
1402 uint32_t memoryTypeBits
;
1403 } VkMemoryRequirements
;
1405 typedef struct VkSparseImageFormatProperties
{
1406 VkImageAspectFlags aspectMask
;
1407 VkExtent3D imageGranularity
;
1408 VkSparseImageFormatFlags flags
;
1409 } VkSparseImageFormatProperties
;
1411 typedef struct VkSparseImageMemoryRequirements
{
1412 VkSparseImageFormatProperties formatProperties
;
1413 uint32_t imageMipTailStartLod
;
1414 VkDeviceSize imageMipTailSize
;
1415 VkDeviceSize imageMipTailOffset
;
1416 VkDeviceSize imageMipTailStride
;
1417 } VkSparseImageMemoryRequirements
;
1419 typedef struct VkSparseMemoryBind
{
1420 VkDeviceSize resourceOffset
;
1422 VkDeviceMemory memory
;
1423 VkDeviceSize memoryOffset
;
1424 VkSparseMemoryBindFlags flags
;
1425 } VkSparseMemoryBind
;
1427 typedef struct VkSparseBufferMemoryBindInfo
{
1430 const VkSparseMemoryBind
* pBinds
;
1431 } VkSparseBufferMemoryBindInfo
;
1433 typedef struct VkSparseImageOpaqueMemoryBindInfo
{
1436 const VkSparseMemoryBind
* pBinds
;
1437 } VkSparseImageOpaqueMemoryBindInfo
;
1439 typedef struct VkImageSubresource
{
1440 VkImageAspect aspect
;
1442 uint32_t arrayLayer
;
1443 } VkImageSubresource
;
1445 typedef struct VkOffset3D
{
1451 typedef struct VkSparseImageMemoryBind
{
1452 VkImageSubresource subresource
;
1455 VkDeviceMemory memory
;
1456 VkDeviceSize memoryOffset
;
1457 VkSparseMemoryBindFlags flags
;
1458 } VkSparseImageMemoryBind
;
1460 typedef struct VkSparseImageMemoryBindInfo
{
1463 const VkSparseImageMemoryBind
* pBinds
;
1464 } VkSparseImageMemoryBindInfo
;
1466 typedef struct VkBindSparseInfo
{
1467 VkStructureType sType
;
1469 uint32_t waitSemaphoreCount
;
1470 const VkSemaphore
* pWaitSemaphores
;
1471 uint32_t bufferBindCount
;
1472 const VkSparseBufferMemoryBindInfo
* pBufferBinds
;
1473 uint32_t imageOpaqueBindCount
;
1474 const VkSparseImageOpaqueMemoryBindInfo
* pImageOpaqueBinds
;
1475 uint32_t imageBindCount
;
1476 const VkSparseImageMemoryBindInfo
* pImageBinds
;
1477 uint32_t signalSemaphoreCount
;
1478 const VkSemaphore
* pSignalSemaphores
;
1481 typedef struct VkFenceCreateInfo
{
1482 VkStructureType sType
;
1484 VkFenceCreateFlags flags
;
1485 } VkFenceCreateInfo
;
1487 typedef struct VkSemaphoreCreateInfo
{
1488 VkStructureType sType
;
1490 VkSemaphoreCreateFlags flags
;
1491 } VkSemaphoreCreateInfo
;
1493 typedef struct VkEventCreateInfo
{
1494 VkStructureType sType
;
1496 VkEventCreateFlags flags
;
1497 } VkEventCreateInfo
;
1499 typedef struct VkQueryPoolCreateInfo
{
1500 VkStructureType sType
;
1502 VkQueryPoolCreateFlags flags
;
1503 VkQueryType queryType
;
1505 VkQueryPipelineStatisticFlags pipelineStatistics
;
1506 } VkQueryPoolCreateInfo
;
1508 typedef struct VkBufferCreateInfo
{
1509 VkStructureType sType
;
1511 VkBufferCreateFlags flags
;
1513 VkBufferUsageFlags usage
;
1514 VkSharingMode sharingMode
;
1515 uint32_t queueFamilyCount
;
1516 const uint32_t* pQueueFamilyIndices
;
1517 } VkBufferCreateInfo
;
1519 typedef struct VkBufferViewCreateInfo
{
1520 VkStructureType sType
;
1522 VkBufferViewCreateFlags flags
;
1525 VkDeviceSize offset
;
1527 } VkBufferViewCreateInfo
;
1529 typedef struct VkImageCreateInfo
{
1530 VkStructureType sType
;
1532 VkImageCreateFlags flags
;
1533 VkImageType imageType
;
1539 VkImageTiling tiling
;
1540 VkImageUsageFlags usage
;
1541 VkSharingMode sharingMode
;
1542 uint32_t queueFamilyCount
;
1543 const uint32_t* pQueueFamilyIndices
;
1544 VkImageLayout initialLayout
;
1545 } VkImageCreateInfo
;
1547 typedef struct VkSubresourceLayout
{
1548 VkDeviceSize offset
;
1550 VkDeviceSize rowPitch
;
1551 VkDeviceSize depthPitch
;
1552 } VkSubresourceLayout
;
1554 typedef struct VkComponentMapping
{
1555 VkComponentSwizzle r
;
1556 VkComponentSwizzle g
;
1557 VkComponentSwizzle b
;
1558 VkComponentSwizzle a
;
1559 } VkComponentMapping
;
1561 typedef struct VkImageSubresourceRange
{
1562 VkImageAspectFlags aspectMask
;
1563 uint32_t baseMipLevel
;
1565 uint32_t baseArrayLayer
;
1567 } VkImageSubresourceRange
;
1569 typedef struct VkImageViewCreateInfo
{
1570 VkStructureType sType
;
1572 VkImageViewCreateFlags flags
;
1574 VkImageViewType viewType
;
1576 VkComponentMapping components
;
1577 VkImageSubresourceRange subresourceRange
;
1578 } VkImageViewCreateInfo
;
1580 typedef struct VkShaderModuleCreateInfo
{
1581 VkStructureType sType
;
1583 VkShaderModuleCreateFlags flags
;
1585 const uint32_t* pCode
;
1586 } VkShaderModuleCreateInfo
;
1589 VkStructureType sType
;
1591 VkShaderModule module
;
1593 VkShaderCreateFlags flags
;
1594 VkShaderStage stage
;
1595 } VkShaderCreateInfo
;
1597 typedef struct VkPipelineCacheCreateInfo
{
1598 VkStructureType sType
;
1600 VkPipelineCacheCreateFlags flags
;
1602 const void* initialData
;
1604 } VkPipelineCacheCreateInfo
;
1606 typedef struct VkSpecializationMapEntry
{
1607 uint32_t constantID
;
1610 } VkSpecializationMapEntry
;
1612 typedef struct VkSpecializationInfo
{
1613 uint32_t mapEntryCount
;
1614 const VkSpecializationMapEntry
* pMapEntries
;
1617 } VkSpecializationInfo
;
1619 typedef struct VkPipelineShaderStageCreateInfo
{
1620 VkStructureType sType
;
1622 VkPipelineShaderStageCreateFlags flags
;
1623 VkShaderStage stage
;
1625 const VkSpecializationInfo
* pSpecializationInfo
;
1626 } VkPipelineShaderStageCreateInfo
;
1628 typedef struct VkVertexInputBindingDescription
{
1631 VkVertexInputRate inputRate
;
1632 } VkVertexInputBindingDescription
;
1634 typedef struct VkVertexInputAttributeDescription
{
1639 } VkVertexInputAttributeDescription
;
1641 typedef struct VkPipelineVertexInputStateCreateInfo
{
1642 VkStructureType sType
;
1644 VkPipelineVertexInputStateCreateFlags flags
;
1645 uint32_t vertexBindingDescriptionCount
;
1646 const VkVertexInputBindingDescription
* pVertexBindingDescriptions
;
1647 uint32_t vertexAttributeDescriptionCount
;
1648 const VkVertexInputAttributeDescription
* pVertexAttributeDescriptions
;
1649 } VkPipelineVertexInputStateCreateInfo
;
1651 typedef struct VkPipelineInputAssemblyStateCreateInfo
{
1652 VkStructureType sType
;
1654 VkPipelineInputAssemblyStateCreateFlags flags
;
1655 VkPrimitiveTopology topology
;
1656 VkBool32 primitiveRestartEnable
;
1657 } VkPipelineInputAssemblyStateCreateInfo
;
1659 typedef struct VkPipelineTessellationStateCreateInfo
{
1660 VkStructureType sType
;
1662 VkPipelineTesselationStateCreateFlags flags
;
1663 uint32_t patchControlPoints
;
1664 } VkPipelineTessellationStateCreateInfo
;
1666 typedef struct VkViewport
{
1675 typedef struct VkOffset2D
{
1680 typedef struct VkExtent2D
{
1685 typedef struct VkRect2D
{
1690 typedef struct VkPipelineViewportStateCreateInfo
{
1691 VkStructureType sType
;
1693 VkPipelineViewportStateCreateFlags flags
;
1694 uint32_t viewportCount
;
1695 const VkViewport
* pViewports
;
1696 uint32_t scissorCount
;
1697 const VkRect2D
* pScissors
;
1698 } VkPipelineViewportStateCreateInfo
;
1700 typedef struct VkPipelineRasterizationStateCreateInfo
{
1701 VkStructureType sType
;
1703 VkPipelineRasterizationStateCreateFlags flags
;
1704 VkBool32 depthClipEnable
;
1705 VkBool32 rasterizerDiscardEnable
;
1706 VkPolygonMode polygonMode
;
1707 VkCullModeFlags cullMode
;
1708 VkFrontFace frontFace
;
1709 VkBool32 depthBiasEnable
;
1710 float depthBiasConstantFactor
;
1711 float depthBiasClamp
;
1712 float depthBiasSlopeFactor
;
1714 } VkPipelineRasterizationStateCreateInfo
;
1716 typedef struct VkPipelineMultisampleStateCreateInfo
{
1717 VkStructureType sType
;
1719 VkPipelineMultisampleStateCreateFlags flags
;
1720 VkSampleCountFlagBits rasterizationSamples
;
1721 VkBool32 sampleShadingEnable
;
1722 float minSampleShading
;
1723 const VkSampleMask
* pSampleMask
;
1724 VkBool32 alphaToCoverageEnable
;
1725 VkBool32 alphaToOneEnable
;
1726 } VkPipelineMultisampleStateCreateInfo
;
1728 typedef struct VkStencilOpState
{
1731 VkStencilOp depthFailOp
;
1732 VkCompareOp compareOp
;
1733 uint32_t compareMask
;
1738 typedef struct VkPipelineDepthStencilStateCreateInfo
{
1739 VkStructureType sType
;
1741 VkPipelineDepthStencilStateCreateFlags flags
;
1742 VkBool32 depthTestEnable
;
1743 VkBool32 depthWriteEnable
;
1744 VkCompareOp depthCompareOp
;
1745 VkBool32 depthBoundsTestEnable
;
1746 VkBool32 stencilTestEnable
;
1747 VkStencilOpState front
;
1748 VkStencilOpState back
;
1749 float minDepthBounds
;
1750 float maxDepthBounds
;
1751 } VkPipelineDepthStencilStateCreateInfo
;
1753 typedef struct VkPipelineColorBlendAttachmentState
{
1754 VkBool32 blendEnable
;
1755 VkBlendFactor srcColorBlendFactor
;
1756 VkBlendFactor dstColorBlendFactor
;
1757 VkBlendOp colorBlendOp
;
1758 VkBlendFactor srcAlphaBlendFactor
;
1759 VkBlendFactor dstAlphaBlendFactor
;
1760 VkBlendOp alphaBlendOp
;
1761 VkColorComponentFlags colorWriteMask
;
1762 } VkPipelineColorBlendAttachmentState
;
1764 typedef struct VkPipelineColorBlendStateCreateInfo
{
1765 VkStructureType sType
;
1767 VkPipelineColorBlendStateCreateFlags flags
;
1768 VkBool32 logicOpEnable
;
1770 uint32_t attachmentCount
;
1771 const VkPipelineColorBlendAttachmentState
* pAttachments
;
1772 float blendConstants
[4];
1773 } VkPipelineColorBlendStateCreateInfo
;
1775 typedef struct VkPipelineDynamicStateCreateInfo
{
1776 VkStructureType sType
;
1778 VkPipelineDynamicStateCreateFlags flags
;
1779 uint32_t dynamicStateCount
;
1780 const VkDynamicState
* pDynamicStates
;
1781 } VkPipelineDynamicStateCreateInfo
;
1783 typedef struct VkGraphicsPipelineCreateInfo
{
1784 VkStructureType sType
;
1786 VkPipelineCreateFlags flags
;
1787 uint32_t stageCount
;
1788 const VkPipelineShaderStageCreateInfo
* pStages
;
1789 const VkPipelineVertexInputStateCreateInfo
* pVertexInputState
;
1790 const VkPipelineInputAssemblyStateCreateInfo
* pInputAssemblyState
;
1791 const VkPipelineTessellationStateCreateInfo
* pTessellationState
;
1792 const VkPipelineViewportStateCreateInfo
* pViewportState
;
1793 const VkPipelineRasterizationStateCreateInfo
* pRasterizationState
;
1794 const VkPipelineMultisampleStateCreateInfo
* pMultisampleState
;
1795 const VkPipelineDepthStencilStateCreateInfo
* pDepthStencilState
;
1796 const VkPipelineColorBlendStateCreateInfo
* pColorBlendState
;
1797 const VkPipelineDynamicStateCreateInfo
* pDynamicState
;
1798 VkPipelineLayout layout
;
1799 VkRenderPass renderPass
;
1801 VkPipeline basePipelineHandle
;
1802 int32_t basePipelineIndex
;
1803 } VkGraphicsPipelineCreateInfo
;
1805 typedef struct VkComputePipelineCreateInfo
{
1806 VkStructureType sType
;
1808 VkPipelineCreateFlags flags
;
1809 VkPipelineShaderStageCreateInfo stage
;
1810 VkPipelineLayout layout
;
1811 VkPipeline basePipelineHandle
;
1812 int32_t basePipelineIndex
;
1813 } VkComputePipelineCreateInfo
;
1815 typedef struct VkPushConstantRange
{
1816 VkShaderStageFlags stageFlags
;
1819 } VkPushConstantRange
;
1821 typedef struct VkPipelineLayoutCreateInfo
{
1822 VkStructureType sType
;
1824 VkPipelineLayoutCreateFlags flags
;
1825 uint32_t descriptorSetCount
;
1826 const VkDescriptorSetLayout
* pSetLayouts
;
1827 uint32_t pushConstantRangeCount
;
1828 const VkPushConstantRange
* pPushConstantRanges
;
1829 } VkPipelineLayoutCreateInfo
;
1831 typedef struct VkSamplerCreateInfo
{
1832 VkStructureType sType
;
1834 VkSamplerCreateFlags flags
;
1837 VkSamplerMipmapMode mipmapMode
;
1838 VkSamplerAddressMode addressModeU
;
1839 VkSamplerAddressMode addressModeV
;
1840 VkSamplerAddressMode addressModeW
;
1842 float maxAnisotropy
;
1843 VkBool32 compareEnable
;
1844 VkCompareOp compareOp
;
1847 VkBorderColor borderColor
;
1848 VkBool32 unnormalizedCoordinates
;
1849 } VkSamplerCreateInfo
;
1851 typedef struct VkDescriptorSetLayoutBinding
{
1852 VkDescriptorType descriptorType
;
1854 VkShaderStageFlags stageFlags
;
1855 const VkSampler
* pImmutableSamplers
;
1856 } VkDescriptorSetLayoutBinding
;
1858 typedef struct VkDescriptorSetLayoutCreateInfo
{
1859 VkStructureType sType
;
1861 VkDescriptorSetLayoutCreateFlags flags
;
1863 const VkDescriptorSetLayoutBinding
* pBinding
;
1864 } VkDescriptorSetLayoutCreateInfo
;
1867 VkDescriptorType type
;
1869 } VkDescriptorTypeCount
;
1871 typedef struct VkDescriptorPoolCreateInfo
{
1872 VkStructureType sType
;
1874 VkDescriptorPoolCreateFlags flags
;
1875 VkDescriptorPoolUsage poolUsage
;
1878 const VkDescriptorTypeCount
* pTypeCount
;
1879 } VkDescriptorPoolCreateInfo
;
1883 VkDeviceSize offset
;
1885 } VkDescriptorBufferInfo
;
1888 VkBufferView bufferView
;
1890 VkImageView imageView
;
1891 VkImageLayout imageLayout
;
1892 VkDescriptorBufferInfo bufferInfo
;
1895 typedef struct VkWriteDescriptorSet
{
1896 VkStructureType sType
;
1898 VkDescriptorSet destSet
;
1899 uint32_t destBinding
;
1900 uint32_t destArrayElement
;
1902 VkDescriptorType descriptorType
;
1903 const VkDescriptorInfo
* pDescriptors
;
1904 } VkWriteDescriptorSet
;
1906 typedef struct VkCopyDescriptorSet
{
1907 VkStructureType sType
;
1909 VkDescriptorSet srcSet
;
1910 uint32_t srcBinding
;
1911 uint32_t srcArrayElement
;
1912 VkDescriptorSet destSet
;
1913 uint32_t destBinding
;
1914 uint32_t destArrayElement
;
1916 } VkCopyDescriptorSet
;
1918 typedef struct VkFramebufferCreateInfo
{
1919 VkStructureType sType
;
1921 VkFramebufferCreateFlags flags
;
1922 VkRenderPass renderPass
;
1923 uint32_t attachmentCount
;
1924 const VkImageView
* pAttachments
;
1928 } VkFramebufferCreateInfo
;
1930 typedef struct VkAttachmentDescription
{
1931 VkAttachmentDescriptionFlags flags
;
1934 VkAttachmentLoadOp loadOp
;
1935 VkAttachmentStoreOp storeOp
;
1936 VkAttachmentLoadOp stencilLoadOp
;
1937 VkAttachmentStoreOp stencilStoreOp
;
1938 VkImageLayout initialLayout
;
1939 VkImageLayout finalLayout
;
1940 } VkAttachmentDescription
;
1942 typedef struct VkAttachmentReference
{
1943 uint32_t attachment
;
1944 VkImageLayout layout
;
1945 } VkAttachmentReference
;
1947 typedef struct VkSubpassDescription
{
1948 VkSubpassDescriptionFlags flags
;
1949 VkPipelineBindPoint pipelineBindPoint
;
1950 uint32_t inputCount
;
1951 const VkAttachmentReference
* pInputAttachments
;
1952 uint32_t colorCount
;
1953 const VkAttachmentReference
* pColorAttachments
;
1954 const VkAttachmentReference
* pResolveAttachments
;
1955 VkAttachmentReference depthStencilAttachment
;
1956 uint32_t preserveCount
;
1957 const VkAttachmentReference
* pPreserveAttachments
;
1958 } VkSubpassDescription
;
1960 typedef struct VkSubpassDependency
{
1961 uint32_t srcSubpass
;
1962 uint32_t destSubpass
;
1963 VkPipelineStageFlags srcStageMask
;
1964 VkPipelineStageFlags destStageMask
;
1965 VkMemoryOutputFlags outputMask
;
1966 VkMemoryInputFlags inputMask
;
1968 } VkSubpassDependency
;
1970 typedef struct VkRenderPassCreateInfo
{
1971 VkStructureType sType
;
1973 VkRenderPassCreateFlags flags
;
1974 uint32_t attachmentCount
;
1975 const VkAttachmentDescription
* pAttachments
;
1976 uint32_t subpassCount
;
1977 const VkSubpassDescription
* pSubpasses
;
1978 uint32_t dependencyCount
;
1979 const VkSubpassDependency
* pDependencies
;
1980 } VkRenderPassCreateInfo
;
1982 typedef struct VkCommandPoolCreateInfo
{
1983 VkStructureType sType
;
1985 uint32_t queueFamilyIndex
;
1986 VkCommandPoolCreateFlags flags
;
1987 } VkCommandPoolCreateInfo
;
1990 VkStructureType sType
;
1992 VkCommandPool commandPool
;
1993 VkCommandBufferLevel level
;
1994 VkCommandBufferCreateFlags flags
;
1995 } VkCommandBufferCreateInfo
;
1997 typedef struct VkCommandBufferBeginInfo
{
1998 VkStructureType sType
;
2000 VkCommandBufferUsageFlags flags
;
2001 VkRenderPass renderPass
;
2003 VkFramebuffer framebuffer
;
2004 } VkCommandBufferBeginInfo
;
2006 typedef struct VkBufferCopy
{
2007 VkDeviceSize srcOffset
;
2008 VkDeviceSize dstOffset
;
2012 typedef struct VkImageSubresourceLayers
{
2013 VkImageAspectFlags aspectMask
;
2015 uint32_t baseArrayLayer
;
2016 uint32_t layerCount
;
2017 } VkImageSubresourceLayers
;
2019 typedef struct VkImageCopy
{
2020 VkImageSubresourceLayers srcSubresource
;
2021 VkOffset3D srcOffset
;
2022 VkImageSubresourceLayers dstSubresource
;
2023 VkOffset3D dstOffset
;
2027 typedef struct VkImageBlit
{
2028 VkImageSubresourceLayers srcSubresource
;
2029 VkOffset3D srcOffset
;
2030 VkExtent3D srcExtent
;
2031 VkImageSubresourceLayers dstSubresource
;
2032 VkOffset3D dstOffset
;
2033 VkExtent3D dstExtent
;
2036 typedef struct VkBufferImageCopy
{
2037 VkDeviceSize bufferOffset
;
2038 uint32_t bufferRowLength
;
2039 uint32_t bufferImageHeight
;
2040 VkImageSubresourceLayers imageSubresource
;
2041 VkOffset3D imageOffset
;
2042 VkExtent3D imageExtent
;
2043 } VkBufferImageCopy
;
2045 typedef union VkClearColorValue
{
2049 } VkClearColorValue
;
2051 typedef struct VkClearDepthStencilValue
{
2054 } VkClearDepthStencilValue
;
2056 typedef union VkClearValue
{
2057 VkClearColorValue color
;
2058 VkClearDepthStencilValue depthStencil
;
2061 typedef struct VkClearAttachment
{
2062 VkImageAspectFlags aspectMask
;
2063 uint32_t colorAttachment
;
2064 VkClearValue clearValue
;
2065 } VkClearAttachment
;
2067 typedef struct VkClearRect
{
2069 uint32_t baseArrayLayer
;
2070 uint32_t layerCount
;
2073 typedef struct VkImageResolve
{
2074 VkImageSubresourceLayers srcSubresource
;
2075 VkOffset3D srcOffset
;
2076 VkImageSubresourceLayers dstSubresource
;
2077 VkOffset3D dstOffset
;
2081 typedef struct VkRenderPassBeginInfo
{
2082 VkStructureType sType
;
2084 VkRenderPass renderPass
;
2085 VkFramebuffer framebuffer
;
2086 VkRect2D renderArea
;
2087 uint32_t clearValueCount
;
2088 const VkClearValue
* pClearValues
;
2089 } VkRenderPassBeginInfo
;
2091 typedef struct VkBufferMemoryBarrier
{
2092 VkStructureType sType
;
2094 VkMemoryOutputFlags outputMask
;
2095 VkMemoryInputFlags inputMask
;
2096 uint32_t srcQueueFamilyIndex
;
2097 uint32_t destQueueFamilyIndex
;
2099 VkDeviceSize offset
;
2101 } VkBufferMemoryBarrier
;
2103 typedef struct VkDispatchIndirectCommand
{
2107 } VkDispatchIndirectCommand
;
2109 typedef struct VkDrawIndexedIndirectCommand
{
2110 uint32_t indexCount
;
2111 uint32_t instanceCount
;
2112 uint32_t firstIndex
;
2113 int32_t vertexOffset
;
2114 uint32_t firstInstance
;
2115 } VkDrawIndexedIndirectCommand
;
2117 typedef struct VkDrawIndirectCommand
{
2118 uint32_t vertexCount
;
2119 uint32_t instanceCount
;
2120 uint32_t firstVertex
;
2121 uint32_t firstInstance
;
2122 } VkDrawIndirectCommand
;
2124 typedef struct VkImageMemoryBarrier
{
2125 VkStructureType sType
;
2127 VkMemoryOutputFlags outputMask
;
2128 VkMemoryInputFlags inputMask
;
2129 VkImageLayout oldLayout
;
2130 VkImageLayout newLayout
;
2131 uint32_t srcQueueFamilyIndex
;
2132 uint32_t destQueueFamilyIndex
;
2134 VkImageSubresourceRange subresourceRange
;
2135 } VkImageMemoryBarrier
;
2137 typedef struct VkMemoryBarrier
{
2138 VkStructureType sType
;
2140 VkMemoryOutputFlags outputMask
;
2141 VkMemoryInputFlags inputMask
;
2145 typedef VkResult (VKAPI_PTR
*PFN_vkCreateInstance
)(const VkInstanceCreateInfo
* pCreateInfo
, VkInstance
* pInstance
);
2146 typedef void (VKAPI_PTR
*PFN_vkDestroyInstance
)(VkInstance instance
);
2147 typedef VkResult (VKAPI_PTR
*PFN_vkEnumeratePhysicalDevices
)(VkInstance instance
, uint32_t* pPhysicalDeviceCount
, VkPhysicalDevice
* pPhysicalDevices
);
2148 typedef void (VKAPI_PTR
*PFN_vkGetPhysicalDeviceFeatures
)(VkPhysicalDevice physicalDevice
, VkPhysicalDeviceFeatures
* pFeatures
);
2149 typedef void (VKAPI_PTR
*PFN_vkGetPhysicalDeviceFormatProperties
)(VkPhysicalDevice physicalDevice
, VkFormat format
, VkFormatProperties
* pFormatProperties
);
2150 typedef VkResult (VKAPI_PTR
*PFN_vkGetPhysicalDeviceImageFormatProperties
)(VkPhysicalDevice physicalDevice
, VkFormat format
, VkImageType type
, VkImageTiling tiling
, VkImageUsageFlags usage
, VkImageCreateFlags flags
, VkImageFormatProperties
* pImageFormatProperties
);
2151 typedef void (VKAPI_PTR
*PFN_vkGetPhysicalDeviceProperties
)(VkPhysicalDevice physicalDevice
, VkPhysicalDeviceProperties
* pProperties
);
2152 typedef void (VKAPI_PTR
*PFN_vkGetPhysicalDeviceQueueFamilyProperties
)(VkPhysicalDevice physicalDevice
, uint32_t* pQueueFamilyPropertyCount
, VkQueueFamilyProperties
* pQueueFamilyProperties
);
2153 typedef void (VKAPI_PTR
*PFN_vkGetPhysicalDeviceMemoryProperties
)(VkPhysicalDevice physicalDevice
, VkPhysicalDeviceMemoryProperties
* pMemoryProperties
);
2154 typedef PFN_vkVoidFunction (VKAPI_PTR
*PFN_vkGetInstanceProcAddr
)(VkInstance instance
, const char* pName
);
2155 typedef PFN_vkVoidFunction (VKAPI_PTR
*PFN_vkGetDeviceProcAddr
)(VkDevice device
, const char* pName
);
2156 typedef VkResult (VKAPI_PTR
*PFN_vkCreateDevice
)(VkPhysicalDevice physicalDevice
, const VkDeviceCreateInfo
* pCreateInfo
, VkDevice
* pDevice
);
2157 typedef void (VKAPI_PTR
*PFN_vkDestroyDevice
)(VkDevice device
);
2158 typedef VkResult (VKAPI_PTR
*PFN_vkEnumerateInstanceExtensionProperties
)(const char* pLayerName
, uint32_t* pPropertyCount
, VkExtensionProperties
* pProperties
);
2159 typedef VkResult (VKAPI_PTR
*PFN_vkEnumerateDeviceExtensionProperties
)(VkPhysicalDevice physicalDevice
, const char* pLayerName
, uint32_t* pPropertyCount
, VkExtensionProperties
* pProperties
);
2160 typedef VkResult (VKAPI_PTR
*PFN_vkEnumerateInstanceLayerProperties
)(uint32_t* pPropertyCount
, VkLayerProperties
* pProperties
);
2161 typedef VkResult (VKAPI_PTR
*PFN_vkEnumerateDeviceLayerProperties
)(VkPhysicalDevice physicalDevice
, uint32_t* pPropertyCount
, VkLayerProperties
* pProperties
);
2162 typedef void (VKAPI_PTR
*PFN_vkGetDeviceQueue
)(VkDevice device
, uint32_t queueFamilyIndex
, uint32_t queueIndex
, VkQueue
* pQueue
);
2163 typedef VkResult (VKAPI_PTR
*PFN_vkQueueSubmit
)(VkQueue queue
, uint32_t commandBufferCount
, const VkCommandBuffer
* pCommandBuffers
, VkFence fence
);
2164 typedef VkResult (VKAPI_PTR
*PFN_vkQueueWaitIdle
)(VkQueue queue
);
2165 typedef VkResult (VKAPI_PTR
*PFN_vkDeviceWaitIdle
)(VkDevice device
);
2166 typedef VkResult (VKAPI_PTR
*PFN_vkAllocMemory
)(VkDevice device
, const VkMemoryAllocInfo
* pAllocInfo
, VkDeviceMemory
* pMem
);
2167 typedef void (VKAPI_PTR
*PFN_vkFreeMemory
)(VkDevice device
, VkDeviceMemory mem
);
2168 typedef VkResult (VKAPI_PTR
*PFN_vkMapMemory
)(VkDevice device
, VkDeviceMemory memory
, VkDeviceSize offset
, VkDeviceSize size
, VkMemoryMapFlags flags
, void** ppData
);
2169 typedef void (VKAPI_PTR
*PFN_vkUnmapMemory
)(VkDevice device
, VkDeviceMemory memory
);
2170 typedef VkResult (VKAPI_PTR
*PFN_vkFlushMappedMemoryRanges
)(VkDevice device
, uint32_t memoryRangeCount
, const VkMappedMemoryRange
* pMemoryRanges
);
2171 typedef VkResult (VKAPI_PTR
*PFN_vkInvalidateMappedMemoryRanges
)(VkDevice device
, uint32_t memoryRangeCount
, const VkMappedMemoryRange
* pMemoryRanges
);
2172 typedef void (VKAPI_PTR
*PFN_vkGetDeviceMemoryCommitment
)(VkDevice device
, VkDeviceMemory memory
, VkDeviceSize
* pCommittedMemoryInBytes
);
2173 typedef VkResult (VKAPI_PTR
*PFN_vkBindBufferMemory
)(VkDevice device
, VkBuffer buffer
, VkDeviceMemory memory
, VkDeviceSize memoryOffset
);
2174 typedef VkResult (VKAPI_PTR
*PFN_vkBindImageMemory
)(VkDevice device
, VkImage image
, VkDeviceMemory memory
, VkDeviceSize memoryOffset
);
2175 typedef void (VKAPI_PTR
*PFN_vkGetBufferMemoryRequirements
)(VkDevice device
, VkBuffer buffer
, VkMemoryRequirements
* pMemoryRequirements
);
2176 typedef void (VKAPI_PTR
*PFN_vkGetImageMemoryRequirements
)(VkDevice device
, VkImage image
, VkMemoryRequirements
* pMemoryRequirements
);
2177 typedef void (VKAPI_PTR
*PFN_vkGetImageSparseMemoryRequirements
)(VkDevice device
, VkImage image
, uint32_t* pNumRequirements
, VkSparseImageMemoryRequirements
* pSparseMemoryRequirements
);
2178 typedef void (VKAPI_PTR
*PFN_vkGetPhysicalDeviceSparseImageFormatProperties
)(VkPhysicalDevice physicalDevice
, VkFormat format
, VkImageType type
, uint32_t samples
, VkImageUsageFlags usage
, VkImageTiling tiling
, uint32_t* pNumProperties
, VkSparseImageFormatProperties
* pProperties
);
2179 typedef VkResult (VKAPI_PTR
*PFN_vkQueueBindSparse
)(VkQueue queue
, uint32_t bindInfoCount
, const VkBindSparseInfo
* pBindInfo
, VkFence fence
);
2180 typedef VkResult (VKAPI_PTR
*PFN_vkCreateFence
)(VkDevice device
, const VkFenceCreateInfo
* pCreateInfo
, VkFence
* pFence
);
2181 typedef void (VKAPI_PTR
*PFN_vkDestroyFence
)(VkDevice device
, VkFence fence
);
2182 typedef VkResult (VKAPI_PTR
*PFN_vkResetFences
)(VkDevice device
, uint32_t fenceCount
, const VkFence
* pFences
);
2183 typedef VkResult (VKAPI_PTR
*PFN_vkGetFenceStatus
)(VkDevice device
, VkFence fence
);
2184 typedef VkResult (VKAPI_PTR
*PFN_vkWaitForFences
)(VkDevice device
, uint32_t fenceCount
, const VkFence
* pFences
, VkBool32 waitAll
, uint64_t timeout
);
2185 typedef VkResult (VKAPI_PTR
*PFN_vkCreateSemaphore
)(VkDevice device
, const VkSemaphoreCreateInfo
* pCreateInfo
, VkSemaphore
* pSemaphore
);
2186 typedef void (VKAPI_PTR
*PFN_vkDestroySemaphore
)(VkDevice device
, VkSemaphore semaphore
);
2187 typedef VkResult (VKAPI_PTR
*PFN_vkQueueSignalSemaphore
)(VkQueue queue
, VkSemaphore semaphore
);
2188 typedef VkResult (VKAPI_PTR
*PFN_vkQueueWaitSemaphore
)(VkQueue queue
, VkSemaphore semaphore
);
2189 typedef VkResult (VKAPI_PTR
*PFN_vkCreateEvent
)(VkDevice device
, const VkEventCreateInfo
* pCreateInfo
, VkEvent
* pEvent
);
2190 typedef void (VKAPI_PTR
*PFN_vkDestroyEvent
)(VkDevice device
, VkEvent event
);
2191 typedef VkResult (VKAPI_PTR
*PFN_vkGetEventStatus
)(VkDevice device
, VkEvent event
);
2192 typedef VkResult (VKAPI_PTR
*PFN_vkSetEvent
)(VkDevice device
, VkEvent event
);
2193 typedef VkResult (VKAPI_PTR
*PFN_vkResetEvent
)(VkDevice device
, VkEvent event
);
2194 typedef VkResult (VKAPI_PTR
*PFN_vkCreateQueryPool
)(VkDevice device
, const VkQueryPoolCreateInfo
* pCreateInfo
, VkQueryPool
* pQueryPool
);
2195 typedef void (VKAPI_PTR
*PFN_vkDestroyQueryPool
)(VkDevice device
, VkQueryPool queryPool
);
2196 typedef VkResult (VKAPI_PTR
*PFN_vkGetQueryPoolResults
)(VkDevice device
, VkQueryPool queryPool
, uint32_t startQuery
, uint32_t queryCount
, size_t* pDataSize
, void* pData
, VkQueryResultFlags flags
);
2197 typedef VkResult (VKAPI_PTR
*PFN_vkCreateBuffer
)(VkDevice device
, const VkBufferCreateInfo
* pCreateInfo
, VkBuffer
* pBuffer
);
2198 typedef void (VKAPI_PTR
*PFN_vkDestroyBuffer
)(VkDevice device
, VkBuffer buffer
);
2199 typedef VkResult (VKAPI_PTR
*PFN_vkCreateBufferView
)(VkDevice device
, const VkBufferViewCreateInfo
* pCreateInfo
, VkBufferView
* pView
);
2200 typedef void (VKAPI_PTR
*PFN_vkDestroyBufferView
)(VkDevice device
, VkBufferView bufferView
);
2201 typedef VkResult (VKAPI_PTR
*PFN_vkCreateImage
)(VkDevice device
, const VkImageCreateInfo
* pCreateInfo
, VkImage
* pImage
);
2202 typedef void (VKAPI_PTR
*PFN_vkDestroyImage
)(VkDevice device
, VkImage image
);
2203 typedef void (VKAPI_PTR
*PFN_vkGetImageSubresourceLayout
)(VkDevice device
, VkImage image
, const VkImageSubresource
* pSubresource
, VkSubresourceLayout
* pLayout
);
2204 typedef VkResult (VKAPI_PTR
*PFN_vkCreateImageView
)(VkDevice device
, const VkImageViewCreateInfo
* pCreateInfo
, VkImageView
* pView
);
2205 typedef void (VKAPI_PTR
*PFN_vkDestroyImageView
)(VkDevice device
, VkImageView imageView
);
2206 typedef VkResult (VKAPI_PTR
*PFN_vkCreateShaderModule
)(VkDevice device
, const VkShaderModuleCreateInfo
* pCreateInfo
, VkShaderModule
* pShaderModule
);
2207 typedef void (VKAPI_PTR
*PFN_vkDestroyShaderModule
)(VkDevice device
, VkShaderModule shaderModule
);
2208 typedef VkResult (VKAPI_PTR
*PFN_vkCreateShader
)(VkDevice device
, const VkShaderCreateInfo
* pCreateInfo
, VkShader
* pShader
);
2209 typedef void (VKAPI_PTR
*PFN_vkDestroyShader
)(VkDevice device
, VkShader shader
);
2210 typedef VkResult (VKAPI_PTR
*PFN_vkCreatePipelineCache
)(VkDevice device
, const VkPipelineCacheCreateInfo
* pCreateInfo
, VkPipelineCache
* pPipelineCache
);
2211 typedef void (VKAPI_PTR
*PFN_vkDestroyPipelineCache
)(VkDevice device
, VkPipelineCache pipelineCache
);
2212 typedef size_t (VKAPI_PTR
*PFN_vkGetPipelineCacheSize
)(VkDevice device
, VkPipelineCache pipelineCache
);
2213 typedef VkResult (VKAPI_PTR
*PFN_vkGetPipelineCacheData
)(VkDevice device
, VkPipelineCache pipelineCache
, void* pData
);
2214 typedef VkResult (VKAPI_PTR
*PFN_vkMergePipelineCaches
)(VkDevice device
, VkPipelineCache destCache
, uint32_t srcCacheCount
, const VkPipelineCache
* pSrcCaches
);
2215 typedef VkResult (VKAPI_PTR
*PFN_vkCreateGraphicsPipelines
)(VkDevice device
, VkPipelineCache pipelineCache
, uint32_t count
, const VkGraphicsPipelineCreateInfo
* pCreateInfos
, VkPipeline
* pPipelines
);
2216 typedef VkResult (VKAPI_PTR
*PFN_vkCreateComputePipelines
)(VkDevice device
, VkPipelineCache pipelineCache
, uint32_t count
, const VkComputePipelineCreateInfo
* pCreateInfos
, VkPipeline
* pPipelines
);
2217 typedef void (VKAPI_PTR
*PFN_vkDestroyPipeline
)(VkDevice device
, VkPipeline pipeline
);
2218 typedef VkResult (VKAPI_PTR
*PFN_vkCreatePipelineLayout
)(VkDevice device
, const VkPipelineLayoutCreateInfo
* pCreateInfo
, VkPipelineLayout
* pPipelineLayout
);
2219 typedef void (VKAPI_PTR
*PFN_vkDestroyPipelineLayout
)(VkDevice device
, VkPipelineLayout pipelineLayout
);
2220 typedef VkResult (VKAPI_PTR
*PFN_vkCreateSampler
)(VkDevice device
, const VkSamplerCreateInfo
* pCreateInfo
, VkSampler
* pSampler
);
2221 typedef void (VKAPI_PTR
*PFN_vkDestroySampler
)(VkDevice device
, VkSampler sampler
);
2222 typedef VkResult (VKAPI_PTR
*PFN_vkCreateDescriptorSetLayout
)(VkDevice device
, const VkDescriptorSetLayoutCreateInfo
* pCreateInfo
, VkDescriptorSetLayout
* pSetLayout
);
2223 typedef void (VKAPI_PTR
*PFN_vkDestroyDescriptorSetLayout
)(VkDevice device
, VkDescriptorSetLayout descriptorSetLayout
);
2224 typedef VkResult (VKAPI_PTR
*PFN_vkCreateDescriptorPool
)(VkDevice device
, const VkDescriptorPoolCreateInfo
* pCreateInfo
, VkDescriptorPool
* pDescriptorPool
);
2225 typedef void (VKAPI_PTR
*PFN_vkDestroyDescriptorPool
)(VkDevice device
, VkDescriptorPool descriptorPool
);
2226 typedef VkResult (VKAPI_PTR
*PFN_vkResetDescriptorPool
)(VkDevice device
, VkDescriptorPool descriptorPool
);
2227 typedef VkResult (VKAPI_PTR
*PFN_vkAllocDescriptorSets
)(VkDevice device
, VkDescriptorPool descriptorPool
, VkDescriptorSetUsage setUsage
, uint32_t count
, const VkDescriptorSetLayout
* pSetLayouts
, VkDescriptorSet
* pDescriptorSets
);
2228 typedef VkResult (VKAPI_PTR
*PFN_vkFreeDescriptorSets
)(VkDevice device
, VkDescriptorPool descriptorPool
, uint32_t count
, const VkDescriptorSet
* pDescriptorSets
);
2229 typedef void (VKAPI_PTR
*PFN_vkUpdateDescriptorSets
)(VkDevice device
, uint32_t writeCount
, const VkWriteDescriptorSet
* pDescriptorWrites
, uint32_t copyCount
, const VkCopyDescriptorSet
* pDescriptorCopies
);
2230 typedef VkResult (VKAPI_PTR
*PFN_vkCreateFramebuffer
)(VkDevice device
, const VkFramebufferCreateInfo
* pCreateInfo
, VkFramebuffer
* pFramebuffer
);
2231 typedef void (VKAPI_PTR
*PFN_vkDestroyFramebuffer
)(VkDevice device
, VkFramebuffer framebuffer
);
2232 typedef VkResult (VKAPI_PTR
*PFN_vkCreateRenderPass
)(VkDevice device
, const VkRenderPassCreateInfo
* pCreateInfo
, VkRenderPass
* pRenderPass
);
2233 typedef void (VKAPI_PTR
*PFN_vkDestroyRenderPass
)(VkDevice device
, VkRenderPass renderPass
);
2234 typedef void (VKAPI_PTR
*PFN_vkGetRenderAreaGranularity
)(VkDevice device
, VkRenderPass renderPass
, VkExtent2D
* pGranularity
);
2235 typedef VkResult (VKAPI_PTR
*PFN_vkCreateCommandPool
)(VkDevice device
, const VkCommandPoolCreateInfo
* pCreateInfo
, VkCommandPool
* pCommandPool
);
2236 typedef void (VKAPI_PTR
*PFN_vkDestroyCommandPool
)(VkDevice device
, VkCommandPool commandPool
);
2237 typedef VkResult (VKAPI_PTR
*PFN_vkResetCommandPool
)(VkDevice device
, VkCommandPool commandPool
, VkCommandPoolResetFlags flags
);
2238 typedef VkResult (VKAPI_PTR
*PFN_vkCreateCommandBuffer
)(VkDevice device
, const VkCommandBufferCreateInfo
* pCreateInfo
, VkCommandBuffer
* pCommandBuffer
);
2239 typedef void (VKAPI_PTR
*PFN_vkDestroyCommandBuffer
)(VkDevice device
, VkCommandBuffer commandBuffer
);
2240 typedef VkResult (VKAPI_PTR
*PFN_vkBeginCommandBuffer
)(VkCommandBuffer commandBuffer
, const VkCommandBufferBeginInfo
* pBeginInfo
);
2241 typedef VkResult (VKAPI_PTR
*PFN_vkEndCommandBuffer
)(VkCommandBuffer commandBuffer
);
2242 typedef VkResult (VKAPI_PTR
*PFN_vkResetCommandBuffer
)(VkCommandBuffer commandBuffer
, VkCommandBufferResetFlags flags
);
2243 typedef void (VKAPI_PTR
*PFN_vkCmdBindPipeline
)(VkCommandBuffer commandBuffer
, VkPipelineBindPoint pipelineBindPoint
, VkPipeline pipeline
);
2244 typedef void (VKAPI_PTR
*PFN_vkCmdSetViewport
)(VkCommandBuffer commandBuffer
, uint32_t viewportCount
, const VkViewport
* pViewports
);
2245 typedef void (VKAPI_PTR
*PFN_vkCmdSetScissor
)(VkCommandBuffer commandBuffer
, uint32_t scissorCount
, const VkRect2D
* pScissors
);
2246 typedef void (VKAPI_PTR
*PFN_vkCmdSetLineWidth
)(VkCommandBuffer commandBuffer
, float lineWidth
);
2247 typedef void (VKAPI_PTR
*PFN_vkCmdSetDepthBias
)(VkCommandBuffer commandBuffer
, float depthBiasConstantFactor
, float depthBiasClamp
, float depthBiasSlopeFactor
);
2248 typedef void (VKAPI_PTR
*PFN_vkCmdSetBlendConstants
)(VkCommandBuffer commandBuffer
, const float blendConstants
[4]);
2249 typedef void (VKAPI_PTR
*PFN_vkCmdSetDepthBounds
)(VkCommandBuffer commandBuffer
, float minDepthBounds
, float maxDepthBounds
);
2250 typedef void (VKAPI_PTR
*PFN_vkCmdSetStencilCompareMask
)(VkCommandBuffer commandBuffer
, VkStencilFaceFlags faceMask
, uint32_t compareMask
);
2251 typedef void (VKAPI_PTR
*PFN_vkCmdSetStencilWriteMask
)(VkCommandBuffer commandBuffer
, VkStencilFaceFlags faceMask
, uint32_t writeMask
);
2252 typedef void (VKAPI_PTR
*PFN_vkCmdSetStencilReference
)(VkCommandBuffer commandBuffer
, VkStencilFaceFlags faceMask
, uint32_t reference
);
2253 typedef void (VKAPI_PTR
*PFN_vkCmdBindDescriptorSets
)(VkCommandBuffer commandBuffer
, VkPipelineBindPoint pipelineBindPoint
, VkPipelineLayout layout
, uint32_t firstSet
, uint32_t setCount
, const VkDescriptorSet
* pDescriptorSets
, uint32_t dynamicOffsetCount
, const uint32_t* pDynamicOffsets
);
2254 typedef void (VKAPI_PTR
*PFN_vkCmdBindIndexBuffer
)(VkCommandBuffer commandBuffer
, VkBuffer buffer
, VkDeviceSize offset
, VkIndexType indexType
);
2255 typedef void (VKAPI_PTR
*PFN_vkCmdBindVertexBuffers
)(VkCommandBuffer commandBuffer
, uint32_t startBinding
, uint32_t bindingCount
, const VkBuffer
* pBuffers
, const VkDeviceSize
* pOffsets
);
2256 typedef void (VKAPI_PTR
*PFN_vkCmdDraw
)(VkCommandBuffer commandBuffer
, uint32_t vertexCount
, uint32_t instanceCount
, uint32_t firstVertex
, uint32_t firstInstance
);
2257 typedef void (VKAPI_PTR
*PFN_vkCmdDrawIndexed
)(VkCommandBuffer commandBuffer
, uint32_t indexCount
, uint32_t instanceCount
, uint32_t firstIndex
, int32_t vertexOffset
, uint32_t firstInstance
);
2258 typedef void (VKAPI_PTR
*PFN_vkCmdDrawIndirect
)(VkCommandBuffer commandBuffer
, VkBuffer buffer
, VkDeviceSize offset
, uint32_t drawCount
, uint32_t stride
);
2259 typedef void (VKAPI_PTR
*PFN_vkCmdDrawIndexedIndirect
)(VkCommandBuffer commandBuffer
, VkBuffer buffer
, VkDeviceSize offset
, uint32_t drawCount
, uint32_t stride
);
2260 typedef void (VKAPI_PTR
*PFN_vkCmdDispatch
)(VkCommandBuffer commandBuffer
, uint32_t x
, uint32_t y
, uint32_t z
);
2261 typedef void (VKAPI_PTR
*PFN_vkCmdDispatchIndirect
)(VkCommandBuffer commandBuffer
, VkBuffer buffer
, VkDeviceSize offset
);
2262 typedef void (VKAPI_PTR
*PFN_vkCmdCopyBuffer
)(VkCommandBuffer commandBuffer
, VkBuffer srcBuffer
, VkBuffer dstBuffer
, uint32_t regionCount
, const VkBufferCopy
* pRegions
);
2263 typedef void (VKAPI_PTR
*PFN_vkCmdCopyImage
)(VkCommandBuffer commandBuffer
, VkImage srcImage
, VkImageLayout srcImageLayout
, VkImage dstImage
, VkImageLayout dstImageLayout
, uint32_t regionCount
, const VkImageCopy
* pRegions
);
2264 typedef void (VKAPI_PTR
*PFN_vkCmdBlitImage
)(VkCommandBuffer commandBuffer
, VkImage srcImage
, VkImageLayout srcImageLayout
, VkImage dstImage
, VkImageLayout dstImageLayout
, uint32_t regionCount
, const VkImageBlit
* pRegions
, VkFilter filter
);
2265 typedef void (VKAPI_PTR
*PFN_vkCmdCopyBufferToImage
)(VkCommandBuffer commandBuffer
, VkBuffer srcBuffer
, VkImage dstImage
, VkImageLayout dstImageLayout
, uint32_t regionCount
, const VkBufferImageCopy
* pRegions
);
2266 typedef void (VKAPI_PTR
*PFN_vkCmdCopyImageToBuffer
)(VkCommandBuffer commandBuffer
, VkImage srcImage
, VkImageLayout srcImageLayout
, VkBuffer dstBuffer
, uint32_t regionCount
, const VkBufferImageCopy
* pRegions
);
2267 typedef void (VKAPI_PTR
*PFN_vkCmdUpdateBuffer
)(VkCommandBuffer commandBuffer
, VkBuffer dstBuffer
, VkDeviceSize dstOffset
, VkDeviceSize dataSize
, const uint32_t* pData
);
2268 typedef void (VKAPI_PTR
*PFN_vkCmdFillBuffer
)(VkCommandBuffer commandBuffer
, VkBuffer dstBuffer
, VkDeviceSize dstOffset
, VkDeviceSize size
, uint32_t data
);
2269 typedef void (VKAPI_PTR
*PFN_vkCmdClearColorImage
)(VkCommandBuffer commandBuffer
, VkImage image
, VkImageLayout imageLayout
, const VkClearColorValue
* pColor
, uint32_t rangeCount
, const VkImageSubresourceRange
* pRanges
);
2270 typedef void (VKAPI_PTR
*PFN_vkCmdClearDepthStencilImage
)(VkCommandBuffer commandBuffer
, VkImage image
, VkImageLayout imageLayout
, const VkClearDepthStencilValue
* pDepthStencil
, uint32_t rangeCount
, const VkImageSubresourceRange
* pRanges
);
2271 typedef void (VKAPI_PTR
*PFN_vkCmdClearAttachments
)(VkCommandBuffer commandBuffer
, uint32_t attachmentCount
, const VkClearAttachment
* pAttachments
, uint32_t rectCount
, const VkClearRect
* pRects
);
2272 typedef void (VKAPI_PTR
*PFN_vkCmdResolveImage
)(VkCommandBuffer commandBuffer
, VkImage srcImage
, VkImageLayout srcImageLayout
, VkImage dstImage
, VkImageLayout dstImageLayout
, uint32_t regionCount
, const VkImageResolve
* pRegions
);
2273 typedef void (VKAPI_PTR
*PFN_vkCmdSetEvent
)(VkCommandBuffer commandBuffer
, VkEvent event
, VkPipelineStageFlags stageMask
);
2274 typedef void (VKAPI_PTR
*PFN_vkCmdResetEvent
)(VkCommandBuffer commandBuffer
, VkEvent event
, VkPipelineStageFlags stageMask
);
2275 typedef void (VKAPI_PTR
*PFN_vkCmdWaitEvents
)(VkCommandBuffer commandBuffer
, uint32_t eventCount
, const VkEvent
* pEvents
, VkPipelineStageFlags srcStageMask
, VkPipelineStageFlags destStageMask
, uint32_t memBarrierCount
, const void* const* ppMemBarriers
);
2276 typedef void (VKAPI_PTR
*PFN_vkCmdPipelineBarrier
)(VkCommandBuffer commandBuffer
, VkPipelineStageFlags srcStageMask
, VkPipelineStageFlags destStageMask
, VkBool32 byRegion
, uint32_t memBarrierCount
, const void* const* ppMemBarriers
);
2277 typedef void (VKAPI_PTR
*PFN_vkCmdBeginQuery
)(VkCommandBuffer commandBuffer
, VkQueryPool queryPool
, uint32_t entry
, VkQueryControlFlags flags
);
2278 typedef void (VKAPI_PTR
*PFN_vkCmdEndQuery
)(VkCommandBuffer commandBuffer
, VkQueryPool queryPool
, uint32_t entry
);
2279 typedef void (VKAPI_PTR
*PFN_vkCmdResetQueryPool
)(VkCommandBuffer commandBuffer
, VkQueryPool queryPool
, uint32_t startQuery
, uint32_t queryCount
);
2280 typedef void (VKAPI_PTR
*PFN_vkCmdWriteTimestamp
)(VkCommandBuffer commandBuffer
, VkTimestampType timestampType
, VkBuffer destBuffer
, VkDeviceSize destOffset
);
2281 typedef void (VKAPI_PTR
*PFN_vkCmdCopyQueryPoolResults
)(VkCommandBuffer commandBuffer
, VkQueryPool queryPool
, uint32_t startQuery
, uint32_t queryCount
, VkBuffer dstBuffer
, VkDeviceSize dstOffset
, VkDeviceSize stride
, VkQueryResultFlags flags
);
2282 typedef void (VKAPI_PTR
*PFN_vkCmdPushConstants
)(VkCommandBuffer commandBuffer
, VkPipelineLayout layout
, VkShaderStageFlags stageFlags
, uint32_t offset
, uint32_t size
, const void* pValues
);
2283 typedef void (VKAPI_PTR
*PFN_vkCmdBeginRenderPass
)(VkCommandBuffer commandBuffer
, const VkRenderPassBeginInfo
* pRenderPassBegin
, VkSubpassContents contents
);
2284 typedef void (VKAPI_PTR
*PFN_vkCmdNextSubpass
)(VkCommandBuffer commandBuffer
, VkSubpassContents contents
);
2285 typedef void (VKAPI_PTR
*PFN_vkCmdEndRenderPass
)(VkCommandBuffer commandBuffer
);
2286 typedef void (VKAPI_PTR
*PFN_vkCmdExecuteCommands
)(VkCommandBuffer commandBuffer
, uint32_t commandBuffersCount
, const VkCommandBuffer
* pCommandBuffers
);
2288 #ifdef VK_PROTOTYPES
2289 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateInstance(
2290 const VkInstanceCreateInfo
* pCreateInfo
,
2291 VkInstance
* pInstance
);
2293 VKAPI_ATTR
void VKAPI_CALL
vkDestroyInstance(
2294 VkInstance instance
);
2296 VKAPI_ATTR VkResult VKAPI_CALL
vkEnumeratePhysicalDevices(
2297 VkInstance instance
,
2298 uint32_t* pPhysicalDeviceCount
,
2299 VkPhysicalDevice
* pPhysicalDevices
);
2301 VKAPI_ATTR
void VKAPI_CALL
vkGetPhysicalDeviceFeatures(
2302 VkPhysicalDevice physicalDevice
,
2303 VkPhysicalDeviceFeatures
* pFeatures
);
2305 VKAPI_ATTR
void VKAPI_CALL
vkGetPhysicalDeviceFormatProperties(
2306 VkPhysicalDevice physicalDevice
,
2308 VkFormatProperties
* pFormatProperties
);
2310 VKAPI_ATTR VkResult VKAPI_CALL
vkGetPhysicalDeviceImageFormatProperties(
2311 VkPhysicalDevice physicalDevice
,
2314 VkImageTiling tiling
,
2315 VkImageUsageFlags usage
,
2316 VkImageCreateFlags flags
,
2317 VkImageFormatProperties
* pImageFormatProperties
);
2319 VKAPI_ATTR
void VKAPI_CALL
vkGetPhysicalDeviceProperties(
2320 VkPhysicalDevice physicalDevice
,
2321 VkPhysicalDeviceProperties
* pProperties
);
2323 VKAPI_ATTR
void VKAPI_CALL
vkGetPhysicalDeviceQueueFamilyProperties(
2324 VkPhysicalDevice physicalDevice
,
2325 uint32_t* pQueueFamilyPropertyCount
,
2326 VkQueueFamilyProperties
* pQueueFamilyProperties
);
2328 VKAPI_ATTR
void VKAPI_CALL
vkGetPhysicalDeviceMemoryProperties(
2329 VkPhysicalDevice physicalDevice
,
2330 VkPhysicalDeviceMemoryProperties
* pMemoryProperties
);
2332 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
vkGetInstanceProcAddr(
2333 VkInstance instance
,
2336 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
vkGetDeviceProcAddr(
2340 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateDevice(
2341 VkPhysicalDevice physicalDevice
,
2342 const VkDeviceCreateInfo
* pCreateInfo
,
2345 VKAPI_ATTR
void VKAPI_CALL
vkDestroyDevice(
2348 VKAPI_ATTR VkResult VKAPI_CALL
vkEnumerateInstanceExtensionProperties(
2349 const char* pLayerName
,
2350 uint32_t* pPropertyCount
,
2351 VkExtensionProperties
* pProperties
);
2353 VKAPI_ATTR VkResult VKAPI_CALL
vkEnumerateDeviceExtensionProperties(
2354 VkPhysicalDevice physicalDevice
,
2355 const char* pLayerName
,
2356 uint32_t* pPropertyCount
,
2357 VkExtensionProperties
* pProperties
);
2359 VKAPI_ATTR VkResult VKAPI_CALL
vkEnumerateInstanceLayerProperties(
2360 uint32_t* pPropertyCount
,
2361 VkLayerProperties
* pProperties
);
2363 VKAPI_ATTR VkResult VKAPI_CALL
vkEnumerateDeviceLayerProperties(
2364 VkPhysicalDevice physicalDevice
,
2365 uint32_t* pPropertyCount
,
2366 VkLayerProperties
* pProperties
);
2368 VKAPI_ATTR
void VKAPI_CALL
vkGetDeviceQueue(
2370 uint32_t queueFamilyIndex
,
2371 uint32_t queueIndex
,
2374 VKAPI_ATTR VkResult VKAPI_CALL
vkQueueSubmit(
2376 uint32_t commandBufferCount
,
2377 const VkCommandBuffer
* pCommandBuffers
,
2380 VKAPI_ATTR VkResult VKAPI_CALL
vkQueueWaitIdle(
2383 VKAPI_ATTR VkResult VKAPI_CALL
vkDeviceWaitIdle(
2386 VKAPI_ATTR VkResult VKAPI_CALL
vkAllocMemory(
2388 const VkMemoryAllocInfo
* pAllocInfo
,
2389 VkDeviceMemory
* pMem
);
2391 VKAPI_ATTR
void VKAPI_CALL
vkFreeMemory(
2393 VkDeviceMemory mem
);
2395 VKAPI_ATTR VkResult VKAPI_CALL
vkMapMemory(
2397 VkDeviceMemory memory
,
2398 VkDeviceSize offset
,
2400 VkMemoryMapFlags flags
,
2403 VKAPI_ATTR
void VKAPI_CALL
vkUnmapMemory(
2405 VkDeviceMemory memory
);
2407 VKAPI_ATTR VkResult VKAPI_CALL
vkFlushMappedMemoryRanges(
2409 uint32_t memoryRangeCount
,
2410 const VkMappedMemoryRange
* pMemoryRanges
);
2412 VKAPI_ATTR VkResult VKAPI_CALL
vkInvalidateMappedMemoryRanges(
2414 uint32_t memoryRangeCount
,
2415 const VkMappedMemoryRange
* pMemoryRanges
);
2417 VKAPI_ATTR
void VKAPI_CALL
vkGetDeviceMemoryCommitment(
2419 VkDeviceMemory memory
,
2420 VkDeviceSize
* pCommittedMemoryInBytes
);
2422 VKAPI_ATTR VkResult VKAPI_CALL
vkBindBufferMemory(
2425 VkDeviceMemory memory
,
2426 VkDeviceSize memoryOffset
);
2428 VKAPI_ATTR VkResult VKAPI_CALL
vkBindImageMemory(
2431 VkDeviceMemory memory
,
2432 VkDeviceSize memoryOffset
);
2434 VKAPI_ATTR
void VKAPI_CALL
vkGetBufferMemoryRequirements(
2437 VkMemoryRequirements
* pMemoryRequirements
);
2439 VKAPI_ATTR
void VKAPI_CALL
vkGetImageMemoryRequirements(
2442 VkMemoryRequirements
* pMemoryRequirements
);
2444 VKAPI_ATTR
void VKAPI_CALL
vkGetImageSparseMemoryRequirements(
2447 uint32_t* pNumRequirements
,
2448 VkSparseImageMemoryRequirements
* pSparseMemoryRequirements
);
2450 VKAPI_ATTR
void VKAPI_CALL
vkGetPhysicalDeviceSparseImageFormatProperties(
2451 VkPhysicalDevice physicalDevice
,
2455 VkImageUsageFlags usage
,
2456 VkImageTiling tiling
,
2457 uint32_t* pNumProperties
,
2458 VkSparseImageFormatProperties
* pProperties
);
2460 VKAPI_ATTR VkResult VKAPI_CALL
vkQueueBindSparse(
2462 uint32_t bindInfoCount
,
2463 const VkBindSparseInfo
* pBindInfo
,
2466 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateFence(
2468 const VkFenceCreateInfo
* pCreateInfo
,
2471 VKAPI_ATTR
void VKAPI_CALL
vkDestroyFence(
2475 VKAPI_ATTR VkResult VKAPI_CALL
vkResetFences(
2477 uint32_t fenceCount
,
2478 const VkFence
* pFences
);
2480 VKAPI_ATTR VkResult VKAPI_CALL
vkGetFenceStatus(
2484 VKAPI_ATTR VkResult VKAPI_CALL
vkWaitForFences(
2486 uint32_t fenceCount
,
2487 const VkFence
* pFences
,
2491 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateSemaphore(
2493 const VkSemaphoreCreateInfo
* pCreateInfo
,
2494 VkSemaphore
* pSemaphore
);
2496 VKAPI_ATTR
void VKAPI_CALL
vkDestroySemaphore(
2498 VkSemaphore semaphore
);
2500 VKAPI_ATTR VkResult VKAPI_CALL
vkQueueSignalSemaphore(
2502 VkSemaphore semaphore
);
2504 VKAPI_ATTR VkResult VKAPI_CALL
vkQueueWaitSemaphore(
2506 VkSemaphore semaphore
);
2508 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateEvent(
2510 const VkEventCreateInfo
* pCreateInfo
,
2513 VKAPI_ATTR
void VKAPI_CALL
vkDestroyEvent(
2517 VKAPI_ATTR VkResult VKAPI_CALL
vkGetEventStatus(
2521 VKAPI_ATTR VkResult VKAPI_CALL
vkSetEvent(
2525 VKAPI_ATTR VkResult VKAPI_CALL
vkResetEvent(
2529 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateQueryPool(
2531 const VkQueryPoolCreateInfo
* pCreateInfo
,
2532 VkQueryPool
* pQueryPool
);
2534 VKAPI_ATTR
void VKAPI_CALL
vkDestroyQueryPool(
2536 VkQueryPool queryPool
);
2538 VKAPI_ATTR VkResult VKAPI_CALL
vkGetQueryPoolResults(
2540 VkQueryPool queryPool
,
2541 uint32_t startQuery
,
2542 uint32_t queryCount
,
2545 VkQueryResultFlags flags
);
2547 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateBuffer(
2549 const VkBufferCreateInfo
* pCreateInfo
,
2552 VKAPI_ATTR
void VKAPI_CALL
vkDestroyBuffer(
2556 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateBufferView(
2558 const VkBufferViewCreateInfo
* pCreateInfo
,
2559 VkBufferView
* pView
);
2561 VKAPI_ATTR
void VKAPI_CALL
vkDestroyBufferView(
2563 VkBufferView bufferView
);
2565 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateImage(
2567 const VkImageCreateInfo
* pCreateInfo
,
2570 VKAPI_ATTR
void VKAPI_CALL
vkDestroyImage(
2574 VKAPI_ATTR
void VKAPI_CALL
vkGetImageSubresourceLayout(
2577 const VkImageSubresource
* pSubresource
,
2578 VkSubresourceLayout
* pLayout
);
2580 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateImageView(
2582 const VkImageViewCreateInfo
* pCreateInfo
,
2583 VkImageView
* pView
);
2585 VKAPI_ATTR
void VKAPI_CALL
vkDestroyImageView(
2587 VkImageView imageView
);
2589 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateShaderModule(
2591 const VkShaderModuleCreateInfo
* pCreateInfo
,
2592 VkShaderModule
* pShaderModule
);
2594 VKAPI_ATTR
void VKAPI_CALL
vkDestroyShaderModule(
2596 VkShaderModule shaderModule
);
2598 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateShader(
2600 const VkShaderCreateInfo
* pCreateInfo
,
2603 VKAPI_ATTR
void VKAPI_CALL
vkDestroyShader(
2607 VKAPI_ATTR VkResult VKAPI_CALL
vkCreatePipelineCache(
2609 const VkPipelineCacheCreateInfo
* pCreateInfo
,
2610 VkPipelineCache
* pPipelineCache
);
2612 VKAPI_ATTR
void VKAPI_CALL
vkDestroyPipelineCache(
2614 VkPipelineCache pipelineCache
);
2616 VKAPI_ATTR
size_t VKAPI_CALL
vkGetPipelineCacheSize(
2618 VkPipelineCache pipelineCache
);
2620 VKAPI_ATTR VkResult VKAPI_CALL
vkGetPipelineCacheData(
2622 VkPipelineCache pipelineCache
,
2625 VKAPI_ATTR VkResult VKAPI_CALL
vkMergePipelineCaches(
2627 VkPipelineCache destCache
,
2628 uint32_t srcCacheCount
,
2629 const VkPipelineCache
* pSrcCaches
);
2631 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateGraphicsPipelines(
2633 VkPipelineCache pipelineCache
,
2635 const VkGraphicsPipelineCreateInfo
* pCreateInfos
,
2636 VkPipeline
* pPipelines
);
2638 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateComputePipelines(
2640 VkPipelineCache pipelineCache
,
2642 const VkComputePipelineCreateInfo
* pCreateInfos
,
2643 VkPipeline
* pPipelines
);
2645 VKAPI_ATTR
void VKAPI_CALL
vkDestroyPipeline(
2647 VkPipeline pipeline
);
2649 VKAPI_ATTR VkResult VKAPI_CALL
vkCreatePipelineLayout(
2651 const VkPipelineLayoutCreateInfo
* pCreateInfo
,
2652 VkPipelineLayout
* pPipelineLayout
);
2654 VKAPI_ATTR
void VKAPI_CALL
vkDestroyPipelineLayout(
2656 VkPipelineLayout pipelineLayout
);
2658 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateSampler(
2660 const VkSamplerCreateInfo
* pCreateInfo
,
2661 VkSampler
* pSampler
);
2663 VKAPI_ATTR
void VKAPI_CALL
vkDestroySampler(
2667 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateDescriptorSetLayout(
2669 const VkDescriptorSetLayoutCreateInfo
* pCreateInfo
,
2670 VkDescriptorSetLayout
* pSetLayout
);
2672 VKAPI_ATTR
void VKAPI_CALL
vkDestroyDescriptorSetLayout(
2674 VkDescriptorSetLayout descriptorSetLayout
);
2676 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateDescriptorPool(
2678 const VkDescriptorPoolCreateInfo
* pCreateInfo
,
2679 VkDescriptorPool
* pDescriptorPool
);
2681 VKAPI_ATTR
void VKAPI_CALL
vkDestroyDescriptorPool(
2683 VkDescriptorPool descriptorPool
);
2685 VKAPI_ATTR VkResult VKAPI_CALL
vkResetDescriptorPool(
2687 VkDescriptorPool descriptorPool
);
2689 VKAPI_ATTR VkResult VKAPI_CALL
vkAllocDescriptorSets(
2691 VkDescriptorPool descriptorPool
,
2692 VkDescriptorSetUsage setUsage
,
2694 const VkDescriptorSetLayout
* pSetLayouts
,
2695 VkDescriptorSet
* pDescriptorSets
);
2697 VKAPI_ATTR VkResult VKAPI_CALL
vkFreeDescriptorSets(
2699 VkDescriptorPool descriptorPool
,
2701 const VkDescriptorSet
* pDescriptorSets
);
2703 VKAPI_ATTR
void VKAPI_CALL
vkUpdateDescriptorSets(
2705 uint32_t writeCount
,
2706 const VkWriteDescriptorSet
* pDescriptorWrites
,
2708 const VkCopyDescriptorSet
* pDescriptorCopies
);
2710 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateFramebuffer(
2712 const VkFramebufferCreateInfo
* pCreateInfo
,
2713 VkFramebuffer
* pFramebuffer
);
2715 VKAPI_ATTR
void VKAPI_CALL
vkDestroyFramebuffer(
2717 VkFramebuffer framebuffer
);
2719 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateRenderPass(
2721 const VkRenderPassCreateInfo
* pCreateInfo
,
2722 VkRenderPass
* pRenderPass
);
2724 VKAPI_ATTR
void VKAPI_CALL
vkDestroyRenderPass(
2726 VkRenderPass renderPass
);
2728 VKAPI_ATTR
void VKAPI_CALL
vkGetRenderAreaGranularity(
2730 VkRenderPass renderPass
,
2731 VkExtent2D
* pGranularity
);
2733 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateCommandPool(
2735 const VkCommandPoolCreateInfo
* pCreateInfo
,
2736 VkCommandPool
* pCommandPool
);
2738 VKAPI_ATTR
void VKAPI_CALL
vkDestroyCommandPool(
2740 VkCommandPool commandPool
);
2742 VKAPI_ATTR VkResult VKAPI_CALL
vkResetCommandPool(
2744 VkCommandPool commandPool
,
2745 VkCommandPoolResetFlags flags
);
2747 VKAPI_ATTR VkResult VKAPI_CALL
vkCreateCommandBuffer(
2749 const VkCommandBufferCreateInfo
* pCreateInfo
,
2750 VkCommandBuffer
* pCommandBuffer
);
2752 VKAPI_ATTR
void VKAPI_CALL
vkDestroyCommandBuffer(
2754 VkCommandBuffer commandBuffer
);
2756 VKAPI_ATTR VkResult VKAPI_CALL
vkBeginCommandBuffer(
2757 VkCommandBuffer commandBuffer
,
2758 const VkCommandBufferBeginInfo
* pBeginInfo
);
2760 VKAPI_ATTR VkResult VKAPI_CALL
vkEndCommandBuffer(
2761 VkCommandBuffer commandBuffer
);
2763 VKAPI_ATTR VkResult VKAPI_CALL
vkResetCommandBuffer(
2764 VkCommandBuffer commandBuffer
,
2765 VkCommandBufferResetFlags flags
);
2767 VKAPI_ATTR
void VKAPI_CALL
vkCmdBindPipeline(
2768 VkCommandBuffer commandBuffer
,
2769 VkPipelineBindPoint pipelineBindPoint
,
2770 VkPipeline pipeline
);
2772 VKAPI_ATTR
void VKAPI_CALL
vkCmdSetViewport(
2773 VkCommandBuffer commandBuffer
,
2774 uint32_t viewportCount
,
2775 const VkViewport
* pViewports
);
2777 VKAPI_ATTR
void VKAPI_CALL
vkCmdSetScissor(
2778 VkCommandBuffer commandBuffer
,
2779 uint32_t scissorCount
,
2780 const VkRect2D
* pScissors
);
2782 VKAPI_ATTR
void VKAPI_CALL
vkCmdSetLineWidth(
2783 VkCommandBuffer commandBuffer
,
2786 VKAPI_ATTR
void VKAPI_CALL
vkCmdSetDepthBias(
2787 VkCommandBuffer commandBuffer
,
2788 float depthBiasConstantFactor
,
2789 float depthBiasClamp
,
2790 float depthBiasSlopeFactor
);
2792 VKAPI_ATTR
void VKAPI_CALL
vkCmdSetBlendConstants(
2793 VkCommandBuffer commandBuffer
,
2794 const float blendConstants
[4]);
2796 VKAPI_ATTR
void VKAPI_CALL
vkCmdSetDepthBounds(
2797 VkCommandBuffer commandBuffer
,
2798 float minDepthBounds
,
2799 float maxDepthBounds
);
2801 VKAPI_ATTR
void VKAPI_CALL
vkCmdSetStencilCompareMask(
2802 VkCommandBuffer commandBuffer
,
2803 VkStencilFaceFlags faceMask
,
2804 uint32_t compareMask
);
2806 VKAPI_ATTR
void VKAPI_CALL
vkCmdSetStencilWriteMask(
2807 VkCommandBuffer commandBuffer
,
2808 VkStencilFaceFlags faceMask
,
2809 uint32_t writeMask
);
2811 VKAPI_ATTR
void VKAPI_CALL
vkCmdSetStencilReference(
2812 VkCommandBuffer commandBuffer
,
2813 VkStencilFaceFlags faceMask
,
2814 uint32_t reference
);
2816 VKAPI_ATTR
void VKAPI_CALL
vkCmdBindDescriptorSets(
2817 VkCommandBuffer commandBuffer
,
2818 VkPipelineBindPoint pipelineBindPoint
,
2819 VkPipelineLayout layout
,
2821 uint32_t descriptorSetCount
,
2822 const VkDescriptorSet
* pDescriptorSets
,
2823 uint32_t dynamicOffsetCount
,
2824 const uint32_t* pDynamicOffsets
);
2826 VKAPI_ATTR
void VKAPI_CALL
vkCmdBindIndexBuffer(
2827 VkCommandBuffer commandBuffer
,
2829 VkDeviceSize offset
,
2830 VkIndexType indexType
);
2832 VKAPI_ATTR
void VKAPI_CALL
vkCmdBindVertexBuffers(
2833 VkCommandBuffer commandBuffer
,
2834 uint32_t startBinding
,
2835 uint32_t bindingCount
,
2836 const VkBuffer
* pBuffers
,
2837 const VkDeviceSize
* pOffsets
);
2839 VKAPI_ATTR
void VKAPI_CALL
vkCmdDraw(
2840 VkCommandBuffer commandBuffer
,
2841 uint32_t vertexCount
,
2842 uint32_t instanceCount
,
2843 uint32_t firstVertex
,
2844 uint32_t firstInstance
);
2846 VKAPI_ATTR
void VKAPI_CALL
vkCmdDrawIndexed(
2847 VkCommandBuffer commandBuffer
,
2848 uint32_t indexCount
,
2849 uint32_t instanceCount
,
2850 uint32_t firstIndex
,
2851 int32_t vertexOffset
,
2852 uint32_t firstInstance
);
2854 VKAPI_ATTR
void VKAPI_CALL
vkCmdDrawIndirect(
2855 VkCommandBuffer commandBuffer
,
2857 VkDeviceSize offset
,
2861 VKAPI_ATTR
void VKAPI_CALL
vkCmdDrawIndexedIndirect(
2862 VkCommandBuffer commandBuffer
,
2864 VkDeviceSize offset
,
2868 VKAPI_ATTR
void VKAPI_CALL
vkCmdDispatch(
2869 VkCommandBuffer commandBuffer
,
2874 VKAPI_ATTR
void VKAPI_CALL
vkCmdDispatchIndirect(
2875 VkCommandBuffer commandBuffer
,
2877 VkDeviceSize offset
);
2879 VKAPI_ATTR
void VKAPI_CALL
vkCmdCopyBuffer(
2880 VkCommandBuffer commandBuffer
,
2883 uint32_t regionCount
,
2884 const VkBufferCopy
* pRegions
);
2886 VKAPI_ATTR
void VKAPI_CALL
vkCmdCopyImage(
2887 VkCommandBuffer commandBuffer
,
2889 VkImageLayout srcImageLayout
,
2891 VkImageLayout dstImageLayout
,
2892 uint32_t regionCount
,
2893 const VkImageCopy
* pRegions
);
2895 VKAPI_ATTR
void VKAPI_CALL
vkCmdBlitImage(
2896 VkCommandBuffer commandBuffer
,
2898 VkImageLayout srcImageLayout
,
2900 VkImageLayout dstImageLayout
,
2901 uint32_t regionCount
,
2902 const VkImageBlit
* pRegions
,
2905 VKAPI_ATTR
void VKAPI_CALL
vkCmdCopyBufferToImage(
2906 VkCommandBuffer commandBuffer
,
2909 VkImageLayout dstImageLayout
,
2910 uint32_t regionCount
,
2911 const VkBufferImageCopy
* pRegions
);
2913 VKAPI_ATTR
void VKAPI_CALL
vkCmdCopyImageToBuffer(
2914 VkCommandBuffer commandBuffer
,
2916 VkImageLayout srcImageLayout
,
2918 uint32_t regionCount
,
2919 const VkBufferImageCopy
* pRegions
);
2921 VKAPI_ATTR
void VKAPI_CALL
vkCmdUpdateBuffer(
2922 VkCommandBuffer commandBuffer
,
2924 VkDeviceSize dstOffset
,
2925 VkDeviceSize dataSize
,
2926 const uint32_t* pData
);
2928 VKAPI_ATTR
void VKAPI_CALL
vkCmdFillBuffer(
2929 VkCommandBuffer commandBuffer
,
2931 VkDeviceSize dstOffset
,
2935 VKAPI_ATTR
void VKAPI_CALL
vkCmdClearColorImage(
2936 VkCommandBuffer commandBuffer
,
2938 VkImageLayout imageLayout
,
2939 const VkClearColorValue
* pColor
,
2940 uint32_t rangeCount
,
2941 const VkImageSubresourceRange
* pRanges
);
2943 VKAPI_ATTR
void VKAPI_CALL
vkCmdClearDepthStencilImage(
2944 VkCommandBuffer commandBuffer
,
2946 VkImageLayout imageLayout
,
2947 const VkClearDepthStencilValue
* pDepthStencil
,
2948 uint32_t rangeCount
,
2949 const VkImageSubresourceRange
* pRanges
);
2951 VKAPI_ATTR
void VKAPI_CALL
vkCmdClearAttachments(
2952 VkCommandBuffer commandBuffer
,
2953 uint32_t attachmentCount
,
2954 const VkClearAttachment
* pAttachments
,
2956 const VkClearRect
* pRects
);
2958 VKAPI_ATTR
void VKAPI_CALL
vkCmdResolveImage(
2959 VkCommandBuffer commandBuffer
,
2961 VkImageLayout srcImageLayout
,
2963 VkImageLayout dstImageLayout
,
2964 uint32_t regionCount
,
2965 const VkImageResolve
* pRegions
);
2967 VKAPI_ATTR
void VKAPI_CALL
vkCmdSetEvent(
2968 VkCommandBuffer commandBuffer
,
2970 VkPipelineStageFlags stageMask
);
2972 VKAPI_ATTR
void VKAPI_CALL
vkCmdResetEvent(
2973 VkCommandBuffer commandBuffer
,
2975 VkPipelineStageFlags stageMask
);
2977 VKAPI_ATTR
void VKAPI_CALL
vkCmdWaitEvents(
2978 VkCommandBuffer commandBuffer
,
2979 uint32_t eventCount
,
2980 const VkEvent
* pEvents
,
2981 VkPipelineStageFlags srcStageMask
,
2982 VkPipelineStageFlags destStageMask
,
2983 uint32_t memBarrierCount
,
2984 const void* const* ppMemBarriers
);
2986 VKAPI_ATTR
void VKAPI_CALL
vkCmdPipelineBarrier(
2987 VkCommandBuffer commandBuffer
,
2988 VkPipelineStageFlags srcStageMask
,
2989 VkPipelineStageFlags destStageMask
,
2991 uint32_t memBarrierCount
,
2992 const void* const* ppMemBarriers
);
2994 VKAPI_ATTR
void VKAPI_CALL
vkCmdBeginQuery(
2995 VkCommandBuffer commandBuffer
,
2996 VkQueryPool queryPool
,
2998 VkQueryControlFlags flags
);
3000 VKAPI_ATTR
void VKAPI_CALL
vkCmdEndQuery(
3001 VkCommandBuffer commandBuffer
,
3002 VkQueryPool queryPool
,
3005 VKAPI_ATTR
void VKAPI_CALL
vkCmdResetQueryPool(
3006 VkCommandBuffer commandBuffer
,
3007 VkQueryPool queryPool
,
3008 uint32_t startQuery
,
3009 uint32_t queryCount
);
3011 VKAPI_ATTR
void VKAPI_CALL
vkCmdWriteTimestamp(
3012 VkCommandBuffer commandBuffer
,
3013 VkTimestampType timestampType
,
3014 VkBuffer destBuffer
,
3015 VkDeviceSize destOffset
);
3017 VKAPI_ATTR
void VKAPI_CALL
vkCmdCopyQueryPoolResults(
3018 VkCommandBuffer commandBuffer
,
3019 VkQueryPool queryPool
,
3020 uint32_t startQuery
,
3021 uint32_t queryCount
,
3023 VkDeviceSize dstOffset
,
3024 VkDeviceSize stride
,
3025 VkQueryResultFlags flags
);
3027 VKAPI_ATTR
void VKAPI_CALL
vkCmdPushConstants(
3028 VkCommandBuffer commandBuffer
,
3029 VkPipelineLayout layout
,
3030 VkShaderStageFlags stageFlags
,
3033 const void* pValues
);
3035 VKAPI_ATTR
void VKAPI_CALL
vkCmdBeginRenderPass(
3036 VkCommandBuffer commandBuffer
,
3037 const VkRenderPassBeginInfo
* pRenderPassBegin
,
3038 VkSubpassContents contents
);
3040 VKAPI_ATTR
void VKAPI_CALL
vkCmdNextSubpass(
3041 VkCommandBuffer commandBuffer
,
3042 VkSubpassContents contents
);
3044 VKAPI_ATTR
void VKAPI_CALL
vkCmdEndRenderPass(
3045 VkCommandBuffer commandBuffer
);
3047 VKAPI_ATTR
void VKAPI_CALL
vkCmdExecuteCommands(
3048 VkCommandBuffer commandBuffer
,
3049 uint32_t commandBuffersCount
,
3050 const VkCommandBuffer
* pCommandBuffers
);