comparison src/vulkan.nim @ 0:5daf3f236d87

add: initial version
author Sam <sam@basx.dev>
date Wed, 14 Dec 2022 00:49:35 +0700
parents
children bb2a7d3a7003
comparison
equal deleted inserted replaced
-1:000000000000 0:5daf3f236d87
1 # Written by Leonardo Mariscal <leo@ldmd.mx>, 2019
2
3 ## Vulkan Bindings
4 ## ====
5 ## WARNING: This is a generated file. Do not edit
6 ## Any edits will be overwritten by the generator.
7 import x11/xlib
8 import x11/x
9
10 var vkGetProc: proc(procName: cstring): pointer {.cdecl.}
11
12 import dynlib
13
14 when defined(windows):
15 {. emit: """#define VK_USE_PLATFORM_WIN32_KHR""" .}
16 const vkDLL = "vulkan-1.dll"
17 elif defined(linux):
18 {.passl: gorge("pkg-config --libs vulkan").}
19 {. emit: """#define VK_USE_PLATFORM_X11_KHR""" .}
20 const vkDLL = "libvulkan.so.1"
21 else:
22 raise quit("Unsupported platform")
23
24 let vkHandleDLL = loadLib(vkDLL)
25 if isNil(vkHandleDLL):
26 quit("could not load: " & vkDLL)
27
28 let vkGetProcAddress = cast[proc(s: cstring): pointer {.stdcall.}](symAddr(vkHandleDLL, "vkGetInstanceProcAddr"))
29 if vkGetProcAddress == nil:
30 quit("failed to load `vkGetInstanceProcAddr` from " & vkDLL)
31
32 vkGetProc = proc(procName: cstring): pointer {.cdecl.} =
33 when defined(windows):
34 result = vkGetProcAddress(procName)
35 if result != nil:
36 return
37 result = symAddr(vkHandleDLL, procName)
38 if result == nil:
39 raiseInvalidLibrary(procName)
40
41 proc setVKGetProc*(getProc: proc(procName: cstring): pointer {.cdecl.}) =
42 vkGetProc = getProc
43
44 type
45 VkHandle* = int64
46 VkNonDispatchableHandle* = int64
47 ANativeWindow = ptr object
48 CAMetalLayer = ptr object
49 AHardwareBuffer = ptr object
50
51 # Enums
52 const
53 VK_MAX_PHYSICAL_DEVICE_NAME_SIZE* = 256
54 VK_UUID_SIZE* = 16
55 VK_LUID_SIZE* = 8
56 VK_LUID_SIZE_KHR* = VK_LUID_SIZE
57 VK_MAX_EXTENSION_NAME_SIZE* = 256
58 VK_MAX_DESCRIPTION_SIZE* = 256
59 VK_MAX_MEMORY_TYPES* = 32
60 VK_MAX_MEMORY_HEAPS* = 16
61 VK_LOD_CLAMP_NONE* = 1000.0f
62 VK_REMAINING_MIP_LEVELS* = (not 0'u32)
63 VK_REMAINING_ARRAY_LAYERS* = (not 0'u32)
64 VK_WHOLE_SIZE* = (not 0'u64)
65 VK_ATTACHMENT_UNUSED* = (not 0'u32)
66 VK_TRUE* = 1
67 VK_FALSE* = 0
68 VK_QUEUE_FAMILY_IGNORED* = (not 0'u32)
69 VK_QUEUE_FAMILY_EXTERNAL* = (not 0'u32) - 1
70 VK_QUEUE_FAMILY_EXTERNAL_KHR* = VK_QUEUE_FAMILY_EXTERNAL
71 VK_QUEUE_FAMILY_FOREIGN_EXT* = (not 0'u32) - 2
72 VK_SUBPASS_EXTERNAL* = (not 0'u32)
73 VK_MAX_DEVICE_GROUP_SIZE* = 32
74 VK_MAX_DEVICE_GROUP_SIZE_KHR* = VK_MAX_DEVICE_GROUP_SIZE
75 VK_MAX_DRIVER_NAME_SIZE* = 256
76 VK_MAX_DRIVER_NAME_SIZE_KHR* = VK_MAX_DRIVER_NAME_SIZE
77 VK_MAX_DRIVER_INFO_SIZE* = 256
78 VK_MAX_DRIVER_INFO_SIZE_KHR* = VK_MAX_DRIVER_INFO_SIZE
79 VK_SHADER_UNUSED_KHR* = (not 0'u32)
80 VK_SHADER_UNUSED_NV* = VK_SHADER_UNUSED_KHR
81
82 type
83 VkImageLayout* {.size: int32.sizeof.} = enum
84 VK_IMAGE_LAYOUT_UNDEFINED = 0
85 VK_IMAGE_LAYOUT_GENERAL = 1
86 VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL = 2
87 VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL = 3
88 VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL = 4
89 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL = 5
90 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL = 6
91 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL = 7
92 VK_IMAGE_LAYOUT_PREINITIALIZED = 8
93 VkAttachmentLoadOp* {.size: int32.sizeof.} = enum
94 VK_ATTACHMENT_LOAD_OP_LOAD = 0
95 VK_ATTACHMENT_LOAD_OP_CLEAR = 1
96 VK_ATTACHMENT_LOAD_OP_DONT_CARE = 2
97 VkAttachmentStoreOp* {.size: int32.sizeof.} = enum
98 VK_ATTACHMENT_STORE_OP_STORE = 0
99 VK_ATTACHMENT_STORE_OP_DONT_CARE = 1
100 VkImageType* {.size: int32.sizeof.} = enum
101 VK_IMAGE_TYPE_1D = 0
102 VK_IMAGE_TYPE_2D = 1
103 VK_IMAGE_TYPE_3D = 2
104 VkImageTiling* {.size: int32.sizeof.} = enum
105 VK_IMAGE_TILING_OPTIMAL = 0
106 VK_IMAGE_TILING_LINEAR = 1
107 VkImageViewType* {.size: int32.sizeof.} = enum
108 VK_IMAGE_VIEW_TYPE_1D = 0
109 VK_IMAGE_VIEW_TYPE_2D = 1
110 VK_IMAGE_VIEW_TYPE_3D = 2
111 VK_IMAGE_VIEW_TYPE_CUBE = 3
112 VK_IMAGE_VIEW_TYPE_1D_ARRAY = 4
113 VK_IMAGE_VIEW_TYPE_2D_ARRAY = 5
114 VK_IMAGE_VIEW_TYPE_CUBE_ARRAY = 6
115 VkCommandBufferLevel* {.size: int32.sizeof.} = enum
116 VK_COMMAND_BUFFER_LEVEL_PRIMARY = 0
117 VK_COMMAND_BUFFER_LEVEL_SECONDARY = 1
118 VkComponentSwizzle* {.size: int32.sizeof.} = enum
119 VK_COMPONENT_SWIZZLE_IDENTITY = 0
120 VK_COMPONENT_SWIZZLE_ZERO = 1
121 VK_COMPONENT_SWIZZLE_ONE = 2
122 VK_COMPONENT_SWIZZLE_R = 3
123 VK_COMPONENT_SWIZZLE_G = 4
124 VK_COMPONENT_SWIZZLE_B = 5
125 VK_COMPONENT_SWIZZLE_A = 6
126 VkDescriptorType* {.size: int32.sizeof.} = enum
127 VK_DESCRIPTOR_TYPE_SAMPLER = 0
128 VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER = 1
129 VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE = 2
130 VK_DESCRIPTOR_TYPE_STORAGE_IMAGE = 3
131 VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER = 4
132 VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER = 5
133 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER = 6
134 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER = 7
135 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC = 8
136 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC = 9
137 VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT = 10
138 VkQueryType* {.size: int32.sizeof.} = enum
139 VK_QUERY_TYPE_OCCLUSION = 0
140 VK_QUERY_TYPE_PIPELINE_STATISTICS = 1
141 VK_QUERY_TYPE_TIMESTAMP = 2
142 VkBorderColor* {.size: int32.sizeof.} = enum
143 VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK = 0
144 VK_BORDER_COLOR_INT_TRANSPARENT_BLACK = 1
145 VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK = 2
146 VK_BORDER_COLOR_INT_OPAQUE_BLACK = 3
147 VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE = 4
148 VK_BORDER_COLOR_INT_OPAQUE_WHITE = 5
149 VkPipelineBindPoint* {.size: int32.sizeof.} = enum
150 VK_PIPELINE_BIND_POINT_GRAPHICS = 0
151 VK_PIPELINE_BIND_POINT_COMPUTE = 1
152 VkPipelineCacheHeaderVersion* {.size: int32.sizeof.} = enum
153 VK_PIPELINE_CACHE_HEADER_VERSION_ONE = 1
154 VkPrimitiveTopology* {.size: int32.sizeof.} = enum
155 VK_PRIMITIVE_TOPOLOGY_POINT_LIST = 0
156 VK_PRIMITIVE_TOPOLOGY_LINE_LIST = 1
157 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP = 2
158 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST = 3
159 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP = 4
160 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN = 5
161 VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY = 6
162 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY = 7
163 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY = 8
164 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY = 9
165 VK_PRIMITIVE_TOPOLOGY_PATCH_LIST = 10
166 VkSharingMode* {.size: int32.sizeof.} = enum
167 VK_SHARING_MODE_EXCLUSIVE = 0
168 VK_SHARING_MODE_CONCURRENT = 1
169 VkIndexType* {.size: int32.sizeof.} = enum
170 VK_INDEX_TYPE_UINT16 = 0
171 VK_INDEX_TYPE_UINT32 = 1
172 VkFilter* {.size: int32.sizeof.} = enum
173 VK_FILTER_NEAREST = 0
174 VK_FILTER_LINEAR = 1
175 VkSamplerMipmapMode* {.size: int32.sizeof.} = enum
176 VK_SAMPLER_MIPMAP_MODE_NEAREST = 0
177 VK_SAMPLER_MIPMAP_MODE_LINEAR = 1
178 VkSamplerAddressMode* {.size: int32.sizeof.} = enum
179 VK_SAMPLER_ADDRESS_MODE_REPEAT = 0
180 VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT = 1
181 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = 2
182 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3
183 VkCompareOp* {.size: int32.sizeof.} = enum
184 VK_COMPARE_OP_NEVER = 0
185 VK_COMPARE_OP_LESS = 1
186 VK_COMPARE_OP_EQUAL = 2
187 VK_COMPARE_OP_LESS_OR_EQUAL = 3
188 VK_COMPARE_OP_GREATER = 4
189 VK_COMPARE_OP_NOT_EQUAL = 5
190 VK_COMPARE_OP_GREATER_OR_EQUAL = 6
191 VK_COMPARE_OP_ALWAYS = 7
192 VkPolygonMode* {.size: int32.sizeof.} = enum
193 VK_POLYGON_MODE_FILL = 0
194 VK_POLYGON_MODE_LINE = 1
195 VK_POLYGON_MODE_POINT = 2
196 VkCullModeFlagBits* {.size: int32.sizeof.} = enum
197 VK_CULL_MODE_NONE = 0
198 VK_CULL_MODE_FRONT_BIT = 1
199 VK_CULL_MODE_BACK_BIT = 2
200 VK_CULL_MODE_FRONT_AND_BACK = 3
201 VkFrontFace* {.size: int32.sizeof.} = enum
202 VK_FRONT_FACE_COUNTER_CLOCKWISE = 0
203 VK_FRONT_FACE_CLOCKWISE = 1
204 VkBlendFactor* {.size: int32.sizeof.} = enum
205 VK_BLEND_FACTOR_ZERO = 0
206 VK_BLEND_FACTOR_ONE = 1
207 VK_BLEND_FACTOR_SRC_COLOR = 2
208 VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR = 3
209 VK_BLEND_FACTOR_DST_COLOR = 4
210 VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR = 5
211 VK_BLEND_FACTOR_SRC_ALPHA = 6
212 VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA = 7
213 VK_BLEND_FACTOR_DST_ALPHA = 8
214 VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA = 9
215 VK_BLEND_FACTOR_CONSTANT_COLOR = 10
216 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR = 11
217 VK_BLEND_FACTOR_CONSTANT_ALPHA = 12
218 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA = 13
219 VK_BLEND_FACTOR_SRC_ALPHA_SATURATE = 14
220 VK_BLEND_FACTOR_SRC1_COLOR = 15
221 VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR = 16
222 VK_BLEND_FACTOR_SRC1_ALPHA = 17
223 VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA = 18
224 VkBlendOp* {.size: int32.sizeof.} = enum
225 VK_BLEND_OP_ADD = 0
226 VK_BLEND_OP_SUBTRACT = 1
227 VK_BLEND_OP_REVERSE_SUBTRACT = 2
228 VK_BLEND_OP_MIN = 3
229 VK_BLEND_OP_MAX = 4
230 VkStencilOp* {.size: int32.sizeof.} = enum
231 VK_STENCIL_OP_KEEP = 0
232 VK_STENCIL_OP_ZERO = 1
233 VK_STENCIL_OP_REPLACE = 2
234 VK_STENCIL_OP_INCREMENT_AND_CLAMP = 3
235 VK_STENCIL_OP_DECREMENT_AND_CLAMP = 4
236 VK_STENCIL_OP_INVERT = 5
237 VK_STENCIL_OP_INCREMENT_AND_WRAP = 6
238 VK_STENCIL_OP_DECREMENT_AND_WRAP = 7
239 VkLogicOp* {.size: int32.sizeof.} = enum
240 VK_LOGIC_OP_CLEAR = 0
241 VK_LOGIC_OP_AND = 1
242 VK_LOGIC_OP_AND_REVERSE = 2
243 VK_LOGIC_OP_COPY = 3
244 VK_LOGIC_OP_AND_INVERTED = 4
245 VK_LOGIC_OP_NO_OP = 5
246 VK_LOGIC_OP_XOR = 6
247 VK_LOGIC_OP_OR = 7
248 VK_LOGIC_OP_NOR = 8
249 VK_LOGIC_OP_EQUIVALENT = 9
250 VK_LOGIC_OP_INVERT = 10
251 VK_LOGIC_OP_OR_REVERSE = 11
252 VK_LOGIC_OP_COPY_INVERTED = 12
253 VK_LOGIC_OP_OR_INVERTED = 13
254 VK_LOGIC_OP_NAND = 14
255 VK_LOGIC_OP_SET = 15
256 VkInternalAllocationType* {.size: int32.sizeof.} = enum
257 VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE = 0
258 VkSystemAllocationScope* {.size: int32.sizeof.} = enum
259 VK_SYSTEM_ALLOCATION_SCOPE_COMMAND = 0
260 VK_SYSTEM_ALLOCATION_SCOPE_OBJECT = 1
261 VK_SYSTEM_ALLOCATION_SCOPE_CACHE = 2
262 VK_SYSTEM_ALLOCATION_SCOPE_DEVICE = 3
263 VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE = 4
264 VkPhysicalDeviceType* {.size: int32.sizeof.} = enum
265 VK_PHYSICAL_DEVICE_TYPE_OTHER = 0
266 VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU = 1
267 VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU = 2
268 VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU = 3
269 VK_PHYSICAL_DEVICE_TYPE_CPU = 4
270 VkVertexInputRate* {.size: int32.sizeof.} = enum
271 VK_VERTEX_INPUT_RATE_VERTEX = 0
272 VK_VERTEX_INPUT_RATE_INSTANCE = 1
273 VkFormat* {.size: int32.sizeof.} = enum
274 VK_FORMAT_UNDEFINED = 0
275 VK_FORMAT_R4G4_UNORM_PACK8 = 1
276 VK_FORMAT_R4G4B4A4_UNORM_PACK16 = 2
277 VK_FORMAT_B4G4R4A4_UNORM_PACK16 = 3
278 VK_FORMAT_R5G6B5_UNORM_PACK16 = 4
279 VK_FORMAT_B5G6R5_UNORM_PACK16 = 5
280 VK_FORMAT_R5G5B5A1_UNORM_PACK16 = 6
281 VK_FORMAT_B5G5R5A1_UNORM_PACK16 = 7
282 VK_FORMAT_A1R5G5B5_UNORM_PACK16 = 8
283 VK_FORMAT_R8_UNORM = 9
284 VK_FORMAT_R8_SNORM = 10
285 VK_FORMAT_R8_USCALED = 11
286 VK_FORMAT_R8_SSCALED = 12
287 VK_FORMAT_R8_UINT = 13
288 VK_FORMAT_R8_SINT = 14
289 VK_FORMAT_R8_SRGB = 15
290 VK_FORMAT_R8G8_UNORM = 16
291 VK_FORMAT_R8G8_SNORM = 17
292 VK_FORMAT_R8G8_USCALED = 18
293 VK_FORMAT_R8G8_SSCALED = 19
294 VK_FORMAT_R8G8_UINT = 20
295 VK_FORMAT_R8G8_SINT = 21
296 VK_FORMAT_R8G8_SRGB = 22
297 VK_FORMAT_R8G8B8_UNORM = 23
298 VK_FORMAT_R8G8B8_SNORM = 24
299 VK_FORMAT_R8G8B8_USCALED = 25
300 VK_FORMAT_R8G8B8_SSCALED = 26
301 VK_FORMAT_R8G8B8_UINT = 27
302 VK_FORMAT_R8G8B8_SINT = 28
303 VK_FORMAT_R8G8B8_SRGB = 29
304 VK_FORMAT_B8G8R8_UNORM = 30
305 VK_FORMAT_B8G8R8_SNORM = 31
306 VK_FORMAT_B8G8R8_USCALED = 32
307 VK_FORMAT_B8G8R8_SSCALED = 33
308 VK_FORMAT_B8G8R8_UINT = 34
309 VK_FORMAT_B8G8R8_SINT = 35
310 VK_FORMAT_B8G8R8_SRGB = 36
311 VK_FORMAT_R8G8B8A8_UNORM = 37
312 VK_FORMAT_R8G8B8A8_SNORM = 38
313 VK_FORMAT_R8G8B8A8_USCALED = 39
314 VK_FORMAT_R8G8B8A8_SSCALED = 40
315 VK_FORMAT_R8G8B8A8_UINT = 41
316 VK_FORMAT_R8G8B8A8_SINT = 42
317 VK_FORMAT_R8G8B8A8_SRGB = 43
318 VK_FORMAT_B8G8R8A8_UNORM = 44
319 VK_FORMAT_B8G8R8A8_SNORM = 45
320 VK_FORMAT_B8G8R8A8_USCALED = 46
321 VK_FORMAT_B8G8R8A8_SSCALED = 47
322 VK_FORMAT_B8G8R8A8_UINT = 48
323 VK_FORMAT_B8G8R8A8_SINT = 49
324 VK_FORMAT_B8G8R8A8_SRGB = 50
325 VK_FORMAT_A8B8G8R8_UNORM_PACK32 = 51
326 VK_FORMAT_A8B8G8R8_SNORM_PACK32 = 52
327 VK_FORMAT_A8B8G8R8_USCALED_PACK32 = 53
328 VK_FORMAT_A8B8G8R8_SSCALED_PACK32 = 54
329 VK_FORMAT_A8B8G8R8_UINT_PACK32 = 55
330 VK_FORMAT_A8B8G8R8_SINT_PACK32 = 56
331 VK_FORMAT_A8B8G8R8_SRGB_PACK32 = 57
332 VK_FORMAT_A2R10G10B10_UNORM_PACK32 = 58
333 VK_FORMAT_A2R10G10B10_SNORM_PACK32 = 59
334 VK_FORMAT_A2R10G10B10_USCALED_PACK32 = 60
335 VK_FORMAT_A2R10G10B10_SSCALED_PACK32 = 61
336 VK_FORMAT_A2R10G10B10_UINT_PACK32 = 62
337 VK_FORMAT_A2R10G10B10_SINT_PACK32 = 63
338 VK_FORMAT_A2B10G10R10_UNORM_PACK32 = 64
339 VK_FORMAT_A2B10G10R10_SNORM_PACK32 = 65
340 VK_FORMAT_A2B10G10R10_USCALED_PACK32 = 66
341 VK_FORMAT_A2B10G10R10_SSCALED_PACK32 = 67
342 VK_FORMAT_A2B10G10R10_UINT_PACK32 = 68
343 VK_FORMAT_A2B10G10R10_SINT_PACK32 = 69
344 VK_FORMAT_R16_UNORM = 70
345 VK_FORMAT_R16_SNORM = 71
346 VK_FORMAT_R16_USCALED = 72
347 VK_FORMAT_R16_SSCALED = 73
348 VK_FORMAT_R16_UINT = 74
349 VK_FORMAT_R16_SINT = 75
350 VK_FORMAT_R16_SFLOAT = 76
351 VK_FORMAT_R16G16_UNORM = 77
352 VK_FORMAT_R16G16_SNORM = 78
353 VK_FORMAT_R16G16_USCALED = 79
354 VK_FORMAT_R16G16_SSCALED = 80
355 VK_FORMAT_R16G16_UINT = 81
356 VK_FORMAT_R16G16_SINT = 82
357 VK_FORMAT_R16G16_SFLOAT = 83
358 VK_FORMAT_R16G16B16_UNORM = 84
359 VK_FORMAT_R16G16B16_SNORM = 85
360 VK_FORMAT_R16G16B16_USCALED = 86
361 VK_FORMAT_R16G16B16_SSCALED = 87
362 VK_FORMAT_R16G16B16_UINT = 88
363 VK_FORMAT_R16G16B16_SINT = 89
364 VK_FORMAT_R16G16B16_SFLOAT = 90
365 VK_FORMAT_R16G16B16A16_UNORM = 91
366 VK_FORMAT_R16G16B16A16_SNORM = 92
367 VK_FORMAT_R16G16B16A16_USCALED = 93
368 VK_FORMAT_R16G16B16A16_SSCALED = 94
369 VK_FORMAT_R16G16B16A16_UINT = 95
370 VK_FORMAT_R16G16B16A16_SINT = 96
371 VK_FORMAT_R16G16B16A16_SFLOAT = 97
372 VK_FORMAT_R32_UINT = 98
373 VK_FORMAT_R32_SINT = 99
374 VK_FORMAT_R32_SFLOAT = 100
375 VK_FORMAT_R32G32_UINT = 101
376 VK_FORMAT_R32G32_SINT = 102
377 VK_FORMAT_R32G32_SFLOAT = 103
378 VK_FORMAT_R32G32B32_UINT = 104
379 VK_FORMAT_R32G32B32_SINT = 105
380 VK_FORMAT_R32G32B32_SFLOAT = 106
381 VK_FORMAT_R32G32B32A32_UINT = 107
382 VK_FORMAT_R32G32B32A32_SINT = 108
383 VK_FORMAT_R32G32B32A32_SFLOAT = 109
384 VK_FORMAT_R64_UINT = 110
385 VK_FORMAT_R64_SINT = 111
386 VK_FORMAT_R64_SFLOAT = 112
387 VK_FORMAT_R64G64_UINT = 113
388 VK_FORMAT_R64G64_SINT = 114
389 VK_FORMAT_R64G64_SFLOAT = 115
390 VK_FORMAT_R64G64B64_UINT = 116
391 VK_FORMAT_R64G64B64_SINT = 117
392 VK_FORMAT_R64G64B64_SFLOAT = 118
393 VK_FORMAT_R64G64B64A64_UINT = 119
394 VK_FORMAT_R64G64B64A64_SINT = 120
395 VK_FORMAT_R64G64B64A64_SFLOAT = 121
396 VK_FORMAT_B10G11R11_UFLOAT_PACK32 = 122
397 VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 = 123
398 VK_FORMAT_D16_UNORM = 124
399 VK_FORMAT_X8_D24_UNORM_PACK32 = 125
400 VK_FORMAT_D32_SFLOAT = 126
401 VK_FORMAT_S8_UINT = 127
402 VK_FORMAT_D16_UNORM_S8_UINT = 128
403 VK_FORMAT_D24_UNORM_S8_UINT = 129
404 VK_FORMAT_D32_SFLOAT_S8_UINT = 130
405 VK_FORMAT_BC1_RGB_UNORM_BLOCK = 131
406 VK_FORMAT_BC1_RGB_SRGB_BLOCK = 132
407 VK_FORMAT_BC1_RGBA_UNORM_BLOCK = 133
408 VK_FORMAT_BC1_RGBA_SRGB_BLOCK = 134
409 VK_FORMAT_BC2_UNORM_BLOCK = 135
410 VK_FORMAT_BC2_SRGB_BLOCK = 136
411 VK_FORMAT_BC3_UNORM_BLOCK = 137
412 VK_FORMAT_BC3_SRGB_BLOCK = 138
413 VK_FORMAT_BC4_UNORM_BLOCK = 139
414 VK_FORMAT_BC4_SNORM_BLOCK = 140
415 VK_FORMAT_BC5_UNORM_BLOCK = 141
416 VK_FORMAT_BC5_SNORM_BLOCK = 142
417 VK_FORMAT_BC6H_UFLOAT_BLOCK = 143
418 VK_FORMAT_BC6H_SFLOAT_BLOCK = 144
419 VK_FORMAT_BC7_UNORM_BLOCK = 145
420 VK_FORMAT_BC7_SRGB_BLOCK = 146
421 VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK = 147
422 VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK = 148
423 VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK = 149
424 VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK = 150
425 VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK = 151
426 VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK = 152
427 VK_FORMAT_EAC_R11_UNORM_BLOCK = 153
428 VK_FORMAT_EAC_R11_SNORM_BLOCK = 154
429 VK_FORMAT_EAC_R11G11_UNORM_BLOCK = 155
430 VK_FORMAT_EAC_R11G11_SNORM_BLOCK = 156
431 VK_FORMAT_ASTC_4x4_UNORM_BLOCK = 157
432 VK_FORMAT_ASTC_4x4_SRGB_BLOCK = 158
433 VK_FORMAT_ASTC_5x4_UNORM_BLOCK = 159
434 VK_FORMAT_ASTC_5x4_SRGB_BLOCK = 160
435 VK_FORMAT_ASTC_5x5_UNORM_BLOCK = 161
436 VK_FORMAT_ASTC_5x5_SRGB_BLOCK = 162
437 VK_FORMAT_ASTC_6x5_UNORM_BLOCK = 163
438 VK_FORMAT_ASTC_6x5_SRGB_BLOCK = 164
439 VK_FORMAT_ASTC_6x6_UNORM_BLOCK = 165
440 VK_FORMAT_ASTC_6x6_SRGB_BLOCK = 166
441 VK_FORMAT_ASTC_8x5_UNORM_BLOCK = 167
442 VK_FORMAT_ASTC_8x5_SRGB_BLOCK = 168
443 VK_FORMAT_ASTC_8x6_UNORM_BLOCK = 169
444 VK_FORMAT_ASTC_8x6_SRGB_BLOCK = 170
445 VK_FORMAT_ASTC_8x8_UNORM_BLOCK = 171
446 VK_FORMAT_ASTC_8x8_SRGB_BLOCK = 172
447 VK_FORMAT_ASTC_10x5_UNORM_BLOCK = 173
448 VK_FORMAT_ASTC_10x5_SRGB_BLOCK = 174
449 VK_FORMAT_ASTC_10x6_UNORM_BLOCK = 175
450 VK_FORMAT_ASTC_10x6_SRGB_BLOCK = 176
451 VK_FORMAT_ASTC_10x8_UNORM_BLOCK = 177
452 VK_FORMAT_ASTC_10x8_SRGB_BLOCK = 178
453 VK_FORMAT_ASTC_10x10_UNORM_BLOCK = 179
454 VK_FORMAT_ASTC_10x10_SRGB_BLOCK = 180
455 VK_FORMAT_ASTC_12x10_UNORM_BLOCK = 181
456 VK_FORMAT_ASTC_12x10_SRGB_BLOCK = 182
457 VK_FORMAT_ASTC_12x12_UNORM_BLOCK = 183
458 VK_FORMAT_ASTC_12x12_SRGB_BLOCK = 184
459 VkStructureType* {.size: int32.sizeof.} = enum
460 VK_STRUCTURE_TYPE_APPLICATION_INFO = 0
461 VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO = 1
462 VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO = 2
463 VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO = 3
464 VK_STRUCTURE_TYPE_SUBMIT_INFO = 4
465 VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO = 5
466 VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE = 6
467 VK_STRUCTURE_TYPE_BIND_SPARSE_INFO = 7
468 VK_STRUCTURE_TYPE_FENCE_CREATE_INFO = 8
469 VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO = 9
470 VK_STRUCTURE_TYPE_EVENT_CREATE_INFO = 10
471 VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO = 11
472 VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO = 12
473 VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO = 13
474 VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO = 14
475 VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO = 15
476 VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO = 16
477 VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO = 17
478 VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO = 18
479 VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO = 19
480 VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO = 20
481 VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO = 21
482 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO = 22
483 VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO = 23
484 VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO = 24
485 VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO = 25
486 VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO = 26
487 VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO = 27
488 VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO = 28
489 VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO = 29
490 VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO = 30
491 VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO = 31
492 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO = 32
493 VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO = 33
494 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO = 34
495 VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET = 35
496 VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET = 36
497 VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO = 37
498 VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO = 38
499 VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO = 39
500 VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO = 40
501 VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO = 41
502 VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO = 42
503 VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO = 43
504 VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER = 44
505 VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER = 45
506 VK_STRUCTURE_TYPE_MEMORY_BARRIER = 46
507 VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO = 47
508 VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO = 48
509 VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR = 1000001000 # added by sam
510 VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR = 1000004000 # added by sam
511 VkSubpassContents* {.size: int32.sizeof.} = enum
512 VK_SUBPASS_CONTENTS_INLINE = 0
513 VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS = 1
514 VkResult* {.size: int32.sizeof.} = enum
515 VK_ERROR_UNKNOWN = -13
516 VK_ERROR_FRAGMENTED_POOL = -12
517 VK_ERROR_FORMAT_NOT_SUPPORTED = -11
518 VK_ERROR_TOO_MANY_OBJECTS = -10
519 VK_ERROR_INCOMPATIBLE_DRIVER = -9
520 VK_ERROR_FEATURE_NOT_PRESENT = -8
521 VK_ERROR_EXTENSION_NOT_PRESENT = -7
522 VK_ERROR_LAYER_NOT_PRESENT = -6
523 VK_ERROR_MEMORY_MAP_FAILED = -5
524 VK_ERROR_DEVICE_LOST = -4
525 VK_ERROR_INITIALIZATION_FAILED = -3
526 VK_ERROR_OUT_OF_DEVICE_MEMORY = -2
527 VK_ERROR_OUT_OF_HOST_MEMORY = -1
528 VK_SUCCESS = 0
529 VK_NOT_READY = 1
530 VK_TIMEOUT = 2
531 VK_EVENT_SET = 3
532 VK_EVENT_RESET = 4
533 VK_INCOMPLETE = 5
534 VkDynamicState* {.size: int32.sizeof.} = enum
535 VK_DYNAMIC_STATE_VIEWPORT = 0
536 VK_DYNAMIC_STATE_SCISSOR = 1
537 VK_DYNAMIC_STATE_LINE_WIDTH = 2
538 VK_DYNAMIC_STATE_DEPTH_BIAS = 3
539 VK_DYNAMIC_STATE_BLEND_CONSTANTS = 4
540 VK_DYNAMIC_STATE_DEPTH_BOUNDS = 5
541 VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK = 6
542 VK_DYNAMIC_STATE_STENCIL_WRITE_MASK = 7
543 VK_DYNAMIC_STATE_STENCIL_REFERENCE = 8
544 VkDescriptorUpdateTemplateType* {.size: int32.sizeof.} = enum
545 VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET = 0
546 VkObjectType* {.size: int32.sizeof.} = enum
547 VK_OBJECT_TYPE_UNKNOWN = 0
548 VK_OBJECT_TYPE_INSTANCE = 1
549 VK_OBJECT_TYPE_PHYSICAL_DEVICE = 2
550 VK_OBJECT_TYPE_DEVICE = 3
551 VK_OBJECT_TYPE_QUEUE = 4
552 VK_OBJECT_TYPE_SEMAPHORE = 5
553 VK_OBJECT_TYPE_COMMAND_BUFFER = 6
554 VK_OBJECT_TYPE_FENCE = 7
555 VK_OBJECT_TYPE_DEVICE_MEMORY = 8
556 VK_OBJECT_TYPE_BUFFER = 9
557 VK_OBJECT_TYPE_IMAGE = 10
558 VK_OBJECT_TYPE_EVENT = 11
559 VK_OBJECT_TYPE_QUERY_POOL = 12
560 VK_OBJECT_TYPE_BUFFER_VIEW = 13
561 VK_OBJECT_TYPE_IMAGE_VIEW = 14
562 VK_OBJECT_TYPE_SHADER_MODULE = 15
563 VK_OBJECT_TYPE_PIPELINE_CACHE = 16
564 VK_OBJECT_TYPE_PIPELINE_LAYOUT = 17
565 VK_OBJECT_TYPE_RENDER_PASS = 18
566 VK_OBJECT_TYPE_PIPELINE = 19
567 VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT = 20
568 VK_OBJECT_TYPE_SAMPLER = 21
569 VK_OBJECT_TYPE_DESCRIPTOR_POOL = 22
570 VK_OBJECT_TYPE_DESCRIPTOR_SET = 23
571 VK_OBJECT_TYPE_FRAMEBUFFER = 24
572 VK_OBJECT_TYPE_COMMAND_POOL = 25
573 VkQueueFlagBits* {.size: int32.sizeof.} = enum
574 VK_QUEUE_GRAPHICS_BIT = 1
575 VK_QUEUE_COMPUTE_BIT = 2
576 VK_QUEUE_TRANSFER_BIT = 4
577 VK_QUEUE_SPARSE_BINDING_BIT = 8
578 VkMemoryPropertyFlagBits* {.size: int32.sizeof.} = enum
579 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT = 1
580 VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT = 2
581 VK_MEMORY_PROPERTY_HOST_COHERENT_BIT = 4
582 VK_MEMORY_PROPERTY_HOST_CACHED_BIT = 8
583 VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT = 16
584 VkMemoryHeapFlagBits* {.size: int32.sizeof.} = enum
585 VK_MEMORY_HEAP_DEVICE_LOCAL_BIT = 1
586 VkAccessFlagBits* {.size: int32.sizeof.} = enum
587 VK_ACCESS_INDIRECT_COMMAND_READ_BIT = 1
588 VK_ACCESS_INDEX_READ_BIT = 2
589 VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT = 4
590 VK_ACCESS_UNIFORM_READ_BIT = 8
591 VK_ACCESS_INPUT_ATTACHMENT_READ_BIT = 16
592 VK_ACCESS_SHADER_READ_BIT = 32
593 VK_ACCESS_SHADER_WRITE_BIT = 64
594 VK_ACCESS_COLOR_ATTACHMENT_READ_BIT = 128
595 VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT = 256
596 VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT = 512
597 VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT = 1024
598 VK_ACCESS_TRANSFER_READ_BIT = 2048
599 VK_ACCESS_TRANSFER_WRITE_BIT = 4096
600 VK_ACCESS_HOST_READ_BIT = 8192
601 VK_ACCESS_HOST_WRITE_BIT = 16384
602 VK_ACCESS_MEMORY_READ_BIT = 32768
603 VK_ACCESS_MEMORY_WRITE_BIT = 65536
604 VkBufferUsageFlagBits* {.size: int32.sizeof.} = enum
605 VK_BUFFER_USAGE_TRANSFER_SRC_BIT = 1
606 VK_BUFFER_USAGE_TRANSFER_DST_BIT = 2
607 VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT = 4
608 VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT = 8
609 VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT = 16
610 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT = 32
611 VK_BUFFER_USAGE_INDEX_BUFFER_BIT = 64
612 VK_BUFFER_USAGE_VERTEX_BUFFER_BIT = 128
613 VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT = 256
614 VkBufferCreateFlagBits* {.size: int32.sizeof.} = enum
615 VK_BUFFER_CREATE_SPARSE_BINDING_BIT = 1
616 VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT = 2
617 VK_BUFFER_CREATE_SPARSE_ALIASED_BIT = 4
618 VkShaderStageFlagBits* {.size: int32.sizeof.} = enum
619 VK_SHADER_STAGE_VERTEX_BIT = 1
620 VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT = 2
621 VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT = 4
622 VK_SHADER_STAGE_GEOMETRY_BIT = 8
623 VK_SHADER_STAGE_FRAGMENT_BIT = 16
624 VK_SHADER_STAGE_ALL_GRAPHICS = 31
625 VK_SHADER_STAGE_COMPUTE_BIT = 32
626 VK_SHADER_STAGE_ALL = 2147483647
627 VkImageUsageFlagBits* {.size: int32.sizeof.} = enum
628 VK_IMAGE_USAGE_TRANSFER_SRC_BIT = 1
629 VK_IMAGE_USAGE_TRANSFER_DST_BIT = 2
630 VK_IMAGE_USAGE_SAMPLED_BIT = 4
631 VK_IMAGE_USAGE_STORAGE_BIT = 8
632 VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT = 16
633 VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT = 32
634 VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT = 64
635 VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT = 128
636 VkImageCreateFlagBits* {.size: int32.sizeof.} = enum
637 VK_IMAGE_CREATE_SPARSE_BINDING_BIT = 1
638 VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT = 2
639 VK_IMAGE_CREATE_SPARSE_ALIASED_BIT = 4
640 VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT = 8
641 VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT = 16
642 VkPipelineCreateFlagBits* {.size: int32.sizeof.} = enum
643 VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT = 1
644 VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT = 2
645 VK_PIPELINE_CREATE_DERIVATIVE_BIT = 4
646 VkColorComponentFlagBits* {.size: int32.sizeof.} = enum
647 VK_COLOR_COMPONENT_R_BIT = 1
648 VK_COLOR_COMPONENT_G_BIT = 2
649 VK_COLOR_COMPONENT_B_BIT = 4
650 VK_COLOR_COMPONENT_A_BIT = 8
651 VkFenceCreateFlagBits* {.size: int32.sizeof.} = enum
652 VK_FENCE_CREATE_SIGNALED_BIT = 1
653 VkFormatFeatureFlagBits* {.size: int32.sizeof.} = enum
654 VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT = 1
655 VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT = 2
656 VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT = 4
657 VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT = 8
658 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT = 16
659 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT = 32
660 VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT = 64
661 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT = 128
662 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT = 256
663 VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT = 512
664 VK_FORMAT_FEATURE_BLIT_SRC_BIT = 1024
665 VK_FORMAT_FEATURE_BLIT_DST_BIT = 2048
666 VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT = 4096
667 VkQueryControlFlagBits* {.size: int32.sizeof.} = enum
668 VK_QUERY_CONTROL_PRECISE_BIT = 1
669 VkQueryResultFlagBits* {.size: int32.sizeof.} = enum
670 VK_QUERY_RESULT_64_BIT = 1
671 VK_QUERY_RESULT_WAIT_BIT = 2
672 VK_QUERY_RESULT_WITH_AVAILABILITY_BIT = 4
673 VK_QUERY_RESULT_PARTIAL_BIT = 8
674 VkCommandBufferUsageFlagBits* {.size: int32.sizeof.} = enum
675 VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT = 1
676 VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT = 2
677 VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT = 4
678 VkQueryPipelineStatisticFlagBits* {.size: int32.sizeof.} = enum
679 VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT = 1
680 VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT = 2
681 VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT = 4
682 VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT = 8
683 VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT = 16
684 VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT = 32
685 VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT = 64
686 VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT = 128
687 VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT = 256
688 VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT = 512
689 VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT = 1024
690 VkImageAspectFlagBits* {.size: int32.sizeof.} = enum
691 VK_IMAGE_ASPECT_COLOR_BIT = 1
692 VK_IMAGE_ASPECT_DEPTH_BIT = 2
693 VK_IMAGE_ASPECT_STENCIL_BIT = 4
694 VK_IMAGE_ASPECT_METADATA_BIT = 8
695 VkSparseImageFormatFlagBits* {.size: int32.sizeof.} = enum
696 VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT = 1
697 VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT = 2
698 VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT = 4
699 VkSparseMemoryBindFlagBits* {.size: int32.sizeof.} = enum
700 VK_SPARSE_MEMORY_BIND_METADATA_BIT = 1
701 VkPipelineStageFlagBits* {.size: int32.sizeof.} = enum
702 VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT = 1
703 VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT = 2
704 VK_PIPELINE_STAGE_VERTEX_INPUT_BIT = 4
705 VK_PIPELINE_STAGE_VERTEX_SHADER_BIT = 8
706 VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT = 16
707 VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT = 32
708 VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT = 64
709 VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT = 128
710 VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT = 256
711 VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT = 512
712 VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT = 1024
713 VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT = 2048
714 VK_PIPELINE_STAGE_TRANSFER_BIT = 4096
715 VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT = 8192
716 VK_PIPELINE_STAGE_HOST_BIT = 16384
717 VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT = 32768
718 VK_PIPELINE_STAGE_ALL_COMMANDS_BIT = 65536
719 VkCommandPoolCreateFlagBits* {.size: int32.sizeof.} = enum
720 VK_COMMAND_POOL_CREATE_TRANSIENT_BIT = 1
721 VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT = 2
722 VkCommandPoolResetFlagBits* {.size: int32.sizeof.} = enum
723 VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT = 1
724 VkCommandBufferResetFlagBits* {.size: int32.sizeof.} = enum
725 VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT = 1
726 VkSampleCountFlagBits* {.size: int32.sizeof.} = enum
727 VK_SAMPLE_COUNT_1_BIT = 1
728 VK_SAMPLE_COUNT_2_BIT = 2
729 VK_SAMPLE_COUNT_4_BIT = 4
730 VK_SAMPLE_COUNT_8_BIT = 8
731 VK_SAMPLE_COUNT_16_BIT = 16
732 VK_SAMPLE_COUNT_32_BIT = 32
733 VK_SAMPLE_COUNT_64_BIT = 64
734 VkAttachmentDescriptionFlagBits* {.size: int32.sizeof.} = enum
735 VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT = 1
736 VkStencilFaceFlagBits* {.size: int32.sizeof.} = enum
737 VK_STENCIL_FACE_FRONT_BIT = 1
738 VK_STENCIL_FACE_BACK_BIT = 2
739 VK_STENCIL_FACE_FRONT_AND_BACK = 3
740 VkDescriptorPoolCreateFlagBits* {.size: int32.sizeof.} = enum
741 VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT = 1
742 VkDependencyFlagBits* {.size: int32.sizeof.} = enum
743 VK_DEPENDENCY_BY_REGION_BIT = 1
744 VkSemaphoreType* {.size: int32.sizeof.} = enum
745 VK_SEMAPHORE_TYPE_BINARY = 0
746 VK_SEMAPHORE_TYPE_TIMELINE = 1
747 VkSemaphoreWaitFlagBits* {.size: int32.sizeof.} = enum
748 VK_SEMAPHORE_WAIT_ANY_BIT = 1
749 VkPresentModeKHR* {.size: int32.sizeof.} = enum
750 VK_PRESENT_MODE_IMMEDIATE_KHR = 0
751 VK_PRESENT_MODE_MAILBOX_KHR = 1
752 VK_PRESENT_MODE_FIFO_KHR = 2
753 VK_PRESENT_MODE_FIFO_RELAXED_KHR = 3
754 VkColorSpaceKHR* {.size: int32.sizeof.} = enum
755 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR = 0
756 VkDisplayPlaneAlphaFlagBitsKHR* {.size: int32.sizeof.} = enum
757 VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR = 1
758 VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR = 2
759 VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR = 4
760 VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR = 8
761 VkCompositeAlphaFlagBitsKHR* {.size: int32.sizeof.} = enum
762 VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR = 1
763 VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR = 2
764 VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR = 4
765 VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR = 8
766 VkSurfaceTransformFlagBitsKHR* {.size: int32.sizeof.} = enum
767 VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR = 1
768 VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR = 2
769 VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR = 4
770 VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR = 8
771 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR = 16
772 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR = 32
773 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR = 64
774 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR = 128
775 VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR = 256
776 VkSwapchainImageUsageFlagBitsANDROID* {.size: int32.sizeof.} = enum
777 VK_SWAPCHAIN_IMAGE_USAGE_SHARED_BIT_ANDROID = 1
778 VkTimeDomainEXT* {.size: int32.sizeof.} = enum
779 VK_TIME_DOMAIN_DEVICE_EXT = 0
780 VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT = 1
781 VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT = 2
782 VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT = 3
783 VkDebugReportFlagBitsEXT* {.size: int32.sizeof.} = enum
784 VK_DEBUG_REPORT_INFORMATION_BIT_EXT = 1
785 VK_DEBUG_REPORT_WARNING_BIT_EXT = 2
786 VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT = 4
787 VK_DEBUG_REPORT_ERROR_BIT_EXT = 8
788 VK_DEBUG_REPORT_DEBUG_BIT_EXT = 16
789 VkDebugReportObjectTypeEXT* {.size: int32.sizeof.} = enum
790 VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT = 0
791 VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT = 1
792 VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT = 2
793 VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT = 3
794 VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT = 4
795 VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT = 5
796 VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT = 6
797 VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT = 7
798 VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT = 8
799 VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT = 9
800 VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT = 10
801 VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT = 11
802 VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT = 12
803 VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT = 13
804 VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT = 14
805 VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT = 15
806 VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT = 16
807 VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT = 17
808 VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT = 18
809 VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT = 19
810 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT = 20
811 VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT = 21
812 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT = 22
813 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT = 23
814 VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT = 24
815 VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT = 25
816 VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT = 26
817 VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT = 27
818 VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT = 28
819 VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT = 29
820 VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT = 30
821 VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT = 33
822 VkRasterizationOrderAMD* {.size: int32.sizeof.} = enum
823 VK_RASTERIZATION_ORDER_STRICT_AMD = 0
824 VK_RASTERIZATION_ORDER_RELAXED_AMD = 1
825 VkExternalMemoryHandleTypeFlagBitsNV* {.size: int32.sizeof.} = enum
826 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV = 1
827 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV = 2
828 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV = 4
829 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV = 8
830 VkExternalMemoryFeatureFlagBitsNV* {.size: int32.sizeof.} = enum
831 VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV = 1
832 VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV = 2
833 VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV = 4
834 VkValidationCheckEXT* {.size: int32.sizeof.} = enum
835 VK_VALIDATION_CHECK_ALL_EXT = 0
836 VK_VALIDATION_CHECK_SHADERS_EXT = 1
837 VkValidationFeatureEnableEXT* {.size: int32.sizeof.} = enum
838 VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT = 0
839 VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT = 1
840 VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT = 2
841 VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT = 3
842 VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT = 4
843 VkValidationFeatureDisableEXT* {.size: int32.sizeof.} = enum
844 VK_VALIDATION_FEATURE_DISABLE_ALL_EXT = 0
845 VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT = 1
846 VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT = 2
847 VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT = 3
848 VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT = 4
849 VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT = 5
850 VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT = 6
851 VkSubgroupFeatureFlagBits* {.size: int32.sizeof.} = enum
852 VK_SUBGROUP_FEATURE_BASIC_BIT = 1
853 VK_SUBGROUP_FEATURE_VOTE_BIT = 2
854 VK_SUBGROUP_FEATURE_ARITHMETIC_BIT = 4
855 VK_SUBGROUP_FEATURE_BALLOT_BIT = 8
856 VK_SUBGROUP_FEATURE_SHUFFLE_BIT = 16
857 VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT = 32
858 VK_SUBGROUP_FEATURE_CLUSTERED_BIT = 64
859 VK_SUBGROUP_FEATURE_QUAD_BIT = 128
860 VkIndirectCommandsLayoutUsageFlagBitsNV* {.size: int32.sizeof.} = enum
861 VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_NV = 1
862 VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NV = 2
863 VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NV = 4
864 VkIndirectStateFlagBitsNV* {.size: int32.sizeof.} = enum
865 VK_INDIRECT_STATE_FLAG_FRONTFACE_BIT_NV = 1
866 VkIndirectCommandsTokenTypeNV* {.size: int32.sizeof.} = enum
867 VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV = 0
868 VK_INDIRECT_COMMANDS_TOKEN_TYPE_STATE_FLAGS_NV = 1
869 VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV = 2
870 VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NV = 3
871 VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV = 4
872 VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NV = 5
873 VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NV = 6
874 VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_TASKS_NV = 7
875 VkExternalMemoryHandleTypeFlagBits* {.size: int32.sizeof.} = enum
876 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT = 1
877 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT = 2
878 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT = 4
879 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT = 8
880 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT = 16
881 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT = 32
882 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT = 64
883 VkExternalMemoryFeatureFlagBits* {.size: int32.sizeof.} = enum
884 VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT = 1
885 VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT = 2
886 VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT = 4
887 VkExternalSemaphoreHandleTypeFlagBits* {.size: int32.sizeof.} = enum
888 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT = 1
889 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT = 2
890 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT = 4
891 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT = 8
892 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT = 16
893 VkExternalSemaphoreFeatureFlagBits* {.size: int32.sizeof.} = enum
894 VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT = 1
895 VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT = 2
896 VkSemaphoreImportFlagBits* {.size: int32.sizeof.} = enum
897 VK_SEMAPHORE_IMPORT_TEMPORARY_BIT = 1
898 VkExternalFenceHandleTypeFlagBits* {.size: int32.sizeof.} = enum
899 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT = 1
900 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT = 2
901 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT = 4
902 VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT = 8
903 VkExternalFenceFeatureFlagBits* {.size: int32.sizeof.} = enum
904 VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT = 1
905 VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT = 2
906 VkFenceImportFlagBits* {.size: int32.sizeof.} = enum
907 VK_FENCE_IMPORT_TEMPORARY_BIT = 1
908 VkSurfaceCounterFlagBitsEXT* {.size: int32.sizeof.} = enum
909 VK_SURFACE_COUNTER_VBLANK_EXT = 1
910 VkDisplayPowerStateEXT* {.size: int32.sizeof.} = enum
911 VK_DISPLAY_POWER_STATE_OFF_EXT = 0
912 VK_DISPLAY_POWER_STATE_SUSPEND_EXT = 1
913 VK_DISPLAY_POWER_STATE_ON_EXT = 2
914 VkDeviceEventTypeEXT* {.size: int32.sizeof.} = enum
915 VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT = 0
916 VkDisplayEventTypeEXT* {.size: int32.sizeof.} = enum
917 VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT = 0
918 VkPeerMemoryFeatureFlagBits* {.size: int32.sizeof.} = enum
919 VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT = 1
920 VK_PEER_MEMORY_FEATURE_COPY_DST_BIT = 2
921 VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT = 4
922 VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT = 8
923 VkMemoryAllocateFlagBits* {.size: int32.sizeof.} = enum
924 VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT = 1
925 VkDeviceGroupPresentModeFlagBitsKHR* {.size: int32.sizeof.} = enum
926 VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR = 1
927 VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR = 2
928 VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR = 4
929 VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR = 8
930 VkViewportCoordinateSwizzleNV* {.size: int32.sizeof.} = enum
931 VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV = 0
932 VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV = 1
933 VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV = 2
934 VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV = 3
935 VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV = 4
936 VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV = 5
937 VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV = 6
938 VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV = 7
939 VkDiscardRectangleModeEXT* {.size: int32.sizeof.} = enum
940 VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT = 0
941 VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT = 1
942 VkPointClippingBehavior* {.size: int32.sizeof.} = enum
943 VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES = 0
944 VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY = 1
945 VkSamplerReductionMode* {.size: int32.sizeof.} = enum
946 VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE = 0
947 VK_SAMPLER_REDUCTION_MODE_MIN = 1
948 VK_SAMPLER_REDUCTION_MODE_MAX = 2
949 VkTessellationDomainOrigin* {.size: int32.sizeof.} = enum
950 VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT = 0
951 VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT = 1
952 VkSamplerYcbcrModelConversion* {.size: int32.sizeof.} = enum
953 VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY = 0
954 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY = 1
955 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709 = 2
956 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601 = 3
957 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020 = 4
958 VkSamplerYcbcrRange* {.size: int32.sizeof.} = enum
959 VK_SAMPLER_YCBCR_RANGE_ITU_FULL = 0
960 VK_SAMPLER_YCBCR_RANGE_ITU_NARROW = 1
961 VkChromaLocation* {.size: int32.sizeof.} = enum
962 VK_CHROMA_LOCATION_COSITED_EVEN = 0
963 VK_CHROMA_LOCATION_MIDPOINT = 1
964 VkBlendOverlapEXT* {.size: int32.sizeof.} = enum
965 VK_BLEND_OVERLAP_UNCORRELATED_EXT = 0
966 VK_BLEND_OVERLAP_DISJOINT_EXT = 1
967 VK_BLEND_OVERLAP_CONJOINT_EXT = 2
968 VkCoverageModulationModeNV* {.size: int32.sizeof.} = enum
969 VK_COVERAGE_MODULATION_MODE_NONE_NV = 0
970 VK_COVERAGE_MODULATION_MODE_RGB_NV = 1
971 VK_COVERAGE_MODULATION_MODE_ALPHA_NV = 2
972 VK_COVERAGE_MODULATION_MODE_RGBA_NV = 3
973 VkCoverageReductionModeNV* {.size: int32.sizeof.} = enum
974 VK_COVERAGE_REDUCTION_MODE_MERGE_NV = 0
975 VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV = 1
976 VkValidationCacheHeaderVersionEXT* {.size: int32.sizeof.} = enum
977 VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT = 1
978 VkShaderInfoTypeAMD* {.size: int32.sizeof.} = enum
979 VK_SHADER_INFO_TYPE_STATISTICS_AMD = 0
980 VK_SHADER_INFO_TYPE_BINARY_AMD = 1
981 VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD = 2
982 VkQueueGlobalPriorityEXT* {.size: int32.sizeof.} = enum
983 VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT = 128
984 VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT = 256
985 VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT = 512
986 VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT = 1024
987 VkDebugUtilsMessageSeverityFlagBitsEXT* {.size: int32.sizeof.} = enum
988 VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT = 1
989 VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT = 16
990 VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT = 256
991 VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT = 4096
992 VkDebugUtilsMessageTypeFlagBitsEXT* {.size: int32.sizeof.} = enum
993 VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT = 1
994 VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT = 2
995 VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT = 4
996 VkConservativeRasterizationModeEXT* {.size: int32.sizeof.} = enum
997 VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT = 0
998 VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT = 1
999 VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT = 2
1000 VkDescriptorBindingFlagBits* {.size: int32.sizeof.} = enum
1001 VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT = 1
1002 VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT = 2
1003 VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT = 4
1004 VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT = 8
1005 VkVendorId* {.size: int32.sizeof.} = enum
1006 VK_VENDOR_ID_VIV = 65537
1007 VK_VENDOR_ID_VSI = 65538
1008 VK_VENDOR_ID_KAZAN = 65539
1009 VK_VENDOR_ID_CODEPLAY = 65540
1010 VK_VENDOR_ID_MESA = 65541
1011 VkDriverId* {.size: int32.sizeof.} = enum
1012 VK_DRIVER_ID_AMD_PROPRIETARY = 1
1013 VK_DRIVER_ID_AMD_OPEN_SOURCE = 2
1014 VK_DRIVER_ID_MESA_RADV = 3
1015 VK_DRIVER_ID_NVIDIA_PROPRIETARY = 4
1016 VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS = 5
1017 VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA = 6
1018 VK_DRIVER_ID_IMAGINATION_PROPRIETARY = 7
1019 VK_DRIVER_ID_QUALCOMM_PROPRIETARY = 8
1020 VK_DRIVER_ID_ARM_PROPRIETARY = 9
1021 VK_DRIVER_ID_GOOGLE_SWIFTSHADER = 10
1022 VK_DRIVER_ID_GGP_PROPRIETARY = 11
1023 VK_DRIVER_ID_BROADCOM_PROPRIETARY = 12
1024 VK_DRIVER_ID_MESA_LLVMPIPE = 13
1025 VK_DRIVER_ID_MOLTENVK = 14
1026 VkConditionalRenderingFlagBitsEXT* {.size: int32.sizeof.} = enum
1027 VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT = 1
1028 VkResolveModeFlagBits* {.size: int32.sizeof.} = enum
1029 VK_RESOLVE_MODE_NONE = 0
1030 VK_RESOLVE_MODE_SAMPLE_ZERO_BIT = 1
1031 VK_RESOLVE_MODE_AVERAGE_BIT = 2
1032 VK_RESOLVE_MODE_MIN_BIT = 4
1033 VK_RESOLVE_MODE_MAX_BIT = 8
1034 VkShadingRatePaletteEntryNV* {.size: int32.sizeof.} = enum
1035 VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV = 0
1036 VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV = 1
1037 VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV = 2
1038 VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV = 3
1039 VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV = 4
1040 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV = 5
1041 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV = 6
1042 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV = 7
1043 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV = 8
1044 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV = 9
1045 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV = 10
1046 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV = 11
1047 VkCoarseSampleOrderTypeNV* {.size: int32.sizeof.} = enum
1048 VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV = 0
1049 VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV = 1
1050 VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV = 2
1051 VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV = 3
1052 VkGeometryInstanceFlagBitsKHR* {.size: int32.sizeof.} = enum
1053 VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR = 1
1054 VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR = 2
1055 VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR = 4
1056 VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR = 8
1057 VkGeometryFlagBitsKHR* {.size: int32.sizeof.} = enum
1058 VK_GEOMETRY_OPAQUE_BIT_KHR = 1
1059 VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR = 2
1060 VkBuildAccelerationStructureFlagBitsKHR* {.size: int32.sizeof.} = enum
1061 VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR = 1
1062 VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR = 2
1063 VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR = 4
1064 VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR = 8
1065 VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR = 16
1066 VkCopyAccelerationStructureModeKHR* {.size: int32.sizeof.} = enum
1067 VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR = 0
1068 VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR = 1
1069 VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR = 2
1070 VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR = 3
1071 VkAccelerationStructureTypeKHR* {.size: int32.sizeof.} = enum
1072 VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR = 0
1073 VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR = 1
1074 VkGeometryTypeKHR* {.size: int32.sizeof.} = enum
1075 VK_GEOMETRY_TYPE_TRIANGLES_KHR = 0
1076 VK_GEOMETRY_TYPE_AABBS_KHR = 1
1077 VkAccelerationStructureMemoryRequirementsTypeKHR* {.size: int32.sizeof.} = enum
1078 VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_KHR = 0
1079 VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_KHR = 1
1080 VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_KHR = 2
1081 VkAccelerationStructureBuildTypeKHR* {.size: int32.sizeof.} = enum
1082 VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR = 0
1083 VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR = 1
1084 VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR = 2
1085 VkRayTracingShaderGroupTypeKHR* {.size: int32.sizeof.} = enum
1086 VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR = 0
1087 VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR = 1
1088 VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR = 2
1089 VkMemoryOverallocationBehaviorAMD* {.size: int32.sizeof.} = enum
1090 VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD = 0
1091 VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD = 1
1092 VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD = 2
1093 VkScopeNV* {.size: int32.sizeof.} = enum
1094 VK_SCOPE_DEVICE_NV = 1
1095 VK_SCOPE_WORKGROUP_NV = 2
1096 VK_SCOPE_SUBGROUP_NV = 3
1097 VK_SCOPE_QUEUE_FAMILY_NV = 5
1098 VkComponentTypeNV* {.size: int32.sizeof.} = enum
1099 VK_COMPONENT_TYPE_FLOAT16_NV = 0
1100 VK_COMPONENT_TYPE_FLOAT32_NV = 1
1101 VK_COMPONENT_TYPE_FLOAT64_NV = 2
1102 VK_COMPONENT_TYPE_SINT8_NV = 3
1103 VK_COMPONENT_TYPE_SINT16_NV = 4
1104 VK_COMPONENT_TYPE_SINT32_NV = 5
1105 VK_COMPONENT_TYPE_SINT64_NV = 6
1106 VK_COMPONENT_TYPE_UINT8_NV = 7
1107 VK_COMPONENT_TYPE_UINT16_NV = 8
1108 VK_COMPONENT_TYPE_UINT32_NV = 9
1109 VK_COMPONENT_TYPE_UINT64_NV = 10
1110 VkDeviceDiagnosticsConfigFlagBitsNV* {.size: int32.sizeof.} = enum
1111 VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_SHADER_DEBUG_INFO_BIT_NV = 1
1112 VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_RESOURCE_TRACKING_BIT_NV = 2
1113 VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_AUTOMATIC_CHECKPOINTS_BIT_NV = 4
1114 VkPipelineCreationFeedbackFlagBitsEXT* {.size: int32.sizeof.} = enum
1115 VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT = 1
1116 VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT = 2
1117 VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT = 4
1118 VkFullScreenExclusiveEXT* {.size: int32.sizeof.} = enum
1119 VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT = 0
1120 VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT = 1
1121 VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT = 2
1122 VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT = 3
1123 VkPerformanceCounterScopeKHR* {.size: int32.sizeof.} = enum
1124 VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR = 0
1125 VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR = 1
1126 VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR = 2
1127 VkPerformanceCounterUnitKHR* {.size: int32.sizeof.} = enum
1128 VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR = 0
1129 VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR = 1
1130 VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR = 2
1131 VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR = 3
1132 VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR = 4
1133 VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR = 5
1134 VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR = 6
1135 VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR = 7
1136 VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR = 8
1137 VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR = 9
1138 VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR = 10
1139 VkPerformanceCounterStorageKHR* {.size: int32.sizeof.} = enum
1140 VK_PERFORMANCE_COUNTER_STORAGE_INT32_KHR = 0
1141 VK_PERFORMANCE_COUNTER_STORAGE_INT64_KHR = 1
1142 VK_PERFORMANCE_COUNTER_STORAGE_UINT32_KHR = 2
1143 VK_PERFORMANCE_COUNTER_STORAGE_UINT64_KHR = 3
1144 VK_PERFORMANCE_COUNTER_STORAGE_FLOAT32_KHR = 4
1145 VK_PERFORMANCE_COUNTER_STORAGE_FLOAT64_KHR = 5
1146 VkPerformanceCounterDescriptionFlagBitsKHR* {.size: int32.sizeof.} = enum
1147 VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_KHR = 1
1148 VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_KHR = 2
1149 VkPerformanceConfigurationTypeINTEL* {.size: int32.sizeof.} = enum
1150 VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL = 0
1151 VkQueryPoolSamplingModeINTEL* {.size: int32.sizeof.} = enum
1152 VK_QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL = 0
1153 VkPerformanceOverrideTypeINTEL* {.size: int32.sizeof.} = enum
1154 VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL = 0
1155 VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL = 1
1156 VkPerformanceParameterTypeINTEL* {.size: int32.sizeof.} = enum
1157 VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL = 0
1158 VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL = 1
1159 VkPerformanceValueTypeINTEL* {.size: int32.sizeof.} = enum
1160 VK_PERFORMANCE_VALUE_TYPE_UINT32_INTEL = 0
1161 VK_PERFORMANCE_VALUE_TYPE_UINT64_INTEL = 1
1162 VK_PERFORMANCE_VALUE_TYPE_FLOAT_INTEL = 2
1163 VK_PERFORMANCE_VALUE_TYPE_BOOL_INTEL = 3
1164 VK_PERFORMANCE_VALUE_TYPE_STRING_INTEL = 4
1165 VkShaderFloatControlsIndependence* {.size: int32.sizeof.} = enum
1166 VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY = 0
1167 VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL = 1
1168 VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE = 2
1169 VkPipelineExecutableStatisticFormatKHR* {.size: int32.sizeof.} = enum
1170 VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR = 0
1171 VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR = 1
1172 VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR = 2
1173 VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR = 3
1174 VkLineRasterizationModeEXT* {.size: int32.sizeof.} = enum
1175 VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT = 0
1176 VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT = 1
1177 VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT = 2
1178 VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT = 3
1179 VkToolPurposeFlagBitsEXT* {.size: int32.sizeof.} = enum
1180 VK_TOOL_PURPOSE_VALIDATION_BIT_EXT = 1
1181 VK_TOOL_PURPOSE_PROFILING_BIT_EXT = 2
1182 VK_TOOL_PURPOSE_TRACING_BIT_EXT = 4
1183 VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT = 8
1184 VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT = 16
1185
1186 # Types
1187
1188 type
1189 # Display* = ptr object
1190 VisualID* = ptr object
1191 # Window* = ptr object
1192 RROutput* = ptr object
1193 wl_display* = ptr object
1194 wl_surface* = ptr object
1195 HINSTANCE* = ptr object
1196 HWND* = ptr object
1197 HMONITOR* = ptr object
1198 HANDLE* = ptr object
1199 SECURITY_ATTRIBUTES* = ptr object
1200 DWORD* = ptr object
1201 LPCWSTR* = ptr object
1202 xcb_connection_t* = ptr object
1203 xcb_visualid_t* = ptr object
1204 xcb_window_t* = ptr object
1205 IDirectFB* = ptr object
1206 IDirectFBSurface* = ptr object
1207 zx_handle_t* = ptr object
1208 GgpStreamDescriptor* = ptr object
1209 GgpFrameToken* = ptr object
1210
1211 template vkMakeVersion*(major, minor, patch: untyped): untyped =
1212 (((major) shl 22) or ((minor) shl 12) or (patch))
1213
1214 template vkVersionMajor*(version: untyped): untyped =
1215 ((uint32)(version) shr 22)
1216
1217 template vkVersionMinor*(version: untyped): untyped =
1218 (((uint32)(version) shr 12) and 0x000003FF)
1219
1220 template vkVersionPatch*(version: untyped): untyped =
1221 ((uint32)(version) and 0x00000FFF)
1222
1223 const vkApiVersion1_0* = vkMakeVersion(1, 0, 0)
1224 const vkApiVersion1_1* = vkMakeVersion(1, 1, 0)
1225 const vkApiVersion1_2* = vkMakeVersion(1, 2, 0)
1226
1227 type
1228 VkSampleMask* = distinct uint32
1229 VkBool32* = distinct uint32
1230 VkFlags* = distinct uint32
1231 VkDeviceSize* = distinct uint64
1232 VkDeviceAddress* = distinct uint64
1233 VkFramebufferCreateFlags* = distinct VkFlags
1234 VkQueryPoolCreateFlags* = distinct VkFlags
1235 VkRenderPassCreateFlags* = distinct VkFlags
1236 VkSamplerCreateFlags* = distinct VkFlags
1237 VkPipelineLayoutCreateFlags* = distinct VkFlags
1238 VkPipelineCacheCreateFlags* = distinct VkFlags
1239 VkPipelineDepthStencilStateCreateFlags* = distinct VkFlags
1240 VkPipelineDynamicStateCreateFlags* = distinct VkFlags
1241 VkPipelineColorBlendStateCreateFlags* = distinct VkFlags
1242 VkPipelineMultisampleStateCreateFlags* = distinct VkFlags
1243 VkPipelineRasterizationStateCreateFlags* = distinct VkFlags
1244 VkPipelineViewportStateCreateFlags* = distinct VkFlags
1245 VkPipelineTessellationStateCreateFlags* = distinct VkFlags
1246 VkPipelineInputAssemblyStateCreateFlags* = distinct VkFlags
1247 VkPipelineVertexInputStateCreateFlags* = distinct VkFlags
1248 VkPipelineShaderStageCreateFlags* = distinct VkFlags
1249 VkDescriptorSetLayoutCreateFlags* = distinct VkFlags
1250 VkBufferViewCreateFlags* = distinct VkFlags
1251 VkInstanceCreateFlags* = distinct VkFlags
1252 VkDeviceCreateFlags* = distinct VkFlags
1253 VkDeviceQueueCreateFlags* = distinct VkFlags
1254 VkQueueFlags* = distinct VkFlags
1255 VkMemoryPropertyFlags* = distinct VkFlags
1256 VkMemoryHeapFlags* = distinct VkFlags
1257 VkAccessFlags* = distinct VkFlags
1258 VkBufferUsageFlags* = distinct VkFlags
1259 VkBufferCreateFlags* = distinct VkFlags
1260 VkShaderStageFlags* = distinct VkFlags
1261 VkImageUsageFlags* = distinct VkFlags
1262 VkImageCreateFlags* = distinct VkFlags
1263 VkImageViewCreateFlags* = distinct VkFlags
1264 VkPipelineCreateFlags* = distinct VkFlags
1265 VkColorComponentFlags* = distinct VkFlags
1266 VkFenceCreateFlags* = distinct VkFlags
1267 VkSemaphoreCreateFlags* = distinct VkFlags
1268 VkFormatFeatureFlags* = distinct VkFlags
1269 VkQueryControlFlags* = distinct VkFlags
1270 VkQueryResultFlags* = distinct VkFlags
1271 VkShaderModuleCreateFlags* = distinct VkFlags
1272 VkEventCreateFlags* = distinct VkFlags
1273 VkCommandPoolCreateFlags* = distinct VkFlags
1274 VkCommandPoolResetFlags* = distinct VkFlags
1275 VkCommandBufferResetFlags* = distinct VkFlags
1276 VkCommandBufferUsageFlags* = distinct VkFlags
1277 VkQueryPipelineStatisticFlags* = distinct VkFlags
1278 VkMemoryMapFlags* = distinct VkFlags
1279 VkImageAspectFlags* = distinct VkFlags
1280 VkSparseMemoryBindFlags* = distinct VkFlags
1281 VkSparseImageFormatFlags* = distinct VkFlags
1282 VkSubpassDescriptionFlags* = distinct VkFlags
1283 VkPipelineStageFlags* = distinct VkFlags
1284 VkSampleCountFlags* = distinct VkFlags
1285 VkAttachmentDescriptionFlags* = distinct VkFlags
1286 VkStencilFaceFlags* = distinct VkFlags
1287 VkCullModeFlags* = distinct VkFlags
1288 VkDescriptorPoolCreateFlags* = distinct VkFlags
1289 VkDescriptorPoolResetFlags* = distinct VkFlags
1290 VkDependencyFlags* = distinct VkFlags
1291 VkSubgroupFeatureFlags* = distinct VkFlags
1292 VkIndirectCommandsLayoutUsageFlagsNV* = distinct VkFlags
1293 VkIndirectStateFlagsNV* = distinct VkFlags
1294 VkGeometryFlagsKHR* = distinct VkFlags
1295 VkGeometryFlagsNV* = VkGeometryFlagsKHR
1296 VkGeometryInstanceFlagsKHR* = distinct VkFlags
1297 VkGeometryInstanceFlagsNV* = VkGeometryInstanceFlagsKHR
1298 VkBuildAccelerationStructureFlagsKHR* = distinct VkFlags
1299 VkBuildAccelerationStructureFlagsNV* = VkBuildAccelerationStructureFlagsKHR
1300 VkPrivateDataSlotCreateFlagsEXT* = distinct VkFlags
1301 VkDescriptorUpdateTemplateCreateFlags* = distinct VkFlags
1302 VkDescriptorUpdateTemplateCreateFlagsKHR* = VkDescriptorUpdateTemplateCreateFlags
1303 VkPipelineCreationFeedbackFlagsEXT* = distinct VkFlags
1304 VkPerformanceCounterDescriptionFlagsKHR* = distinct VkFlags
1305 VkAcquireProfilingLockFlagsKHR* = distinct VkFlags
1306 VkSemaphoreWaitFlags* = distinct VkFlags
1307 VkSemaphoreWaitFlagsKHR* = VkSemaphoreWaitFlags
1308 VkPipelineCompilerControlFlagsAMD* = distinct VkFlags
1309 VkShaderCorePropertiesFlagsAMD* = distinct VkFlags
1310 VkDeviceDiagnosticsConfigFlagsNV* = distinct VkFlags
1311 VkCompositeAlphaFlagsKHR* = distinct VkFlags
1312 VkDisplayPlaneAlphaFlagsKHR* = distinct VkFlags
1313 VkSurfaceTransformFlagsKHR* = distinct VkFlags
1314 VkSwapchainCreateFlagsKHR* = distinct VkFlags
1315 VkDisplayModeCreateFlagsKHR* = distinct VkFlags
1316 VkDisplaySurfaceCreateFlagsKHR* = distinct VkFlags
1317 VkAndroidSurfaceCreateFlagsKHR* = distinct VkFlags
1318 VkViSurfaceCreateFlagsNN* = distinct VkFlags
1319 VkWaylandSurfaceCreateFlagsKHR* = distinct VkFlags
1320 VkWin32SurfaceCreateFlagsKHR* = distinct VkFlags
1321 VkXlibSurfaceCreateFlagsKHR* = distinct VkFlags
1322 VkXcbSurfaceCreateFlagsKHR* = distinct VkFlags
1323 VkDirectFBSurfaceCreateFlagsEXT* = distinct VkFlags
1324 VkIOSSurfaceCreateFlagsMVK* = distinct VkFlags
1325 VkMacOSSurfaceCreateFlagsMVK* = distinct VkFlags
1326 VkMetalSurfaceCreateFlagsEXT* = distinct VkFlags
1327 VkImagePipeSurfaceCreateFlagsFUCHSIA* = distinct VkFlags
1328 VkStreamDescriptorSurfaceCreateFlagsGGP* = distinct VkFlags
1329 VkHeadlessSurfaceCreateFlagsEXT* = distinct VkFlags
1330 VkPeerMemoryFeatureFlags* = distinct VkFlags
1331 VkPeerMemoryFeatureFlagsKHR* = VkPeerMemoryFeatureFlags
1332 VkMemoryAllocateFlags* = distinct VkFlags
1333 VkMemoryAllocateFlagsKHR* = VkMemoryAllocateFlags
1334 VkDeviceGroupPresentModeFlagsKHR* = distinct VkFlags
1335 VkDebugReportFlagsEXT* = distinct VkFlags
1336 VkCommandPoolTrimFlags* = distinct VkFlags
1337 VkCommandPoolTrimFlagsKHR* = VkCommandPoolTrimFlags
1338 VkExternalMemoryHandleTypeFlagsNV* = distinct VkFlags
1339 VkExternalMemoryFeatureFlagsNV* = distinct VkFlags
1340 VkExternalMemoryHandleTypeFlags* = distinct VkFlags
1341 VkExternalMemoryHandleTypeFlagsKHR* = VkExternalMemoryHandleTypeFlags
1342 VkExternalMemoryFeatureFlags* = distinct VkFlags
1343 VkExternalMemoryFeatureFlagsKHR* = VkExternalMemoryFeatureFlags
1344 VkExternalSemaphoreHandleTypeFlags* = distinct VkFlags
1345 VkExternalSemaphoreHandleTypeFlagsKHR* = VkExternalSemaphoreHandleTypeFlags
1346 VkExternalSemaphoreFeatureFlags* = distinct VkFlags
1347 VkExternalSemaphoreFeatureFlagsKHR* = VkExternalSemaphoreFeatureFlags
1348 VkSemaphoreImportFlags* = distinct VkFlags
1349 VkSemaphoreImportFlagsKHR* = VkSemaphoreImportFlags
1350 VkExternalFenceHandleTypeFlags* = distinct VkFlags
1351 VkExternalFenceHandleTypeFlagsKHR* = VkExternalFenceHandleTypeFlags
1352 VkExternalFenceFeatureFlags* = distinct VkFlags
1353 VkExternalFenceFeatureFlagsKHR* = VkExternalFenceFeatureFlags
1354 VkFenceImportFlags* = distinct VkFlags
1355 VkFenceImportFlagsKHR* = VkFenceImportFlags
1356 VkSurfaceCounterFlagsEXT* = distinct VkFlags
1357 VkPipelineViewportSwizzleStateCreateFlagsNV* = distinct VkFlags
1358 VkPipelineDiscardRectangleStateCreateFlagsEXT* = distinct VkFlags
1359 VkPipelineCoverageToColorStateCreateFlagsNV* = distinct VkFlags
1360 VkPipelineCoverageModulationStateCreateFlagsNV* = distinct VkFlags
1361 VkPipelineCoverageReductionStateCreateFlagsNV* = distinct VkFlags
1362 VkValidationCacheCreateFlagsEXT* = distinct VkFlags
1363 VkDebugUtilsMessageSeverityFlagsEXT* = distinct VkFlags
1364 VkDebugUtilsMessageTypeFlagsEXT* = distinct VkFlags
1365 VkDebugUtilsMessengerCreateFlagsEXT* = distinct VkFlags
1366 VkDebugUtilsMessengerCallbackDataFlagsEXT* = distinct VkFlags
1367 VkPipelineRasterizationConservativeStateCreateFlagsEXT* = distinct VkFlags
1368 VkDescriptorBindingFlags* = distinct VkFlags
1369 VkDescriptorBindingFlagsEXT* = VkDescriptorBindingFlags
1370 VkConditionalRenderingFlagsEXT* = distinct VkFlags
1371 VkResolveModeFlags* = distinct VkFlags
1372 VkResolveModeFlagsKHR* = VkResolveModeFlags
1373 VkPipelineRasterizationStateStreamCreateFlagsEXT* = distinct VkFlags
1374 VkPipelineRasterizationDepthClipStateCreateFlagsEXT* = distinct VkFlags
1375 VkSwapchainImageUsageFlagsANDROID* = distinct VkFlags
1376 VkToolPurposeFlagsEXT* = distinct VkFlags
1377 VkInstance* = distinct VkHandle
1378 VkPhysicalDevice* = distinct VkHandle
1379 VkDevice* = distinct VkHandle
1380 VkQueue* = distinct VkHandle
1381 VkCommandBuffer* = distinct VkHandle
1382 VkDeviceMemory* = distinct VkNonDispatchableHandle
1383 VkCommandPool* = distinct VkNonDispatchableHandle
1384 VkBuffer* = distinct VkNonDispatchableHandle
1385 VkBufferView* = distinct VkNonDispatchableHandle
1386 VkImage* = distinct VkNonDispatchableHandle
1387 VkImageView* = distinct VkNonDispatchableHandle
1388 VkShaderModule* = distinct VkNonDispatchableHandle
1389 VkPipeline* = distinct VkNonDispatchableHandle
1390 VkPipelineLayout* = distinct VkNonDispatchableHandle
1391 VkSampler* = distinct VkNonDispatchableHandle
1392 VkDescriptorSet* = distinct VkNonDispatchableHandle
1393 VkDescriptorSetLayout* = distinct VkNonDispatchableHandle
1394 VkDescriptorPool* = distinct VkNonDispatchableHandle
1395 VkFence* = distinct VkNonDispatchableHandle
1396 VkSemaphore* = distinct VkNonDispatchableHandle
1397 VkEvent* = distinct VkNonDispatchableHandle
1398 VkQueryPool* = distinct VkNonDispatchableHandle
1399 VkFramebuffer* = distinct VkNonDispatchableHandle
1400 VkRenderPass* = distinct VkNonDispatchableHandle
1401 VkPipelineCache* = distinct VkNonDispatchableHandle
1402 VkIndirectCommandsLayoutNV* = distinct VkNonDispatchableHandle
1403 VkDescriptorUpdateTemplate* = distinct VkNonDispatchableHandle
1404 VkDescriptorUpdateTemplateKHR* = VkDescriptorUpdateTemplate
1405 VkSamplerYcbcrConversion* = distinct VkNonDispatchableHandle
1406 VkSamplerYcbcrConversionKHR* = VkSamplerYcbcrConversion
1407 VkValidationCacheEXT* = distinct VkNonDispatchableHandle
1408 VkAccelerationStructureKHR* = distinct VkNonDispatchableHandle
1409 VkAccelerationStructureNV* = VkAccelerationStructureKHR
1410 VkPerformanceConfigurationINTEL* = distinct VkNonDispatchableHandle
1411 VkDeferredOperationKHR* = distinct VkNonDispatchableHandle
1412 VkPrivateDataSlotEXT* = distinct VkNonDispatchableHandle
1413 VkDisplayKHR* = distinct VkNonDispatchableHandle
1414 VkDisplayModeKHR* = distinct VkNonDispatchableHandle
1415 VkSurfaceKHR* = distinct VkNonDispatchableHandle
1416 VkSwapchainKHR* = distinct VkNonDispatchableHandle
1417 VkDebugReportCallbackEXT* = distinct VkNonDispatchableHandle
1418 VkDebugUtilsMessengerEXT* = distinct VkNonDispatchableHandle
1419 VkDescriptorUpdateTemplateTypeKHR* = VkDescriptorUpdateTemplateType
1420 VkPointClippingBehaviorKHR* = VkPointClippingBehavior
1421 VkResolveModeFlagBitsKHR* = VkResolveModeFlagBits
1422 VkDescriptorBindingFlagBitsEXT* = VkDescriptorBindingFlagBits
1423 VkSemaphoreTypeKHR* = VkSemaphoreType
1424 VkGeometryFlagBitsNV* = VkGeometryFlagBitsKHR
1425 VkGeometryInstanceFlagBitsNV* = VkGeometryInstanceFlagBitsKHR
1426 VkBuildAccelerationStructureFlagBitsNV* = VkBuildAccelerationStructureFlagBitsKHR
1427 VkCopyAccelerationStructureModeNV* = VkCopyAccelerationStructureModeKHR
1428 VkAccelerationStructureTypeNV* = VkAccelerationStructureTypeKHR
1429 VkGeometryTypeNV* = VkGeometryTypeKHR
1430 VkRayTracingShaderGroupTypeNV* = VkRayTracingShaderGroupTypeKHR
1431 VkAccelerationStructureMemoryRequirementsTypeNV* = VkAccelerationStructureMemoryRequirementsTypeKHR
1432 VkSemaphoreWaitFlagBitsKHR* = VkSemaphoreWaitFlagBits
1433 VkExternalMemoryHandleTypeFlagBitsKHR* = VkExternalMemoryHandleTypeFlagBits
1434 VkExternalMemoryFeatureFlagBitsKHR* = VkExternalMemoryFeatureFlagBits
1435 VkExternalSemaphoreHandleTypeFlagBitsKHR* = VkExternalSemaphoreHandleTypeFlagBits
1436 VkExternalSemaphoreFeatureFlagBitsKHR* = VkExternalSemaphoreFeatureFlagBits
1437 VkSemaphoreImportFlagBitsKHR* = VkSemaphoreImportFlagBits
1438 VkExternalFenceHandleTypeFlagBitsKHR* = VkExternalFenceHandleTypeFlagBits
1439 VkExternalFenceFeatureFlagBitsKHR* = VkExternalFenceFeatureFlagBits
1440 VkFenceImportFlagBitsKHR* = VkFenceImportFlagBits
1441 VkPeerMemoryFeatureFlagBitsKHR* = VkPeerMemoryFeatureFlagBits
1442 VkMemoryAllocateFlagBitsKHR* = VkMemoryAllocateFlagBits
1443 VkTessellationDomainOriginKHR* = VkTessellationDomainOrigin
1444 VkSamplerYcbcrModelConversionKHR* = VkSamplerYcbcrModelConversion
1445 VkSamplerYcbcrRangeKHR* = VkSamplerYcbcrRange
1446 VkChromaLocationKHR* = VkChromaLocation
1447 VkSamplerReductionModeEXT* = VkSamplerReductionMode
1448 VkShaderFloatControlsIndependenceKHR* = VkShaderFloatControlsIndependence
1449 VkDriverIdKHR* = VkDriverId
1450 PFN_vkInternalAllocationNotification* = proc(pUserData: pointer; size: csize_t; allocationType: VkInternalAllocationType; allocationScope: VkSystemAllocationScope) {.cdecl.}
1451 PFN_vkInternalFreeNotification* = proc(pUserData: pointer; size: csize_t; allocationType: VkInternalAllocationType; allocationScope: VkSystemAllocationScope) {.cdecl.}
1452 PFN_vkReallocationFunction* = proc(pUserData: pointer; pOriginal: pointer; size: csize_t; alignment: csize_t; allocationScope: VkSystemAllocationScope): pointer {.cdecl.}
1453 PFN_vkAllocationFunction* = proc(pUserData: pointer; size: csize_t; alignment: csize_t; allocationScope: VkSystemAllocationScope): pointer {.cdecl.}
1454 PFN_vkFreeFunction* = proc(pUserData: pointer; pMemory: pointer) {.cdecl.}
1455 PFN_vkVoidFunction* = proc() {.cdecl.}
1456 PFN_vkDebugReportCallbackEXT* = proc(flags: VkDebugReportFlagsEXT; objectType: VkDebugReportObjectTypeEXT; cbObject: uint64; location: csize_t; messageCode: int32; pLayerPrefix: cstring; pMessage: cstring; pUserData: pointer): VkBool32 {.cdecl.}
1457 PFN_vkDebugUtilsMessengerCallbackEXT* = proc(messageSeverity: VkDebugUtilsMessageSeverityFlagBitsEXT, messageTypes: VkDebugUtilsMessageTypeFlagsEXT, pCallbackData: VkDebugUtilsMessengerCallbackDataEXT, userData: pointer): VkBool32 {.cdecl.}
1458
1459 VkOffset2D* = object
1460 x*: int32
1461 y*: int32
1462
1463 VkOffset3D* = object
1464 x*: int32
1465 y*: int32
1466 z*: int32
1467
1468 VkExtent2D* = object
1469 width*: uint32
1470 height*: uint32
1471
1472 VkExtent3D* = object
1473 width*: uint32
1474 height*: uint32
1475 depth*: uint32
1476
1477 VkViewport* = object
1478 x*: float32
1479 y*: float32
1480 width*: float32
1481 height*: float32
1482 minDepth*: float32
1483 maxDepth*: float32
1484
1485 VkRect2D* = object
1486 offset*: VkOffset2D
1487 extent*: VkExtent2D
1488
1489 VkClearRect* = object
1490 rect*: VkRect2D
1491 baseArrayLayer*: uint32
1492 layerCount*: uint32
1493
1494 VkComponentMapping* = object
1495 r*: VkComponentSwizzle
1496 g*: VkComponentSwizzle
1497 b*: VkComponentSwizzle
1498 a*: VkComponentSwizzle
1499
1500 VkPhysicalDeviceProperties* = object
1501 apiVersion*: uint32
1502 driverVersion*: uint32
1503 vendorID*: uint32
1504 deviceID*: uint32
1505 deviceType*: VkPhysicalDeviceType
1506 deviceName*: array[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, char]
1507 pipelineCacheUUID*: array[VK_UUID_SIZE, uint8]
1508 limits*: VkPhysicalDeviceLimits
1509 sparseProperties*: VkPhysicalDeviceSparseProperties
1510
1511 VkExtensionProperties* = object
1512 extensionName*: array[VK_MAX_EXTENSION_NAME_SIZE, char]
1513 specVersion*: uint32
1514
1515 VkLayerProperties* = object
1516 layerName*: array[VK_MAX_EXTENSION_NAME_SIZE, char]
1517 specVersion*: uint32
1518 implementationVersion*: uint32
1519 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
1520
1521 VkApplicationInfo* = object
1522 sType*: VkStructureType
1523 pNext*: pointer
1524 pApplicationName*: cstring
1525 applicationVersion*: uint32
1526 pEngineName*: cstring
1527 engineVersion*: uint32
1528 apiVersion*: uint32
1529
1530 VkAllocationCallbacks* = object
1531 pUserData*: pointer
1532 pfnAllocation*: PFN_vkAllocationFunction
1533 pfnReallocation*: PFN_vkReallocationFunction
1534 pfnFree*: PFN_vkFreeFunction
1535 pfnInternalAllocation*: PFN_vkInternalAllocationNotification
1536 pfnInternalFree*: PFN_vkInternalFreeNotification
1537
1538 VkDeviceQueueCreateInfo* = object
1539 sType*: VkStructureType
1540 pNext*: pointer
1541 flags*: VkDeviceQueueCreateFlags
1542 queueFamilyIndex*: uint32
1543 queueCount*: uint32
1544 pQueuePriorities*: ptr float32
1545
1546 VkDeviceCreateInfo* = object
1547 sType*: VkStructureType
1548 pNext*: pointer
1549 flags*: VkDeviceCreateFlags
1550 queueCreateInfoCount*: uint32
1551 pQueueCreateInfos*: ptr VkDeviceQueueCreateInfo
1552 enabledLayerCount*: uint32
1553 ppEnabledLayerNames*: cstringArray
1554 enabledExtensionCount*: uint32
1555 ppEnabledExtensionNames*: cstringArray
1556 pEnabledFeatures*: ptr VkPhysicalDeviceFeatures
1557
1558 VkInstanceCreateInfo* = object
1559 sType*: VkStructureType
1560 pNext*: pointer
1561 flags*: VkInstanceCreateFlags
1562 pApplicationInfo*: ptr VkApplicationInfo
1563 enabledLayerCount*: uint32
1564 ppEnabledLayerNames*: cstringArray
1565 enabledExtensionCount*: uint32
1566 ppEnabledExtensionNames*: cstringArray
1567
1568 VkQueueFamilyProperties* = object
1569 queueFlags*: VkQueueFlags
1570 queueCount*: uint32
1571 timestampValidBits*: uint32
1572 minImageTransferGranularity*: VkExtent3D
1573
1574 VkPhysicalDeviceMemoryProperties* = object
1575 memoryTypeCount*: uint32
1576 memoryTypes*: array[VK_MAX_MEMORY_TYPES, VkMemoryType]
1577 memoryHeapCount*: uint32
1578 memoryHeaps*: array[VK_MAX_MEMORY_HEAPS, VkMemoryHeap]
1579
1580 VkMemoryAllocateInfo* = object
1581 sType*: VkStructureType
1582 pNext*: pointer
1583 allocationSize*: VkDeviceSize
1584 memoryTypeIndex*: uint32
1585
1586 VkMemoryRequirements* = object
1587 size*: VkDeviceSize
1588 alignment*: VkDeviceSize
1589 memoryTypeBits*: uint32
1590
1591 VkSparseImageFormatProperties* = object
1592 aspectMask*: VkImageAspectFlags
1593 imageGranularity*: VkExtent3D
1594 flags*: VkSparseImageFormatFlags
1595
1596 VkSparseImageMemoryRequirements* = object
1597 formatProperties*: VkSparseImageFormatProperties
1598 imageMipTailFirstLod*: uint32
1599 imageMipTailSize*: VkDeviceSize
1600 imageMipTailOffset*: VkDeviceSize
1601 imageMipTailStride*: VkDeviceSize
1602
1603 VkMemoryType* = object
1604 propertyFlags*: VkMemoryPropertyFlags
1605 heapIndex*: uint32
1606
1607 VkMemoryHeap* = object
1608 size*: VkDeviceSize
1609 flags*: VkMemoryHeapFlags
1610
1611 VkMappedMemoryRange* = object
1612 sType*: VkStructureType
1613 pNext*: pointer
1614 memory*: VkDeviceMemory
1615 offset*: VkDeviceSize
1616 size*: VkDeviceSize
1617
1618 VkFormatProperties* = object
1619 linearTilingFeatures*: VkFormatFeatureFlags
1620 optimalTilingFeatures*: VkFormatFeatureFlags
1621 bufferFeatures*: VkFormatFeatureFlags
1622
1623 VkImageFormatProperties* = object
1624 maxExtent*: VkExtent3D
1625 maxMipLevels*: uint32
1626 maxArrayLayers*: uint32
1627 sampleCounts*: VkSampleCountFlags
1628 maxResourceSize*: VkDeviceSize
1629
1630 VkDescriptorBufferInfo* = object
1631 buffer*: VkBuffer
1632 offset*: VkDeviceSize
1633 range*: VkDeviceSize
1634
1635 VkDescriptorImageInfo* = object
1636 sampler*: VkSampler
1637 imageView*: VkImageView
1638 imageLayout*: VkImageLayout
1639
1640 VkWriteDescriptorSet* = object
1641 sType*: VkStructureType
1642 pNext*: pointer
1643 dstSet*: VkDescriptorSet
1644 dstBinding*: uint32
1645 dstArrayElement*: uint32
1646 descriptorCount*: uint32
1647 descriptorType*: VkDescriptorType
1648 pImageInfo*: ptr VkDescriptorImageInfo
1649 pBufferInfo*: ptr ptr VkDescriptorBufferInfo
1650 pTexelBufferView*: ptr VkBufferView
1651
1652 VkCopyDescriptorSet* = object
1653 sType*: VkStructureType
1654 pNext*: pointer
1655 srcSet*: VkDescriptorSet
1656 srcBinding*: uint32
1657 srcArrayElement*: uint32
1658 dstSet*: VkDescriptorSet
1659 dstBinding*: uint32
1660 dstArrayElement*: uint32
1661 descriptorCount*: uint32
1662
1663 VkBufferCreateInfo* = object
1664 sType*: VkStructureType
1665 pNext*: pointer
1666 flags*: VkBufferCreateFlags
1667 size*: VkDeviceSize
1668 usage*: VkBufferUsageFlags
1669 sharingMode*: VkSharingMode
1670 queueFamilyIndexCount*: uint32
1671 pQueueFamilyIndices*: ptr uint32
1672
1673 VkBufferViewCreateInfo* = object
1674 sType*: VkStructureType
1675 pNext*: pointer
1676 flags*: VkBufferViewCreateFlags
1677 buffer*: VkBuffer
1678 format*: VkFormat
1679 offset*: VkDeviceSize
1680 range*: VkDeviceSize
1681
1682 VkImageSubresource* = object
1683 aspectMask*: VkImageAspectFlags
1684 mipLevel*: uint32
1685 arrayLayer*: uint32
1686
1687 VkImageSubresourceLayers* = object
1688 aspectMask*: VkImageAspectFlags
1689 mipLevel*: uint32
1690 baseArrayLayer*: uint32
1691 layerCount*: uint32
1692
1693 VkImageSubresourceRange* = object
1694 aspectMask*: VkImageAspectFlags
1695 baseMipLevel*: uint32
1696 levelCount*: uint32
1697 baseArrayLayer*: uint32
1698 layerCount*: uint32
1699
1700 VkMemoryBarrier* = object
1701 sType*: VkStructureType
1702 pNext*: pointer
1703 srcAccessMask*: VkAccessFlags
1704 dstAccessMask*: VkAccessFlags
1705
1706 VkBufferMemoryBarrier* = object
1707 sType*: VkStructureType
1708 pNext*: pointer
1709 srcAccessMask*: VkAccessFlags
1710 dstAccessMask*: VkAccessFlags
1711 srcQueueFamilyIndex*: uint32
1712 dstQueueFamilyIndex*: uint32
1713 buffer*: VkBuffer
1714 offset*: VkDeviceSize
1715 size*: VkDeviceSize
1716
1717 VkImageMemoryBarrier* = object
1718 sType*: VkStructureType
1719 pNext*: pointer
1720 srcAccessMask*: VkAccessFlags
1721 dstAccessMask*: VkAccessFlags
1722 oldLayout*: VkImageLayout
1723 newLayout*: VkImageLayout
1724 srcQueueFamilyIndex*: uint32
1725 dstQueueFamilyIndex*: uint32
1726 image*: VkImage
1727 subresourceRange*: VkImageSubresourceRange
1728
1729 VkImageCreateInfo* = object
1730 sType*: VkStructureType
1731 pNext*: pointer
1732 flags*: VkImageCreateFlags
1733 imageType*: VkImageType
1734 format*: VkFormat
1735 extent*: VkExtent3D
1736 mipLevels*: uint32
1737 arrayLayers*: uint32
1738 samples*: VkSampleCountFlagBits
1739 tiling*: VkImageTiling
1740 usage*: VkImageUsageFlags
1741 sharingMode*: VkSharingMode
1742 queueFamilyIndexCount*: uint32
1743 pQueueFamilyIndices*: ptr uint32
1744 initialLayout*: VkImageLayout
1745
1746 VkSubresourceLayout* = object
1747 offset*: VkDeviceSize
1748 size*: VkDeviceSize
1749 rowPitch*: VkDeviceSize
1750 arrayPitch*: VkDeviceSize
1751 depthPitch*: VkDeviceSize
1752
1753 VkImageViewCreateInfo* = object
1754 sType*: VkStructureType
1755 pNext*: pointer
1756 flags*: VkImageViewCreateFlags
1757 image*: VkImage
1758 viewType*: VkImageViewType
1759 format*: VkFormat
1760 components*: VkComponentMapping
1761 subresourceRange*: VkImageSubresourceRange
1762
1763 VkBufferCopy* = object
1764 srcOffset*: VkDeviceSize
1765 dstOffset*: VkDeviceSize
1766 size*: VkDeviceSize
1767
1768 VkSparseMemoryBind* = object
1769 resourceOffset*: VkDeviceSize
1770 size*: VkDeviceSize
1771 memory*: VkDeviceMemory
1772 memoryOffset*: VkDeviceSize
1773 flags*: VkSparseMemoryBindFlags
1774
1775 VkSparseImageMemoryBind* = object
1776 subresource*: VkImageSubresource
1777 offset*: VkOffset3D
1778 extent*: VkExtent3D
1779 memory*: VkDeviceMemory
1780 memoryOffset*: VkDeviceSize
1781 flags*: VkSparseMemoryBindFlags
1782
1783 VkSparseBufferMemoryBindInfo* = object
1784 buffer*: VkBuffer
1785 bindCount*: uint32
1786 pBinds*: ptr VkSparseMemoryBind
1787
1788 VkSparseImageOpaqueMemoryBindInfo* = object
1789 image*: VkImage
1790 bindCount*: uint32
1791 pBinds*: ptr VkSparseMemoryBind
1792
1793 VkSparseImageMemoryBindInfo* = object
1794 image*: VkImage
1795 bindCount*: uint32
1796 pBinds*: ptr VkSparseImageMemoryBind
1797
1798 VkBindSparseInfo* = object
1799 sType*: VkStructureType
1800 pNext*: pointer
1801 waitSemaphoreCount*: uint32
1802 pWaitSemaphores*: ptr VkSemaphore
1803 bufferBindCount*: uint32
1804 pBufferBinds*: ptr VkSparseBufferMemoryBindInfo
1805 imageOpaqueBindCount*: uint32
1806 pImageOpaqueBinds*: ptr VkSparseImageOpaqueMemoryBindInfo
1807 imageBindCount*: uint32
1808 pImageBinds*: ptr VkSparseImageMemoryBindInfo
1809 signalSemaphoreCount*: uint32
1810 pSignalSemaphores*: ptr VkSemaphore
1811
1812 VkImageCopy* = object
1813 srcSubresource*: VkImageSubresourceLayers
1814 srcOffset*: VkOffset3D
1815 dstSubresource*: VkImageSubresourceLayers
1816 dstOffset*: VkOffset3D
1817 extent*: VkExtent3D
1818
1819 VkImageBlit* = object
1820 srcSubresource*: VkImageSubresourceLayers
1821 srcOffsets*: array[2, VkOffset3D]
1822 dstSubresource*: VkImageSubresourceLayers
1823 dstOffsets*: array[2, VkOffset3D]
1824
1825 VkBufferImageCopy* = object
1826 bufferOffset*: VkDeviceSize
1827 bufferRowLength*: uint32
1828 bufferImageHeight*: uint32
1829 imageSubresource*: VkImageSubresourceLayers
1830 imageOffset*: VkOffset3D
1831 imageExtent*: VkExtent3D
1832
1833 VkImageResolve* = object
1834 srcSubresource*: VkImageSubresourceLayers
1835 srcOffset*: VkOffset3D
1836 dstSubresource*: VkImageSubresourceLayers
1837 dstOffset*: VkOffset3D
1838 extent*: VkExtent3D
1839
1840 VkShaderModuleCreateInfo* = object
1841 sType*: VkStructureType
1842 pNext*: pointer
1843 flags*: VkShaderModuleCreateFlags
1844 codeSize*: uint
1845 pCode*: ptr uint32
1846
1847 VkDescriptorSetLayoutBinding* = object
1848 binding*: uint32
1849 descriptorType*: VkDescriptorType
1850 descriptorCount*: uint32
1851 stageFlags*: VkShaderStageFlags
1852 pImmutableSamplers*: ptr VkSampler
1853
1854 VkDescriptorSetLayoutCreateInfo* = object
1855 sType*: VkStructureType
1856 pNext*: pointer
1857 flags*: VkDescriptorSetLayoutCreateFlags
1858 bindingCount*: uint32
1859 pBindings*: ptr VkDescriptorSetLayoutBinding
1860
1861 VkDescriptorPoolSize* = object
1862 `type`*: VkDescriptorType
1863 descriptorCount*: uint32
1864
1865 VkDescriptorPoolCreateInfo* = object
1866 sType*: VkStructureType
1867 pNext*: pointer
1868 flags*: VkDescriptorPoolCreateFlags
1869 maxSets*: uint32
1870 poolSizeCount*: uint32
1871 pPoolSizes*: ptr VkDescriptorPoolSize
1872
1873 VkDescriptorSetAllocateInfo* = object
1874 sType*: VkStructureType
1875 pNext*: pointer
1876 descriptorPool*: VkDescriptorPool
1877 descriptorSetCount*: uint32
1878 pSetLayouts*: ptr VkDescriptorSetLayout
1879
1880 VkSpecializationMapEntry* = object
1881 constantID*: uint32
1882 offset*: uint32
1883 size*: uint
1884
1885 VkSpecializationInfo* = object
1886 mapEntryCount*: uint32
1887 pMapEntries*: ptr VkSpecializationMapEntry
1888 dataSize*: uint
1889 pData*: pointer
1890
1891 VkPipelineShaderStageCreateInfo* = object
1892 sType*: VkStructureType
1893 pNext*: pointer
1894 flags*: VkPipelineShaderStageCreateFlags
1895 stage*: VkShaderStageFlagBits
1896 module*: VkShaderModule
1897 pName*: cstring
1898 pSpecializationInfo*: ptr VkSpecializationInfo
1899
1900 VkComputePipelineCreateInfo* = object
1901 sType*: VkStructureType
1902 pNext*: pointer
1903 flags*: VkPipelineCreateFlags
1904 stage*: VkPipelineShaderStageCreateInfo
1905 layout*: VkPipelineLayout
1906 basePipelineHandle*: VkPipeline
1907 basePipelineIndex*: int32
1908
1909 VkVertexInputBindingDescription* = object
1910 binding*: uint32
1911 stride*: uint32
1912 inputRate*: VkVertexInputRate
1913
1914 VkVertexInputAttributeDescription* = object
1915 location*: uint32
1916 binding*: uint32
1917 format*: VkFormat
1918 offset*: uint32
1919
1920 VkPipelineVertexInputStateCreateInfo* = object
1921 sType*: VkStructureType
1922 pNext*: pointer
1923 flags*: VkPipelineVertexInputStateCreateFlags
1924 vertexBindingDescriptionCount*: uint32
1925 pVertexBindingDescriptions*: ptr VkVertexInputBindingDescription
1926 vertexAttributeDescriptionCount*: uint32
1927 pVertexAttributeDescriptions*: ptr VkVertexInputAttributeDescription
1928
1929 VkPipelineInputAssemblyStateCreateInfo* = object
1930 sType*: VkStructureType
1931 pNext*: pointer
1932 flags*: VkPipelineInputAssemblyStateCreateFlags
1933 topology*: VkPrimitiveTopology
1934 primitiveRestartEnable*: VkBool32
1935
1936 VkPipelineTessellationStateCreateInfo* = object
1937 sType*: VkStructureType
1938 pNext*: pointer
1939 flags*: VkPipelineTessellationStateCreateFlags
1940 patchControlPoints*: uint32
1941
1942 VkPipelineViewportStateCreateInfo* = object
1943 sType*: VkStructureType
1944 pNext*: pointer
1945 flags*: VkPipelineViewportStateCreateFlags
1946 viewportCount*: uint32
1947 pViewports*: ptr VkViewport
1948 scissorCount*: uint32
1949 pScissors*: ptr VkRect2D
1950
1951 VkPipelineRasterizationStateCreateInfo* = object
1952 sType*: VkStructureType
1953 pNext*: pointer
1954 flags*: VkPipelineRasterizationStateCreateFlags
1955 depthClampEnable*: VkBool32
1956 rasterizerDiscardEnable*: VkBool32
1957 polygonMode*: VkPolygonMode
1958 cullMode*: VkCullModeFlags
1959 frontFace*: VkFrontFace
1960 depthBiasEnable*: VkBool32
1961 depthBiasConstantFactor*: float32
1962 depthBiasClamp*: float32
1963 depthBiasSlopeFactor*: float32
1964 lineWidth*: float32
1965
1966 VkPipelineMultisampleStateCreateInfo* = object
1967 sType*: VkStructureType
1968 pNext*: pointer
1969 flags*: VkPipelineMultisampleStateCreateFlags
1970 rasterizationSamples*: VkSampleCountFlagBits
1971 sampleShadingEnable*: VkBool32
1972 minSampleShading*: float32
1973 pSampleMask*: ptr VkSampleMask
1974 alphaToCoverageEnable*: VkBool32
1975 alphaToOneEnable*: VkBool32
1976
1977 VkPipelineColorBlendAttachmentState* = object
1978 blendEnable*: VkBool32
1979 srcColorBlendFactor*: VkBlendFactor
1980 dstColorBlendFactor*: VkBlendFactor
1981 colorBlendOp*: VkBlendOp
1982 srcAlphaBlendFactor*: VkBlendFactor
1983 dstAlphaBlendFactor*: VkBlendFactor
1984 alphaBlendOp*: VkBlendOp
1985 colorWriteMask*: VkColorComponentFlags
1986
1987 VkPipelineColorBlendStateCreateInfo* = object
1988 sType*: VkStructureType
1989 pNext*: pointer
1990 flags*: VkPipelineColorBlendStateCreateFlags
1991 logicOpEnable*: VkBool32
1992 logicOp*: VkLogicOp
1993 attachmentCount*: uint32
1994 pAttachments*: ptr VkPipelineColorBlendAttachmentState
1995 blendConstants*: array[4, float32]
1996
1997 VkPipelineDynamicStateCreateInfo* = object
1998 sType*: VkStructureType
1999 pNext*: pointer
2000 flags*: VkPipelineDynamicStateCreateFlags
2001 dynamicStateCount*: uint32
2002 pDynamicStates*: ptr VkDynamicState
2003
2004 VkStencilOpState* = object
2005 failOp*: VkStencilOp
2006 passOp*: VkStencilOp
2007 depthFailOp*: VkStencilOp
2008 compareOp*: VkCompareOp
2009 compareMask*: uint32
2010 writeMask*: uint32
2011 reference*: uint32
2012
2013 VkPipelineDepthStencilStateCreateInfo* = object
2014 sType*: VkStructureType
2015 pNext*: pointer
2016 flags*: VkPipelineDepthStencilStateCreateFlags
2017 depthTestEnable*: VkBool32
2018 depthWriteEnable*: VkBool32
2019 depthCompareOp*: VkCompareOp
2020 depthBoundsTestEnable*: VkBool32
2021 stencilTestEnable*: VkBool32
2022 front*: VkStencilOpState
2023 back*: VkStencilOpState
2024 minDepthBounds*: float32
2025 maxDepthBounds*: float32
2026
2027 VkGraphicsPipelineCreateInfo* = object
2028 sType*: VkStructureType
2029 pNext*: pointer
2030 flags*: VkPipelineCreateFlags
2031 stageCount*: uint32
2032 pStages*: ptr VkPipelineShaderStageCreateInfo
2033 pVertexInputState*: ptr VkPipelineVertexInputStateCreateInfo
2034 pInputAssemblyState*: ptr VkPipelineInputAssemblyStateCreateInfo
2035 pTessellationState*: ptr VkPipelineTessellationStateCreateInfo
2036 pViewportState*: ptr VkPipelineViewportStateCreateInfo
2037 pRasterizationState*: ptr VkPipelineRasterizationStateCreateInfo
2038 pMultisampleState*: ptr VkPipelineMultisampleStateCreateInfo
2039 pDepthStencilState*: ptr VkPipelineDepthStencilStateCreateInfo
2040 pColorBlendState*: ptr VkPipelineColorBlendStateCreateInfo
2041 pDynamicState*: ptr VkPipelineDynamicStateCreateInfo
2042 layout*: VkPipelineLayout
2043 renderPass*: VkRenderPass
2044 subpass*: uint32
2045 basePipelineHandle*: VkPipeline
2046 basePipelineIndex*: int32
2047
2048 VkPipelineCacheCreateInfo* = object
2049 sType*: VkStructureType
2050 pNext*: pointer
2051 flags*: VkPipelineCacheCreateFlags
2052 initialDataSize*: uint
2053 pInitialData*: pointer
2054
2055 VkPushConstantRange* = object
2056 stageFlags*: VkShaderStageFlags
2057 offset*: uint32
2058 size*: uint32
2059
2060 VkPipelineLayoutCreateInfo* = object
2061 sType*: VkStructureType
2062 pNext*: pointer
2063 flags*: VkPipelineLayoutCreateFlags
2064 setLayoutCount*: uint32
2065 pSetLayouts*: ptr VkDescriptorSetLayout
2066 pushConstantRangeCount*: uint32
2067 pPushConstantRanges*: ptr VkPushConstantRange
2068
2069 VkSamplerCreateInfo* = object
2070 sType*: VkStructureType
2071 pNext*: pointer
2072 flags*: VkSamplerCreateFlags
2073 magFilter*: VkFilter
2074 minFilter*: VkFilter
2075 mipmapMode*: VkSamplerMipmapMode
2076 addressModeU*: VkSamplerAddressMode
2077 addressModeV*: VkSamplerAddressMode
2078 addressModeW*: VkSamplerAddressMode
2079 mipLodBias*: float32
2080 anisotropyEnable*: VkBool32
2081 maxAnisotropy*: float32
2082 compareEnable*: VkBool32
2083 compareOp*: VkCompareOp
2084 minLod*: float32
2085 maxLod*: float32
2086 borderColor*: VkBorderColor
2087 unnormalizedCoordinates*: VkBool32
2088
2089 VkCommandPoolCreateInfo* = object
2090 sType*: VkStructureType
2091 pNext*: pointer
2092 flags*: VkCommandPoolCreateFlags
2093 queueFamilyIndex*: uint32
2094
2095 VkCommandBufferAllocateInfo* = object
2096 sType*: VkStructureType
2097 pNext*: pointer
2098 commandPool*: VkCommandPool
2099 level*: VkCommandBufferLevel
2100 commandBufferCount*: uint32
2101
2102 VkCommandBufferInheritanceInfo* = object
2103 sType*: VkStructureType
2104 pNext*: pointer
2105 renderPass*: VkRenderPass
2106 subpass*: uint32
2107 framebuffer*: VkFramebuffer
2108 occlusionQueryEnable*: VkBool32
2109 queryFlags*: VkQueryControlFlags
2110 pipelineStatistics*: VkQueryPipelineStatisticFlags
2111
2112 VkCommandBufferBeginInfo* = object
2113 sType*: VkStructureType
2114 pNext*: pointer
2115 flags*: VkCommandBufferUsageFlags
2116 pInheritanceInfo*: ptr VkCommandBufferInheritanceInfo
2117
2118 VkRenderPassBeginInfo* = object
2119 sType*: VkStructureType
2120 pNext*: pointer
2121 renderPass*: VkRenderPass
2122 framebuffer*: VkFramebuffer
2123 renderArea*: VkRect2D
2124 clearValueCount*: uint32
2125 pClearValues*: ptr VkClearValue
2126
2127 VkClearColorValue* {.union.} = object
2128 float32*: array[4, float32]
2129 int32*: array[4, int32]
2130 uint32*: array[4, uint32]
2131
2132 VkClearDepthStencilValue* = object
2133 depth*: float32
2134 stencil*: uint32
2135
2136 VkClearValue* {.union.} = object
2137 color*: VkClearColorValue
2138 depthStencil*: VkClearDepthStencilValue
2139
2140 VkClearAttachment* = object
2141 aspectMask*: VkImageAspectFlags
2142 colorAttachment*: uint32
2143 clearValue*: VkClearValue
2144
2145 VkAttachmentDescription* = object
2146 flags*: VkAttachmentDescriptionFlags
2147 format*: VkFormat
2148 samples*: VkSampleCountFlagBits
2149 loadOp*: VkAttachmentLoadOp
2150 storeOp*: VkAttachmentStoreOp
2151 stencilLoadOp*: VkAttachmentLoadOp
2152 stencilStoreOp*: VkAttachmentStoreOp
2153 initialLayout*: VkImageLayout
2154 finalLayout*: VkImageLayout
2155
2156 VkAttachmentReference* = object
2157 attachment*: uint32
2158 layout*: VkImageLayout
2159
2160 VkSubpassDescription* = object
2161 flags*: VkSubpassDescriptionFlags
2162 pipelineBindPoint*: VkPipelineBindPoint
2163 inputAttachmentCount*: uint32
2164 pInputAttachments*: ptr VkAttachmentReference
2165 colorAttachmentCount*: uint32
2166 pColorAttachments*: ptr VkAttachmentReference
2167 pResolveAttachments*: ptr VkAttachmentReference
2168 pDepthStencilAttachment*: ptr VkAttachmentReference
2169 preserveAttachmentCount*: uint32
2170 pPreserveAttachments*: ptr uint32
2171
2172 VkSubpassDependency* = object
2173 srcSubpass*: uint32
2174 dstSubpass*: uint32
2175 srcStageMask*: VkPipelineStageFlags
2176 dstStageMask*: VkPipelineStageFlags
2177 srcAccessMask*: VkAccessFlags
2178 dstAccessMask*: VkAccessFlags
2179 dependencyFlags*: VkDependencyFlags
2180
2181 VkRenderPassCreateInfo* = object
2182 sType*: VkStructureType
2183 pNext*: pointer
2184 flags*: VkRenderPassCreateFlags
2185 attachmentCount*: uint32
2186 pAttachments*: ptr VkAttachmentDescription
2187 subpassCount*: uint32
2188 pSubpasses*: ptr VkSubpassDescription
2189 dependencyCount*: uint32
2190 pDependencies*: ptr VkSubpassDependency
2191
2192 VkEventCreateInfo* = object
2193 sType*: VkStructureType
2194 pNext*: pointer
2195 flags*: VkEventCreateFlags
2196
2197 VkFenceCreateInfo* = object
2198 sType*: VkStructureType
2199 pNext*: pointer
2200 flags*: VkFenceCreateFlags
2201
2202 VkPhysicalDeviceFeatures* = object
2203 robustBufferAccess*: VkBool32
2204 fullDrawIndexUint32*: VkBool32
2205 imageCubeArray*: VkBool32
2206 independentBlend*: VkBool32
2207 geometryShader*: VkBool32
2208 tessellationShader*: VkBool32
2209 sampleRateShading*: VkBool32
2210 dualSrcBlend*: VkBool32
2211 logicOp*: VkBool32
2212 multiDrawIndirect*: VkBool32
2213 drawIndirectFirstInstance*: VkBool32
2214 depthClamp*: VkBool32
2215 depthBiasClamp*: VkBool32
2216 fillModeNonSolid*: VkBool32
2217 depthBounds*: VkBool32
2218 wideLines*: VkBool32
2219 largePoints*: VkBool32
2220 alphaToOne*: VkBool32
2221 multiViewport*: VkBool32
2222 samplerAnisotropy*: VkBool32
2223 textureCompressionETC2*: VkBool32
2224 textureCompressionASTC_LDR*: VkBool32
2225 textureCompressionBC*: VkBool32
2226 occlusionQueryPrecise*: VkBool32
2227 pipelineStatisticsQuery*: VkBool32
2228 vertexPipelineStoresAndAtomics*: VkBool32
2229 fragmentStoresAndAtomics*: VkBool32
2230 shaderTessellationAndGeometryPointSize*: VkBool32
2231 shaderImageGatherExtended*: VkBool32
2232 shaderStorageImageExtendedFormats*: VkBool32
2233 shaderStorageImageMultisample*: VkBool32
2234 shaderStorageImageReadWithoutFormat*: VkBool32
2235 shaderStorageImageWriteWithoutFormat*: VkBool32
2236 shaderUniformBufferArrayDynamicIndexing*: VkBool32
2237 shaderSampledImageArrayDynamicIndexing*: VkBool32
2238 shaderStorageBufferArrayDynamicIndexing*: VkBool32
2239 shaderStorageImageArrayDynamicIndexing*: VkBool32
2240 shaderClipDistance*: VkBool32
2241 shaderCullDistance*: VkBool32
2242 shaderFloat64*: VkBool32
2243 shaderInt64*: VkBool32
2244 shaderInt16*: VkBool32
2245 shaderResourceResidency*: VkBool32
2246 shaderResourceMinLod*: VkBool32
2247 sparseBinding*: VkBool32
2248 sparseResidencyBuffer*: VkBool32
2249 sparseResidencyImage2D*: VkBool32
2250 sparseResidencyImage3D*: VkBool32
2251 sparseResidency2Samples*: VkBool32
2252 sparseResidency4Samples*: VkBool32
2253 sparseResidency8Samples*: VkBool32
2254 sparseResidency16Samples*: VkBool32
2255 sparseResidencyAliased*: VkBool32
2256 variableMultisampleRate*: VkBool32
2257 inheritedQueries*: VkBool32
2258
2259 VkPhysicalDeviceSparseProperties* = object
2260 residencyStandard2DBlockShape*: VkBool32
2261 residencyStandard2DMultisampleBlockShape*: VkBool32
2262 residencyStandard3DBlockShape*: VkBool32
2263 residencyAlignedMipSize*: VkBool32
2264 residencyNonResidentStrict*: VkBool32
2265
2266 VkPhysicalDeviceLimits* = object
2267 maxImageDimension1D*: uint32
2268 maxImageDimension2D*: uint32
2269 maxImageDimension3D*: uint32
2270 maxImageDimensionCube*: uint32
2271 maxImageArrayLayers*: uint32
2272 maxTexelBufferElements*: uint32
2273 maxUniformBufferRange*: uint32
2274 maxStorageBufferRange*: uint32
2275 maxPushConstantsSize*: uint32
2276 maxMemoryAllocationCount*: uint32
2277 maxSamplerAllocationCount*: uint32
2278 bufferImageGranularity*: VkDeviceSize
2279 sparseAddressSpaceSize*: VkDeviceSize
2280 maxBoundDescriptorSets*: uint32
2281 maxPerStageDescriptorSamplers*: uint32
2282 maxPerStageDescriptorUniformBuffers*: uint32
2283 maxPerStageDescriptorStorageBuffers*: uint32
2284 maxPerStageDescriptorSampledImages*: uint32
2285 maxPerStageDescriptorStorageImages*: uint32
2286 maxPerStageDescriptorInputAttachments*: uint32
2287 maxPerStageResources*: uint32
2288 maxDescriptorSetSamplers*: uint32
2289 maxDescriptorSetUniformBuffers*: uint32
2290 maxDescriptorSetUniformBuffersDynamic*: uint32
2291 maxDescriptorSetStorageBuffers*: uint32
2292 maxDescriptorSetStorageBuffersDynamic*: uint32
2293 maxDescriptorSetSampledImages*: uint32
2294 maxDescriptorSetStorageImages*: uint32
2295 maxDescriptorSetInputAttachments*: uint32
2296 maxVertexInputAttributes*: uint32
2297 maxVertexInputBindings*: uint32
2298 maxVertexInputAttributeOffset*: uint32
2299 maxVertexInputBindingStride*: uint32
2300 maxVertexOutputComponents*: uint32
2301 maxTessellationGenerationLevel*: uint32
2302 maxTessellationPatchSize*: uint32
2303 maxTessellationControlPerVertexInputComponents*: uint32
2304 maxTessellationControlPerVertexOutputComponents*: uint32
2305 maxTessellationControlPerPatchOutputComponents*: uint32
2306 maxTessellationControlTotalOutputComponents*: uint32
2307 maxTessellationEvaluationInputComponents*: uint32
2308 maxTessellationEvaluationOutputComponents*: uint32
2309 maxGeometryShaderInvocations*: uint32
2310 maxGeometryInputComponents*: uint32
2311 maxGeometryOutputComponents*: uint32
2312 maxGeometryOutputVertices*: uint32
2313 maxGeometryTotalOutputComponents*: uint32
2314 maxFragmentInputComponents*: uint32
2315 maxFragmentOutputAttachments*: uint32
2316 maxFragmentDualSrcAttachments*: uint32
2317 maxFragmentCombinedOutputResources*: uint32
2318 maxComputeSharedMemorySize*: uint32
2319 maxComputeWorkGroupCount*: array[3, uint32]
2320 maxComputeWorkGroupInvocations*: uint32
2321 maxComputeWorkGroupSize*: array[3, uint32]
2322 subPixelPrecisionBits*: uint32
2323 subTexelPrecisionBits*: uint32
2324 mipmapPrecisionBits*: uint32
2325 maxDrawIndexedIndexValue*: uint32
2326 maxDrawIndirectCount*: uint32
2327 maxSamplerLodBias*: float32
2328 maxSamplerAnisotropy*: float32
2329 maxViewports*: uint32
2330 maxViewportDimensions*: array[2, uint32]
2331 viewportBoundsRange*: array[2, float32]
2332 viewportSubPixelBits*: uint32
2333 minMemoryMapAlignment*: uint
2334 minTexelBufferOffsetAlignment*: VkDeviceSize
2335 minUniformBufferOffsetAlignment*: VkDeviceSize
2336 minStorageBufferOffsetAlignment*: VkDeviceSize
2337 minTexelOffset*: int32
2338 maxTexelOffset*: uint32
2339 minTexelGatherOffset*: int32
2340 maxTexelGatherOffset*: uint32
2341 minInterpolationOffset*: float32
2342 maxInterpolationOffset*: float32
2343 subPixelInterpolationOffsetBits*: uint32
2344 maxFramebufferWidth*: uint32
2345 maxFramebufferHeight*: uint32
2346 maxFramebufferLayers*: uint32
2347 framebufferColorSampleCounts*: VkSampleCountFlags
2348 framebufferDepthSampleCounts*: VkSampleCountFlags
2349 framebufferStencilSampleCounts*: VkSampleCountFlags
2350 framebufferNoAttachmentsSampleCounts*: VkSampleCountFlags
2351 maxColorAttachments*: uint32
2352 sampledImageColorSampleCounts*: VkSampleCountFlags
2353 sampledImageIntegerSampleCounts*: VkSampleCountFlags
2354 sampledImageDepthSampleCounts*: VkSampleCountFlags
2355 sampledImageStencilSampleCounts*: VkSampleCountFlags
2356 storageImageSampleCounts*: VkSampleCountFlags
2357 maxSampleMaskWords*: uint32
2358 timestampComputeAndGraphics*: VkBool32
2359 timestampPeriod*: float32
2360 maxClipDistances*: uint32
2361 maxCullDistances*: uint32
2362 maxCombinedClipAndCullDistances*: uint32
2363 discreteQueuePriorities*: uint32
2364 pointSizeRange*: array[2, float32]
2365 lineWidthRange*: array[2, float32]
2366 pointSizeGranularity*: float32
2367 lineWidthGranularity*: float32
2368 strictLines*: VkBool32
2369 standardSampleLocations*: VkBool32
2370 optimalBufferCopyOffsetAlignment*: VkDeviceSize
2371 optimalBufferCopyRowPitchAlignment*: VkDeviceSize
2372 nonCoherentAtomSize*: VkDeviceSize
2373
2374 VkSemaphoreCreateInfo* = object
2375 sType*: VkStructureType
2376 pNext*: pointer
2377 flags*: VkSemaphoreCreateFlags
2378
2379 VkQueryPoolCreateInfo* = object
2380 sType*: VkStructureType
2381 pNext*: pointer
2382 flags*: VkQueryPoolCreateFlags
2383 queryType*: VkQueryType
2384 queryCount*: uint32
2385 pipelineStatistics*: VkQueryPipelineStatisticFlags
2386
2387 VkFramebufferCreateInfo* = object
2388 sType*: VkStructureType
2389 pNext*: pointer
2390 flags*: VkFramebufferCreateFlags
2391 renderPass*: VkRenderPass
2392 attachmentCount*: uint32
2393 pAttachments*: ptr VkImageView
2394 width*: uint32
2395 height*: uint32
2396 layers*: uint32
2397
2398 VkDrawIndirectCommand* = object
2399 vertexCount*: uint32
2400 instanceCount*: uint32
2401 firstVertex*: uint32
2402 firstInstance*: uint32
2403
2404 VkDrawIndexedIndirectCommand* = object
2405 indexCount*: uint32
2406 instanceCount*: uint32
2407 firstIndex*: uint32
2408 vertexOffset*: int32
2409 firstInstance*: uint32
2410
2411 VkDispatchIndirectCommand* = object
2412 x*: uint32
2413 y*: uint32
2414 z*: uint32
2415
2416 VkSubmitInfo* = object
2417 sType*: VkStructureType
2418 pNext*: pointer
2419 waitSemaphoreCount*: uint32
2420 pWaitSemaphores*: ptr VkSemaphore
2421 pWaitDstStageMask*: ptr VkPipelineStageFlags
2422 commandBufferCount*: uint32
2423 pCommandBuffers*: ptr VkCommandBuffer
2424 signalSemaphoreCount*: uint32
2425 pSignalSemaphores*: ptr VkSemaphore
2426
2427 VkDisplayPropertiesKHR* = object
2428 display*: VkDisplayKHR
2429 displayName*: cstring
2430 physicalDimensions*: VkExtent2D
2431 physicalResolution*: VkExtent2D
2432 supportedTransforms*: VkSurfaceTransformFlagsKHR
2433 planeReorderPossible*: VkBool32
2434 persistentContent*: VkBool32
2435
2436 VkDisplayPlanePropertiesKHR* = object
2437 currentDisplay*: VkDisplayKHR
2438 currentStackIndex*: uint32
2439
2440 VkDisplayModeParametersKHR* = object
2441 visibleRegion*: VkExtent2D
2442 refreshRate*: uint32
2443
2444 VkDisplayModePropertiesKHR* = object
2445 displayMode*: VkDisplayModeKHR
2446 parameters*: VkDisplayModeParametersKHR
2447
2448 VkDisplayModeCreateInfoKHR* = object
2449 sType*: VkStructureType
2450 pNext*: pointer
2451 flags*: VkDisplayModeCreateFlagsKHR
2452 parameters*: VkDisplayModeParametersKHR
2453
2454 VkDisplayPlaneCapabilitiesKHR* = object
2455 supportedAlpha*: VkDisplayPlaneAlphaFlagsKHR
2456 minSrcPosition*: VkOffset2D
2457 maxSrcPosition*: VkOffset2D
2458 minSrcExtent*: VkExtent2D
2459 maxSrcExtent*: VkExtent2D
2460 minDstPosition*: VkOffset2D
2461 maxDstPosition*: VkOffset2D
2462 minDstExtent*: VkExtent2D
2463 maxDstExtent*: VkExtent2D
2464
2465 VkDisplaySurfaceCreateInfoKHR* = object
2466 sType*: VkStructureType
2467 pNext*: pointer
2468 flags*: VkDisplaySurfaceCreateFlagsKHR
2469 displayMode*: VkDisplayModeKHR
2470 planeIndex*: uint32
2471 planeStackIndex*: uint32
2472 transform*: VkSurfaceTransformFlagBitsKHR
2473 globalAlpha*: float32
2474 alphaMode*: VkDisplayPlaneAlphaFlagBitsKHR
2475 imageExtent*: VkExtent2D
2476
2477 VkDisplayPresentInfoKHR* = object
2478 sType*: VkStructureType
2479 pNext*: pointer
2480 srcRect*: VkRect2D
2481 dstRect*: VkRect2D
2482 persistent*: VkBool32
2483
2484 VkSurfaceCapabilitiesKHR* = object
2485 minImageCount*: uint32
2486 maxImageCount*: uint32
2487 currentExtent*: VkExtent2D
2488 minImageExtent*: VkExtent2D
2489 maxImageExtent*: VkExtent2D
2490 maxImageArrayLayers*: uint32
2491 supportedTransforms*: VkSurfaceTransformFlagsKHR
2492 currentTransform*: VkSurfaceTransformFlagBitsKHR
2493 supportedCompositeAlpha*: VkCompositeAlphaFlagsKHR
2494 supportedUsageFlags*: VkImageUsageFlags
2495
2496 VkAndroidSurfaceCreateInfoKHR* = object
2497 sType*: VkStructureType
2498 pNext*: pointer
2499 flags*: VkAndroidSurfaceCreateFlagsKHR
2500 window*: ptr ANativeWindow
2501
2502 VkViSurfaceCreateInfoNN* = object
2503 sType*: VkStructureType
2504 pNext*: pointer
2505 flags*: VkViSurfaceCreateFlagsNN
2506 window*: pointer
2507
2508 VkWaylandSurfaceCreateInfoKHR* = object
2509 sType*: VkStructureType
2510 pNext*: pointer
2511 flags*: VkWaylandSurfaceCreateFlagsKHR
2512 display*: ptr wl_display
2513 surface*: ptr wl_surface
2514
2515 VkWin32SurfaceCreateInfoKHR* = object
2516 sType*: VkStructureType
2517 pNext*: pointer
2518 flags*: VkWin32SurfaceCreateFlagsKHR
2519 hinstance*: HINSTANCE
2520 hwnd*: HWND
2521
2522 VkXlibSurfaceCreateInfoKHR* = object
2523 sType*: VkStructureType
2524 pNext*: pointer
2525 flags*: VkXlibSurfaceCreateFlagsKHR
2526 dpy*: ptr Display
2527 window*: Window
2528
2529 VkXcbSurfaceCreateInfoKHR* = object
2530 sType*: VkStructureType
2531 pNext*: pointer
2532 flags*: VkXcbSurfaceCreateFlagsKHR
2533 connection*: ptr xcb_connection_t
2534 window*: xcb_window_t
2535
2536 VkDirectFBSurfaceCreateInfoEXT* = object
2537 sType*: VkStructureType
2538 pNext*: pointer
2539 flags*: VkDirectFBSurfaceCreateFlagsEXT
2540 dfb*: ptr IDirectFB
2541 surface*: ptr IDirectFBSurface
2542
2543 VkImagePipeSurfaceCreateInfoFUCHSIA* = object
2544 sType*: VkStructureType
2545 pNext*: pointer
2546 flags*: VkImagePipeSurfaceCreateFlagsFUCHSIA
2547 imagePipeHandle*: zx_handle_t
2548
2549 VkStreamDescriptorSurfaceCreateInfoGGP* = object
2550 sType*: VkStructureType
2551 pNext*: pointer
2552 flags*: VkStreamDescriptorSurfaceCreateFlagsGGP
2553 streamDescriptor*: GgpStreamDescriptor
2554
2555 VkSurfaceFormatKHR* = object
2556 format*: VkFormat
2557 colorSpace*: VkColorSpaceKHR
2558
2559 VkSwapchainCreateInfoKHR* = object
2560 sType*: VkStructureType
2561 pNext*: pointer
2562 flags*: VkSwapchainCreateFlagsKHR
2563 surface*: VkSurfaceKHR
2564 minImageCount*: uint32
2565 imageFormat*: VkFormat
2566 imageColorSpace*: VkColorSpaceKHR
2567 imageExtent*: VkExtent2D
2568 imageArrayLayers*: uint32
2569 imageUsage*: VkImageUsageFlags
2570 imageSharingMode*: VkSharingMode
2571 queueFamilyIndexCount*: uint32
2572 pQueueFamilyIndices*: ptr uint32
2573 preTransform*: VkSurfaceTransformFlagBitsKHR
2574 compositeAlpha*: VkCompositeAlphaFlagBitsKHR
2575 presentMode*: VkPresentModeKHR
2576 clipped*: VkBool32
2577 oldSwapchain*: VkSwapchainKHR
2578
2579 VkPresentInfoKHR* = object
2580 sType*: VkStructureType
2581 pNext*: pointer
2582 waitSemaphoreCount*: uint32
2583 pWaitSemaphores*: ptr VkSemaphore
2584 swapchainCount*: uint32
2585 pSwapchains*: ptr VkSwapchainKHR
2586 pImageIndices*: ptr uint32
2587 pResults*: ptr VkResult
2588
2589 VkDebugReportCallbackCreateInfoEXT* = object
2590 sType*: VkStructureType
2591 pNext*: pointer
2592 flags*: VkDebugReportFlagsEXT
2593 pfnCallback*: PFN_vkDebugReportCallbackEXT
2594 pUserData*: pointer
2595
2596 VkValidationFlagsEXT* = object
2597 sType*: VkStructureType
2598 pNext*: pointer
2599 disabledValidationCheckCount*: uint32
2600 pDisabledValidationChecks*: ptr VkValidationCheckEXT
2601
2602 VkValidationFeaturesEXT* = object
2603 sType*: VkStructureType
2604 pNext*: pointer
2605 enabledValidationFeatureCount*: uint32
2606 pEnabledValidationFeatures*: ptr VkValidationFeatureEnableEXT
2607 disabledValidationFeatureCount*: uint32
2608 pDisabledValidationFeatures*: ptr VkValidationFeatureDisableEXT
2609
2610 VkPipelineRasterizationStateRasterizationOrderAMD* = object
2611 sType*: VkStructureType
2612 pNext*: pointer
2613 rasterizationOrder*: VkRasterizationOrderAMD
2614
2615 VkDebugMarkerObjectNameInfoEXT* = object
2616 sType*: VkStructureType
2617 pNext*: pointer
2618 objectType*: VkDebugReportObjectTypeEXT
2619 `object`*: uint64
2620 pObjectName*: cstring
2621
2622 VkDebugMarkerObjectTagInfoEXT* = object
2623 sType*: VkStructureType
2624 pNext*: pointer
2625 objectType*: VkDebugReportObjectTypeEXT
2626 `object`*: uint64
2627 tagName*: uint64
2628 tagSize*: uint
2629 pTag*: pointer
2630
2631 VkDebugMarkerMarkerInfoEXT* = object
2632 sType*: VkStructureType
2633 pNext*: pointer
2634 pMarkerName*: cstring
2635 color*: array[4, float32]
2636
2637 VkDedicatedAllocationImageCreateInfoNV* = object
2638 sType*: VkStructureType
2639 pNext*: pointer
2640 dedicatedAllocation*: VkBool32
2641
2642 VkDedicatedAllocationBufferCreateInfoNV* = object
2643 sType*: VkStructureType
2644 pNext*: pointer
2645 dedicatedAllocation*: VkBool32
2646
2647 VkDedicatedAllocationMemoryAllocateInfoNV* = object
2648 sType*: VkStructureType
2649 pNext*: pointer
2650 image*: VkImage
2651 buffer*: VkBuffer
2652
2653 VkExternalImageFormatPropertiesNV* = object
2654 imageFormatProperties*: VkImageFormatProperties
2655 externalMemoryFeatures*: VkExternalMemoryFeatureFlagsNV
2656 exportFromImportedHandleTypes*: VkExternalMemoryHandleTypeFlagsNV
2657 compatibleHandleTypes*: VkExternalMemoryHandleTypeFlagsNV
2658
2659 VkExternalMemoryImageCreateInfoNV* = object
2660 sType*: VkStructureType
2661 pNext*: pointer
2662 handleTypes*: VkExternalMemoryHandleTypeFlagsNV
2663
2664 VkExportMemoryAllocateInfoNV* = object
2665 sType*: VkStructureType
2666 pNext*: pointer
2667 handleTypes*: VkExternalMemoryHandleTypeFlagsNV
2668
2669 VkImportMemoryWin32HandleInfoNV* = object
2670 sType*: VkStructureType
2671 pNext*: pointer
2672 handleType*: VkExternalMemoryHandleTypeFlagsNV
2673 handle*: HANDLE
2674
2675 VkExportMemoryWin32HandleInfoNV* = object
2676 sType*: VkStructureType
2677 pNext*: pointer
2678 pAttributes*: ptr SECURITY_ATTRIBUTES
2679 dwAccess*: DWORD
2680
2681 VkWin32KeyedMutexAcquireReleaseInfoNV* = object
2682 sType*: VkStructureType
2683 pNext*: pointer
2684 acquireCount*: uint32
2685 pAcquireSyncs*: ptr VkDeviceMemory
2686 pAcquireKeys*: ptr uint64
2687 pAcquireTimeoutMilliseconds*: ptr uint32
2688 releaseCount*: uint32
2689 pReleaseSyncs*: ptr VkDeviceMemory
2690 pReleaseKeys*: ptr uint64
2691
2692 VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV* = object
2693 sType*: VkStructureType
2694 pNext*: pointer
2695 deviceGeneratedCommands*: VkBool32
2696
2697 VkDevicePrivateDataCreateInfoEXT* = object
2698 sType*: VkStructureType
2699 pNext*: pointer
2700 privateDataSlotRequestCount*: uint32
2701
2702 VkPrivateDataSlotCreateInfoEXT* = object
2703 sType*: VkStructureType
2704 pNext*: pointer
2705 flags*: VkPrivateDataSlotCreateFlagsEXT
2706
2707 VkPhysicalDevicePrivateDataFeaturesEXT* = object
2708 sType*: VkStructureType
2709 pNext*: pointer
2710 privateData*: VkBool32
2711
2712 VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV* = object
2713 sType*: VkStructureType
2714 pNext*: pointer
2715 maxGraphicsShaderGroupCount*: uint32
2716 maxIndirectSequenceCount*: uint32
2717 maxIndirectCommandsTokenCount*: uint32
2718 maxIndirectCommandsStreamCount*: uint32
2719 maxIndirectCommandsTokenOffset*: uint32
2720 maxIndirectCommandsStreamStride*: uint32
2721 minSequencesCountBufferOffsetAlignment*: uint32
2722 minSequencesIndexBufferOffsetAlignment*: uint32
2723 minIndirectCommandsBufferOffsetAlignment*: uint32
2724
2725 VkGraphicsShaderGroupCreateInfoNV* = object
2726 sType*: VkStructureType
2727 pNext*: pointer
2728 stageCount*: uint32
2729 pStages*: ptr VkPipelineShaderStageCreateInfo
2730 pVertexInputState*: ptr VkPipelineVertexInputStateCreateInfo
2731 pTessellationState*: ptr VkPipelineTessellationStateCreateInfo
2732
2733 VkGraphicsPipelineShaderGroupsCreateInfoNV* = object
2734 sType*: VkStructureType
2735 pNext*: pointer
2736 groupCount*: uint32
2737 pGroups*: ptr VkGraphicsShaderGroupCreateInfoNV
2738 pipelineCount*: uint32
2739 pPipelines*: ptr VkPipeline
2740
2741 VkBindShaderGroupIndirectCommandNV* = object
2742 groupIndex*: uint32
2743
2744 VkBindIndexBufferIndirectCommandNV* = object
2745 bufferAddress*: VkDeviceAddress
2746 size*: uint32
2747 indexType*: VkIndexType
2748
2749 VkBindVertexBufferIndirectCommandNV* = object
2750 bufferAddress*: VkDeviceAddress
2751 size*: uint32
2752 stride*: uint32
2753
2754 VkSetStateFlagsIndirectCommandNV* = object
2755 data*: uint32
2756
2757 VkIndirectCommandsStreamNV* = object
2758 buffer*: VkBuffer
2759 offset*: VkDeviceSize
2760
2761 VkIndirectCommandsLayoutTokenNV* = object
2762 sType*: VkStructureType
2763 pNext*: pointer
2764 tokenType*: VkIndirectCommandsTokenTypeNV
2765 stream*: uint32
2766 offset*: uint32
2767 vertexBindingUnit*: uint32
2768 vertexDynamicStride*: VkBool32
2769 pushconstantPipelineLayout*: VkPipelineLayout
2770 pushconstantShaderStageFlags*: VkShaderStageFlags
2771 pushconstantOffset*: uint32
2772 pushconstantSize*: uint32
2773 indirectStateFlags*: VkIndirectStateFlagsNV
2774 indexTypeCount*: uint32
2775 pIndexTypes*: ptr VkIndexType
2776 pIndexTypeValues*: ptr uint32
2777
2778 VkIndirectCommandsLayoutCreateInfoNV* = object
2779 sType*: VkStructureType
2780 pNext*: pointer
2781 flags*: VkIndirectCommandsLayoutUsageFlagsNV
2782 pipelineBindPoint*: VkPipelineBindPoint
2783 tokenCount*: uint32
2784 pTokens*: ptr VkIndirectCommandsLayoutTokenNV
2785 streamCount*: uint32
2786 pStreamStrides*: ptr uint32
2787
2788 VkGeneratedCommandsInfoNV* = object
2789 sType*: VkStructureType
2790 pNext*: pointer
2791 pipelineBindPoint*: VkPipelineBindPoint
2792 pipeline*: VkPipeline
2793 indirectCommandsLayout*: VkIndirectCommandsLayoutNV
2794 streamCount*: uint32
2795 pStreams*: ptr VkIndirectCommandsStreamNV
2796 sequencesCount*: uint32
2797 preprocessBuffer*: VkBuffer
2798 preprocessOffset*: VkDeviceSize
2799 preprocessSize*: VkDeviceSize
2800 sequencesCountBuffer*: VkBuffer
2801 sequencesCountOffset*: VkDeviceSize
2802 sequencesIndexBuffer*: VkBuffer
2803 sequencesIndexOffset*: VkDeviceSize
2804
2805 VkGeneratedCommandsMemoryRequirementsInfoNV* = object
2806 sType*: VkStructureType
2807 pNext*: pointer
2808 pipelineBindPoint*: VkPipelineBindPoint
2809 pipeline*: VkPipeline
2810 indirectCommandsLayout*: VkIndirectCommandsLayoutNV
2811 maxSequencesCount*: uint32
2812
2813 VkPhysicalDeviceFeatures2* = object
2814 sType*: VkStructureType
2815 pNext*: pointer
2816 features*: VkPhysicalDeviceFeatures
2817
2818 VkPhysicalDeviceFeatures2KHR* = object
2819
2820 VkPhysicalDeviceProperties2* = object
2821 sType*: VkStructureType
2822 pNext*: pointer
2823 properties*: VkPhysicalDeviceProperties
2824
2825 VkPhysicalDeviceProperties2KHR* = object
2826
2827 VkFormatProperties2* = object
2828 sType*: VkStructureType
2829 pNext*: pointer
2830 formatProperties*: VkFormatProperties
2831
2832 VkFormatProperties2KHR* = object
2833
2834 VkImageFormatProperties2* = object
2835 sType*: VkStructureType
2836 pNext*: pointer
2837 imageFormatProperties*: VkImageFormatProperties
2838
2839 VkImageFormatProperties2KHR* = object
2840
2841 VkPhysicalDeviceImageFormatInfo2* = object
2842 sType*: VkStructureType
2843 pNext*: pointer
2844 format*: VkFormat
2845 `type`*: VkImageType
2846 tiling*: VkImageTiling
2847 usage*: VkImageUsageFlags
2848 flags*: VkImageCreateFlags
2849
2850 VkPhysicalDeviceImageFormatInfo2KHR* = object
2851
2852 VkQueueFamilyProperties2* = object
2853 sType*: VkStructureType
2854 pNext*: pointer
2855 queueFamilyProperties*: VkQueueFamilyProperties
2856
2857 VkQueueFamilyProperties2KHR* = object
2858
2859 VkPhysicalDeviceMemoryProperties2* = object
2860 sType*: VkStructureType
2861 pNext*: pointer
2862 memoryProperties*: VkPhysicalDeviceMemoryProperties
2863
2864 VkPhysicalDeviceMemoryProperties2KHR* = object
2865
2866 VkSparseImageFormatProperties2* = object
2867 sType*: VkStructureType
2868 pNext*: pointer
2869 properties*: VkSparseImageFormatProperties
2870
2871 VkSparseImageFormatProperties2KHR* = object
2872
2873 VkPhysicalDeviceSparseImageFormatInfo2* = object
2874 sType*: VkStructureType
2875 pNext*: pointer
2876 format*: VkFormat
2877 `type`*: VkImageType
2878 samples*: VkSampleCountFlagBits
2879 usage*: VkImageUsageFlags
2880 tiling*: VkImageTiling
2881
2882 VkPhysicalDeviceSparseImageFormatInfo2KHR* = object
2883
2884 VkPhysicalDevicePushDescriptorPropertiesKHR* = object
2885 sType*: VkStructureType
2886 pNext*: pointer
2887 maxPushDescriptors*: uint32
2888
2889 VkConformanceVersion* = object
2890 major*: uint8
2891 minor*: uint8
2892 subminor*: uint8
2893 patch*: uint8
2894
2895 VkConformanceVersionKHR* = object
2896
2897 VkPhysicalDeviceDriverProperties* = object
2898 sType*: VkStructureType
2899 pNext*: pointer
2900 driverID*: VkDriverId
2901 driverName*: array[VK_MAX_DRIVER_NAME_SIZE, char]
2902 driverInfo*: array[VK_MAX_DRIVER_INFO_SIZE, char]
2903 conformanceVersion*: VkConformanceVersion
2904
2905 VkPhysicalDeviceDriverPropertiesKHR* = object
2906
2907 VkPresentRegionsKHR* = object
2908 sType*: VkStructureType
2909 pNext*: pointer
2910 swapchainCount*: uint32
2911 pRegions*: ptr VkPresentRegionKHR
2912
2913 VkPresentRegionKHR* = object
2914 rectangleCount*: uint32
2915 pRectangles*: ptr VkRectLayerKHR
2916
2917 VkRectLayerKHR* = object
2918 offset*: VkOffset2D
2919 extent*: VkExtent2D
2920 layer*: uint32
2921
2922 VkPhysicalDeviceVariablePointersFeatures* = object
2923 sType*: VkStructureType
2924 pNext*: pointer
2925 variablePointersStorageBuffer*: VkBool32
2926 variablePointers*: VkBool32
2927
2928 VkPhysicalDeviceVariablePointersFeaturesKHR* = object
2929
2930 VkPhysicalDeviceVariablePointerFeaturesKHR* = object
2931
2932 VkPhysicalDeviceVariablePointerFeatures* = object
2933
2934 VkExternalMemoryProperties* = object
2935 externalMemoryFeatures*: VkExternalMemoryFeatureFlags
2936 exportFromImportedHandleTypes*: VkExternalMemoryHandleTypeFlags
2937 compatibleHandleTypes*: VkExternalMemoryHandleTypeFlags
2938
2939 VkExternalMemoryPropertiesKHR* = object
2940
2941 VkPhysicalDeviceExternalImageFormatInfo* = object
2942 sType*: VkStructureType
2943 pNext*: pointer
2944 handleType*: VkExternalMemoryHandleTypeFlagBits
2945
2946 VkPhysicalDeviceExternalImageFormatInfoKHR* = object
2947
2948 VkExternalImageFormatProperties* = object
2949 sType*: VkStructureType
2950 pNext*: pointer
2951 externalMemoryProperties*: VkExternalMemoryProperties
2952
2953 VkExternalImageFormatPropertiesKHR* = object
2954
2955 VkPhysicalDeviceExternalBufferInfo* = object
2956 sType*: VkStructureType
2957 pNext*: pointer
2958 flags*: VkBufferCreateFlags
2959 usage*: VkBufferUsageFlags
2960 handleType*: VkExternalMemoryHandleTypeFlagBits
2961
2962 VkPhysicalDeviceExternalBufferInfoKHR* = object
2963
2964 VkExternalBufferProperties* = object
2965 sType*: VkStructureType
2966 pNext*: pointer
2967 externalMemoryProperties*: VkExternalMemoryProperties
2968
2969 VkExternalBufferPropertiesKHR* = object
2970
2971 VkPhysicalDeviceIDProperties* = object
2972 sType*: VkStructureType
2973 pNext*: pointer
2974 deviceUUID*: array[VK_UUID_SIZE, uint8]
2975 driverUUID*: array[VK_UUID_SIZE, uint8]
2976 deviceLUID*: array[VK_LUID_SIZE, uint8]
2977 deviceNodeMask*: uint32
2978 deviceLUIDValid*: VkBool32
2979
2980 VkPhysicalDeviceIDPropertiesKHR* = object
2981
2982 VkExternalMemoryImageCreateInfo* = object
2983 sType*: VkStructureType
2984 pNext*: pointer
2985 handleTypes*: VkExternalMemoryHandleTypeFlags
2986
2987 VkExternalMemoryImageCreateInfoKHR* = object
2988
2989 VkExternalMemoryBufferCreateInfo* = object
2990 sType*: VkStructureType
2991 pNext*: pointer
2992 handleTypes*: VkExternalMemoryHandleTypeFlags
2993
2994 VkExternalMemoryBufferCreateInfoKHR* = object
2995
2996 VkExportMemoryAllocateInfo* = object
2997 sType*: VkStructureType
2998 pNext*: pointer
2999 handleTypes*: VkExternalMemoryHandleTypeFlags
3000
3001 VkExportMemoryAllocateInfoKHR* = object
3002
3003 VkImportMemoryWin32HandleInfoKHR* = object
3004 sType*: VkStructureType
3005 pNext*: pointer
3006 handleType*: VkExternalMemoryHandleTypeFlagBits
3007 handle*: HANDLE
3008 name*: LPCWSTR
3009
3010 VkExportMemoryWin32HandleInfoKHR* = object
3011 sType*: VkStructureType
3012 pNext*: pointer
3013 pAttributes*: ptr SECURITY_ATTRIBUTES
3014 dwAccess*: DWORD
3015 name*: LPCWSTR
3016
3017 VkMemoryWin32HandlePropertiesKHR* = object
3018 sType*: VkStructureType
3019 pNext*: pointer
3020 memoryTypeBits*: uint32
3021
3022 VkMemoryGetWin32HandleInfoKHR* = object
3023 sType*: VkStructureType
3024 pNext*: pointer
3025 memory*: VkDeviceMemory
3026 handleType*: VkExternalMemoryHandleTypeFlagBits
3027
3028 VkImportMemoryFdInfoKHR* = object
3029 sType*: VkStructureType
3030 pNext*: pointer
3031 handleType*: VkExternalMemoryHandleTypeFlagBits
3032 fd*: int
3033
3034 VkMemoryFdPropertiesKHR* = object
3035 sType*: VkStructureType
3036 pNext*: pointer
3037 memoryTypeBits*: uint32
3038
3039 VkMemoryGetFdInfoKHR* = object
3040 sType*: VkStructureType
3041 pNext*: pointer
3042 memory*: VkDeviceMemory
3043 handleType*: VkExternalMemoryHandleTypeFlagBits
3044
3045 VkWin32KeyedMutexAcquireReleaseInfoKHR* = object
3046 sType*: VkStructureType
3047 pNext*: pointer
3048 acquireCount*: uint32
3049 pAcquireSyncs*: ptr VkDeviceMemory
3050 pAcquireKeys*: ptr uint64
3051 pAcquireTimeouts*: ptr uint32
3052 releaseCount*: uint32
3053 pReleaseSyncs*: ptr VkDeviceMemory
3054 pReleaseKeys*: ptr uint64
3055
3056 VkPhysicalDeviceExternalSemaphoreInfo* = object
3057 sType*: VkStructureType
3058 pNext*: pointer
3059 handleType*: VkExternalSemaphoreHandleTypeFlagBits
3060
3061 VkPhysicalDeviceExternalSemaphoreInfoKHR* = object
3062
3063 VkExternalSemaphoreProperties* = object
3064 sType*: VkStructureType
3065 pNext*: pointer
3066 exportFromImportedHandleTypes*: VkExternalSemaphoreHandleTypeFlags
3067 compatibleHandleTypes*: VkExternalSemaphoreHandleTypeFlags
3068 externalSemaphoreFeatures*: VkExternalSemaphoreFeatureFlags
3069
3070 VkExternalSemaphorePropertiesKHR* = object
3071
3072 VkExportSemaphoreCreateInfo* = object
3073 sType*: VkStructureType
3074 pNext*: pointer
3075 handleTypes*: VkExternalSemaphoreHandleTypeFlags
3076
3077 VkExportSemaphoreCreateInfoKHR* = object
3078
3079 VkImportSemaphoreWin32HandleInfoKHR* = object
3080 sType*: VkStructureType
3081 pNext*: pointer
3082 semaphore*: VkSemaphore
3083 flags*: VkSemaphoreImportFlags
3084 handleType*: VkExternalSemaphoreHandleTypeFlagBits
3085 handle*: HANDLE
3086 name*: LPCWSTR
3087
3088 VkExportSemaphoreWin32HandleInfoKHR* = object
3089 sType*: VkStructureType
3090 pNext*: pointer
3091 pAttributes*: ptr SECURITY_ATTRIBUTES
3092 dwAccess*: DWORD
3093 name*: LPCWSTR
3094
3095 VkD3D12FenceSubmitInfoKHR* = object
3096 sType*: VkStructureType
3097 pNext*: pointer
3098 waitSemaphoreValuesCount*: uint32
3099 pWaitSemaphoreValues*: ptr uint64
3100 signalSemaphoreValuesCount*: uint32
3101 pSignalSemaphoreValues*: ptr uint64
3102
3103 VkSemaphoreGetWin32HandleInfoKHR* = object
3104 sType*: VkStructureType
3105 pNext*: pointer
3106 semaphore*: VkSemaphore
3107 handleType*: VkExternalSemaphoreHandleTypeFlagBits
3108
3109 VkImportSemaphoreFdInfoKHR* = object
3110 sType*: VkStructureType
3111 pNext*: pointer
3112 semaphore*: VkSemaphore
3113 flags*: VkSemaphoreImportFlags
3114 handleType*: VkExternalSemaphoreHandleTypeFlagBits
3115 fd*: int
3116
3117 VkSemaphoreGetFdInfoKHR* = object
3118 sType*: VkStructureType
3119 pNext*: pointer
3120 semaphore*: VkSemaphore
3121 handleType*: VkExternalSemaphoreHandleTypeFlagBits
3122
3123 VkPhysicalDeviceExternalFenceInfo* = object
3124 sType*: VkStructureType
3125 pNext*: pointer
3126 handleType*: VkExternalFenceHandleTypeFlagBits
3127
3128 VkPhysicalDeviceExternalFenceInfoKHR* = object
3129
3130 VkExternalFenceProperties* = object
3131 sType*: VkStructureType
3132 pNext*: pointer
3133 exportFromImportedHandleTypes*: VkExternalFenceHandleTypeFlags
3134 compatibleHandleTypes*: VkExternalFenceHandleTypeFlags
3135 externalFenceFeatures*: VkExternalFenceFeatureFlags
3136
3137 VkExternalFencePropertiesKHR* = object
3138
3139 VkExportFenceCreateInfo* = object
3140 sType*: VkStructureType
3141 pNext*: pointer
3142 handleTypes*: VkExternalFenceHandleTypeFlags
3143
3144 VkExportFenceCreateInfoKHR* = object
3145
3146 VkImportFenceWin32HandleInfoKHR* = object
3147 sType*: VkStructureType
3148 pNext*: pointer
3149 fence*: VkFence
3150 flags*: VkFenceImportFlags
3151 handleType*: VkExternalFenceHandleTypeFlagBits
3152 handle*: HANDLE
3153 name*: LPCWSTR
3154
3155 VkExportFenceWin32HandleInfoKHR* = object
3156 sType*: VkStructureType
3157 pNext*: pointer
3158 pAttributes*: ptr SECURITY_ATTRIBUTES
3159 dwAccess*: DWORD
3160 name*: LPCWSTR
3161
3162 VkFenceGetWin32HandleInfoKHR* = object
3163 sType*: VkStructureType
3164 pNext*: pointer
3165 fence*: VkFence
3166 handleType*: VkExternalFenceHandleTypeFlagBits
3167
3168 VkImportFenceFdInfoKHR* = object
3169 sType*: VkStructureType
3170 pNext*: pointer
3171 fence*: VkFence
3172 flags*: VkFenceImportFlags
3173 handleType*: VkExternalFenceHandleTypeFlagBits
3174 fd*: int
3175
3176 VkFenceGetFdInfoKHR* = object
3177 sType*: VkStructureType
3178 pNext*: pointer
3179 fence*: VkFence
3180 handleType*: VkExternalFenceHandleTypeFlagBits
3181
3182 VkPhysicalDeviceMultiviewFeatures* = object
3183 sType*: VkStructureType
3184 pNext*: pointer
3185 multiview*: VkBool32
3186 multiviewGeometryShader*: VkBool32
3187 multiviewTessellationShader*: VkBool32
3188
3189 VkPhysicalDeviceMultiviewFeaturesKHR* = object
3190
3191 VkPhysicalDeviceMultiviewProperties* = object
3192 sType*: VkStructureType
3193 pNext*: pointer
3194 maxMultiviewViewCount*: uint32
3195 maxMultiviewInstanceIndex*: uint32
3196
3197 VkPhysicalDeviceMultiviewPropertiesKHR* = object
3198
3199 VkRenderPassMultiviewCreateInfo* = object
3200 sType*: VkStructureType
3201 pNext*: pointer
3202 subpassCount*: uint32
3203 pViewMasks*: ptr uint32
3204 dependencyCount*: uint32
3205 pViewOffsets*: ptr int32
3206 correlationMaskCount*: uint32
3207 pCorrelationMasks*: ptr uint32
3208
3209 VkRenderPassMultiviewCreateInfoKHR* = object
3210
3211 VkSurfaceCapabilities2EXT* = object
3212 sType*: VkStructureType
3213 pNext*: pointer
3214 minImageCount*: uint32
3215 maxImageCount*: uint32
3216 currentExtent*: VkExtent2D
3217 minImageExtent*: VkExtent2D
3218 maxImageExtent*: VkExtent2D
3219 maxImageArrayLayers*: uint32
3220 supportedTransforms*: VkSurfaceTransformFlagsKHR
3221 currentTransform*: VkSurfaceTransformFlagBitsKHR
3222 supportedCompositeAlpha*: VkCompositeAlphaFlagsKHR
3223 supportedUsageFlags*: VkImageUsageFlags
3224 supportedSurfaceCounters*: VkSurfaceCounterFlagsEXT
3225
3226 VkDisplayPowerInfoEXT* = object
3227 sType*: VkStructureType
3228 pNext*: pointer
3229 powerState*: VkDisplayPowerStateEXT
3230
3231 VkDeviceEventInfoEXT* = object
3232 sType*: VkStructureType
3233 pNext*: pointer
3234 deviceEvent*: VkDeviceEventTypeEXT
3235
3236 VkDisplayEventInfoEXT* = object
3237 sType*: VkStructureType
3238 pNext*: pointer
3239 displayEvent*: VkDisplayEventTypeEXT
3240
3241 VkSwapchainCounterCreateInfoEXT* = object
3242 sType*: VkStructureType
3243 pNext*: pointer
3244 surfaceCounters*: VkSurfaceCounterFlagsEXT
3245
3246 VkPhysicalDeviceGroupProperties* = object
3247 sType*: VkStructureType
3248 pNext*: pointer
3249 physicalDeviceCount*: uint32
3250 physicalDevices*: array[VK_MAX_DEVICE_GROUP_SIZE, VkPhysicalDevice]
3251 subsetAllocation*: VkBool32
3252
3253 VkPhysicalDeviceGroupPropertiesKHR* = object
3254
3255 VkMemoryAllocateFlagsInfo* = object
3256 sType*: VkStructureType
3257 pNext*: pointer
3258 flags*: VkMemoryAllocateFlags
3259 deviceMask*: uint32
3260
3261 VkMemoryAllocateFlagsInfoKHR* = object
3262
3263 VkBindBufferMemoryInfo* = object
3264 sType*: VkStructureType
3265 pNext*: pointer
3266 buffer*: VkBuffer
3267 memory*: VkDeviceMemory
3268 memoryOffset*: VkDeviceSize
3269
3270 VkBindBufferMemoryInfoKHR* = object
3271
3272 VkBindBufferMemoryDeviceGroupInfo* = object
3273 sType*: VkStructureType
3274 pNext*: pointer
3275 deviceIndexCount*: uint32
3276 pDeviceIndices*: ptr uint32
3277
3278 VkBindBufferMemoryDeviceGroupInfoKHR* = object
3279
3280 VkBindImageMemoryInfo* = object
3281 sType*: VkStructureType
3282 pNext*: pointer
3283 image*: VkImage
3284 memory*: VkDeviceMemory
3285 memoryOffset*: VkDeviceSize
3286
3287 VkBindImageMemoryInfoKHR* = object
3288
3289 VkBindImageMemoryDeviceGroupInfo* = object
3290 sType*: VkStructureType
3291 pNext*: pointer
3292 deviceIndexCount*: uint32
3293 pDeviceIndices*: ptr uint32
3294 splitInstanceBindRegionCount*: uint32
3295 pSplitInstanceBindRegions*: ptr VkRect2D
3296
3297 VkBindImageMemoryDeviceGroupInfoKHR* = object
3298
3299 VkDeviceGroupRenderPassBeginInfo* = object
3300 sType*: VkStructureType
3301 pNext*: pointer
3302 deviceMask*: uint32
3303 deviceRenderAreaCount*: uint32
3304 pDeviceRenderAreas*: ptr VkRect2D
3305
3306 VkDeviceGroupRenderPassBeginInfoKHR* = object
3307
3308 VkDeviceGroupCommandBufferBeginInfo* = object
3309 sType*: VkStructureType
3310 pNext*: pointer
3311 deviceMask*: uint32
3312
3313 VkDeviceGroupCommandBufferBeginInfoKHR* = object
3314
3315 VkDeviceGroupSubmitInfo* = object
3316 sType*: VkStructureType
3317 pNext*: pointer
3318 waitSemaphoreCount*: uint32
3319 pWaitSemaphoreDeviceIndices*: ptr uint32
3320 commandBufferCount*: uint32
3321 pCommandBufferDeviceMasks*: ptr uint32
3322 signalSemaphoreCount*: uint32
3323 pSignalSemaphoreDeviceIndices*: ptr uint32
3324
3325 VkDeviceGroupSubmitInfoKHR* = object
3326
3327 VkDeviceGroupBindSparseInfo* = object
3328 sType*: VkStructureType
3329 pNext*: pointer
3330 resourceDeviceIndex*: uint32
3331 memoryDeviceIndex*: uint32
3332
3333 VkDeviceGroupBindSparseInfoKHR* = object
3334
3335 VkDeviceGroupPresentCapabilitiesKHR* = object
3336 sType*: VkStructureType
3337 pNext*: pointer
3338 presentMask*: array[VK_MAX_DEVICE_GROUP_SIZE, uint32]
3339 modes*: VkDeviceGroupPresentModeFlagsKHR
3340
3341 VkImageSwapchainCreateInfoKHR* = object
3342 sType*: VkStructureType
3343 pNext*: pointer
3344 swapchain*: VkSwapchainKHR
3345
3346 VkBindImageMemorySwapchainInfoKHR* = object
3347 sType*: VkStructureType
3348 pNext*: pointer
3349 swapchain*: VkSwapchainKHR
3350 imageIndex*: uint32
3351
3352 VkAcquireNextImageInfoKHR* = object
3353 sType*: VkStructureType
3354 pNext*: pointer
3355 swapchain*: VkSwapchainKHR
3356 timeout*: uint64
3357 semaphore*: VkSemaphore
3358 fence*: VkFence
3359 deviceMask*: uint32
3360
3361 VkDeviceGroupPresentInfoKHR* = object
3362 sType*: VkStructureType
3363 pNext*: pointer
3364 swapchainCount*: uint32
3365 pDeviceMasks*: ptr uint32
3366 mode*: VkDeviceGroupPresentModeFlagBitsKHR
3367
3368 VkDeviceGroupDeviceCreateInfo* = object
3369 sType*: VkStructureType
3370 pNext*: pointer
3371 physicalDeviceCount*: uint32
3372 pPhysicalDevices*: ptr VkPhysicalDevice
3373
3374 VkDeviceGroupDeviceCreateInfoKHR* = object
3375
3376 VkDeviceGroupSwapchainCreateInfoKHR* = object
3377 sType*: VkStructureType
3378 pNext*: pointer
3379 modes*: VkDeviceGroupPresentModeFlagsKHR
3380
3381 VkDescriptorUpdateTemplateEntry* = object
3382 dstBinding*: uint32
3383 dstArrayElement*: uint32
3384 descriptorCount*: uint32
3385 descriptorType*: VkDescriptorType
3386 offset*: uint
3387 stride*: uint
3388
3389 VkDescriptorUpdateTemplateEntryKHR* = object
3390
3391 VkDescriptorUpdateTemplateCreateInfo* = object
3392 sType*: VkStructureType
3393 pNext*: pointer
3394 flags*: VkDescriptorUpdateTemplateCreateFlags
3395 descriptorUpdateEntryCount*: uint32
3396 pDescriptorUpdateEntries*: ptr VkDescriptorUpdateTemplateEntry
3397 templateType*: VkDescriptorUpdateTemplateType
3398 descriptorSetLayout*: VkDescriptorSetLayout
3399 pipelineBindPoint*: VkPipelineBindPoint
3400 pipelineLayout*: VkPipelineLayout
3401 set*: uint32
3402
3403 VkDescriptorUpdateTemplateCreateInfoKHR* = object
3404
3405 VkXYColorEXT* = object
3406 x*: float32
3407 y*: float32
3408
3409 VkHdrMetadataEXT* = object
3410 sType*: VkStructureType
3411 pNext*: pointer
3412 displayPrimaryRed*: VkXYColorEXT
3413 displayPrimaryGreen*: VkXYColorEXT
3414 displayPrimaryBlue*: VkXYColorEXT
3415 whitePoint*: VkXYColorEXT
3416 maxLuminance*: float32
3417 minLuminance*: float32
3418 maxContentLightLevel*: float32
3419 maxFrameAverageLightLevel*: float32
3420
3421 VkDisplayNativeHdrSurfaceCapabilitiesAMD* = object
3422 sType*: VkStructureType
3423 pNext*: pointer
3424 localDimmingSupport*: VkBool32
3425
3426 VkSwapchainDisplayNativeHdrCreateInfoAMD* = object
3427 sType*: VkStructureType
3428 pNext*: pointer
3429 localDimmingEnable*: VkBool32
3430
3431 VkRefreshCycleDurationGOOGLE* = object
3432 refreshDuration*: uint64
3433
3434 VkPastPresentationTimingGOOGLE* = object
3435 presentID*: uint32
3436 desiredPresentTime*: uint64
3437 actualPresentTime*: uint64
3438 earliestPresentTime*: uint64
3439 presentMargin*: uint64
3440
3441 VkPresentTimesInfoGOOGLE* = object
3442 sType*: VkStructureType
3443 pNext*: pointer
3444 swapchainCount*: uint32
3445 pTimes*: ptr VkPresentTimeGOOGLE
3446
3447 VkPresentTimeGOOGLE* = object
3448 presentID*: uint32
3449 desiredPresentTime*: uint64
3450
3451 VkIOSSurfaceCreateInfoMVK* = object
3452 sType*: VkStructureType
3453 pNext*: pointer
3454 flags*: VkIOSSurfaceCreateFlagsMVK
3455 pView*: pointer
3456
3457 VkMacOSSurfaceCreateInfoMVK* = object
3458 sType*: VkStructureType
3459 pNext*: pointer
3460 flags*: VkMacOSSurfaceCreateFlagsMVK
3461 pView*: pointer
3462
3463 VkMetalSurfaceCreateInfoEXT* = object
3464 sType*: VkStructureType
3465 pNext*: pointer
3466 flags*: VkMetalSurfaceCreateFlagsEXT
3467 pLayer*: ptr CAMetalLayer
3468
3469 VkViewportWScalingNV* = object
3470 xcoeff*: float32
3471 ycoeff*: float32
3472
3473 VkPipelineViewportWScalingStateCreateInfoNV* = object
3474 sType*: VkStructureType
3475 pNext*: pointer
3476 viewportWScalingEnable*: VkBool32
3477 viewportCount*: uint32
3478 pViewportWScalings*: ptr VkViewportWScalingNV
3479
3480 VkViewportSwizzleNV* = object
3481 x*: VkViewportCoordinateSwizzleNV
3482 y*: VkViewportCoordinateSwizzleNV
3483 z*: VkViewportCoordinateSwizzleNV
3484 w*: VkViewportCoordinateSwizzleNV
3485
3486 VkPipelineViewportSwizzleStateCreateInfoNV* = object
3487 sType*: VkStructureType
3488 pNext*: pointer
3489 flags*: VkPipelineViewportSwizzleStateCreateFlagsNV
3490 viewportCount*: uint32
3491 pViewportSwizzles*: ptr VkViewportSwizzleNV
3492
3493 VkPhysicalDeviceDiscardRectanglePropertiesEXT* = object
3494 sType*: VkStructureType
3495 pNext*: pointer
3496 maxDiscardRectangles*: uint32
3497
3498 VkPipelineDiscardRectangleStateCreateInfoEXT* = object
3499 sType*: VkStructureType
3500 pNext*: pointer
3501 flags*: VkPipelineDiscardRectangleStateCreateFlagsEXT
3502 discardRectangleMode*: VkDiscardRectangleModeEXT
3503 discardRectangleCount*: uint32
3504 pDiscardRectangles*: ptr VkRect2D
3505
3506 VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* = object
3507 sType*: VkStructureType
3508 pNext*: pointer
3509 perViewPositionAllComponents*: VkBool32
3510
3511 VkInputAttachmentAspectReference* = object
3512 subpass*: uint32
3513 inputAttachmentIndex*: uint32
3514 aspectMask*: VkImageAspectFlags
3515
3516 VkInputAttachmentAspectReferenceKHR* = object
3517
3518 VkRenderPassInputAttachmentAspectCreateInfo* = object
3519 sType*: VkStructureType
3520 pNext*: pointer
3521 aspectReferenceCount*: uint32
3522 pAspectReferences*: ptr VkInputAttachmentAspectReference
3523
3524 VkRenderPassInputAttachmentAspectCreateInfoKHR* = object
3525
3526 VkPhysicalDeviceSurfaceInfo2KHR* = object
3527 sType*: VkStructureType
3528 pNext*: pointer
3529 surface*: VkSurfaceKHR
3530
3531 VkSurfaceCapabilities2KHR* = object
3532 sType*: VkStructureType
3533 pNext*: pointer
3534 surfaceCapabilities*: VkSurfaceCapabilitiesKHR
3535
3536 VkSurfaceFormat2KHR* = object
3537 sType*: VkStructureType
3538 pNext*: pointer
3539 surfaceFormat*: VkSurfaceFormatKHR
3540
3541 VkDisplayProperties2KHR* = object
3542 sType*: VkStructureType
3543 pNext*: pointer
3544 displayProperties*: VkDisplayPropertiesKHR
3545
3546 VkDisplayPlaneProperties2KHR* = object
3547 sType*: VkStructureType
3548 pNext*: pointer
3549 displayPlaneProperties*: VkDisplayPlanePropertiesKHR
3550
3551 VkDisplayModeProperties2KHR* = object
3552 sType*: VkStructureType
3553 pNext*: pointer
3554 displayModeProperties*: VkDisplayModePropertiesKHR
3555
3556 VkDisplayPlaneInfo2KHR* = object
3557 sType*: VkStructureType
3558 pNext*: pointer
3559 mode*: VkDisplayModeKHR
3560 planeIndex*: uint32
3561
3562 VkDisplayPlaneCapabilities2KHR* = object
3563 sType*: VkStructureType
3564 pNext*: pointer
3565 capabilities*: VkDisplayPlaneCapabilitiesKHR
3566
3567 VkSharedPresentSurfaceCapabilitiesKHR* = object
3568 sType*: VkStructureType
3569 pNext*: pointer
3570 sharedPresentSupportedUsageFlags*: VkImageUsageFlags
3571
3572 VkPhysicalDevice16BitStorageFeatures* = object
3573 sType*: VkStructureType
3574 pNext*: pointer
3575 storageBuffer16BitAccess*: VkBool32
3576 uniformAndStorageBuffer16BitAccess*: VkBool32
3577 storagePushConstant16*: VkBool32
3578 storageInputOutput16*: VkBool32
3579
3580 VkPhysicalDevice16BitStorageFeaturesKHR* = object
3581
3582 VkPhysicalDeviceSubgroupProperties* = object
3583 sType*: VkStructureType
3584 pNext*: pointer
3585 subgroupSize*: uint32
3586 supportedStages*: VkShaderStageFlags
3587 supportedOperations*: VkSubgroupFeatureFlags
3588 quadOperationsInAllStages*: VkBool32
3589
3590 VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures* = object
3591 sType*: VkStructureType
3592 pNext*: pointer
3593 shaderSubgroupExtendedTypes*: VkBool32
3594
3595 VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR* = object
3596
3597 VkBufferMemoryRequirementsInfo2* = object
3598 sType*: VkStructureType
3599 pNext*: pointer
3600 buffer*: VkBuffer
3601
3602 VkBufferMemoryRequirementsInfo2KHR* = object
3603
3604 VkImageMemoryRequirementsInfo2* = object
3605 sType*: VkStructureType
3606 pNext*: pointer
3607 image*: VkImage
3608
3609 VkImageMemoryRequirementsInfo2KHR* = object
3610
3611 VkImageSparseMemoryRequirementsInfo2* = object
3612 sType*: VkStructureType
3613 pNext*: pointer
3614 image*: VkImage
3615
3616 VkImageSparseMemoryRequirementsInfo2KHR* = object
3617
3618 VkMemoryRequirements2* = object
3619 sType*: VkStructureType
3620 pNext*: pointer
3621 memoryRequirements*: VkMemoryRequirements
3622
3623 VkMemoryRequirements2KHR* = object
3624
3625 VkSparseImageMemoryRequirements2* = object
3626 sType*: VkStructureType
3627 pNext*: pointer
3628 memoryRequirements*: VkSparseImageMemoryRequirements
3629
3630 VkSparseImageMemoryRequirements2KHR* = object
3631
3632 VkPhysicalDevicePointClippingProperties* = object
3633 sType*: VkStructureType
3634 pNext*: pointer
3635 pointClippingBehavior*: VkPointClippingBehavior
3636
3637 VkPhysicalDevicePointClippingPropertiesKHR* = object
3638
3639 VkMemoryDedicatedRequirements* = object
3640 sType*: VkStructureType
3641 pNext*: pointer
3642 prefersDedicatedAllocation*: VkBool32
3643 requiresDedicatedAllocation*: VkBool32
3644
3645 VkMemoryDedicatedRequirementsKHR* = object
3646
3647 VkMemoryDedicatedAllocateInfo* = object
3648 sType*: VkStructureType
3649 pNext*: pointer
3650 image*: VkImage
3651 buffer*: VkBuffer
3652
3653 VkMemoryDedicatedAllocateInfoKHR* = object
3654
3655 VkImageViewUsageCreateInfo* = object
3656 sType*: VkStructureType
3657 pNext*: pointer
3658 usage*: VkImageUsageFlags
3659
3660 VkImageViewUsageCreateInfoKHR* = object
3661
3662 VkPipelineTessellationDomainOriginStateCreateInfo* = object
3663 sType*: VkStructureType
3664 pNext*: pointer
3665 domainOrigin*: VkTessellationDomainOrigin
3666
3667 VkPipelineTessellationDomainOriginStateCreateInfoKHR* = object
3668
3669 VkSamplerYcbcrConversionInfo* = object
3670 sType*: VkStructureType
3671 pNext*: pointer
3672 conversion*: VkSamplerYcbcrConversion
3673
3674 VkSamplerYcbcrConversionInfoKHR* = object
3675
3676 VkSamplerYcbcrConversionCreateInfo* = object
3677 sType*: VkStructureType
3678 pNext*: pointer
3679 format*: VkFormat
3680 ycbcrModel*: VkSamplerYcbcrModelConversion
3681 ycbcrRange*: VkSamplerYcbcrRange
3682 components*: VkComponentMapping
3683 xChromaOffset*: VkChromaLocation
3684 yChromaOffset*: VkChromaLocation
3685 chromaFilter*: VkFilter
3686 forceExplicitReconstruction*: VkBool32
3687
3688 VkSamplerYcbcrConversionCreateInfoKHR* = object
3689
3690 VkBindImagePlaneMemoryInfo* = object
3691 sType*: VkStructureType
3692 pNext*: pointer
3693 planeAspect*: VkImageAspectFlagBits
3694
3695 VkBindImagePlaneMemoryInfoKHR* = object
3696
3697 VkImagePlaneMemoryRequirementsInfo* = object
3698 sType*: VkStructureType
3699 pNext*: pointer
3700 planeAspect*: VkImageAspectFlagBits
3701
3702 VkImagePlaneMemoryRequirementsInfoKHR* = object
3703
3704 VkPhysicalDeviceSamplerYcbcrConversionFeatures* = object
3705 sType*: VkStructureType
3706 pNext*: pointer
3707 samplerYcbcrConversion*: VkBool32
3708
3709 VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR* = object
3710
3711 VkSamplerYcbcrConversionImageFormatProperties* = object
3712 sType*: VkStructureType
3713 pNext*: pointer
3714 combinedImageSamplerDescriptorCount*: uint32
3715
3716 VkSamplerYcbcrConversionImageFormatPropertiesKHR* = object
3717
3718 VkTextureLODGatherFormatPropertiesAMD* = object
3719 sType*: VkStructureType
3720 pNext*: pointer
3721 supportsTextureGatherLODBiasAMD*: VkBool32
3722
3723 VkConditionalRenderingBeginInfoEXT* = object
3724 sType*: VkStructureType
3725 pNext*: pointer
3726 buffer*: VkBuffer
3727 offset*: VkDeviceSize
3728 flags*: VkConditionalRenderingFlagsEXT
3729
3730 VkProtectedSubmitInfo* = object
3731 sType*: VkStructureType
3732 pNext*: pointer
3733 protectedSubmit*: VkBool32
3734
3735 VkPhysicalDeviceProtectedMemoryFeatures* = object
3736 sType*: VkStructureType
3737 pNext*: pointer
3738 protectedMemory*: VkBool32
3739
3740 VkPhysicalDeviceProtectedMemoryProperties* = object
3741 sType*: VkStructureType
3742 pNext*: pointer
3743 protectedNoFault*: VkBool32
3744
3745 VkDeviceQueueInfo2* = object
3746 sType*: VkStructureType
3747 pNext*: pointer
3748 flags*: VkDeviceQueueCreateFlags
3749 queueFamilyIndex*: uint32
3750 queueIndex*: uint32
3751
3752 VkPipelineCoverageToColorStateCreateInfoNV* = object
3753 sType*: VkStructureType
3754 pNext*: pointer
3755 flags*: VkPipelineCoverageToColorStateCreateFlagsNV
3756 coverageToColorEnable*: VkBool32
3757 coverageToColorLocation*: uint32
3758
3759 VkPhysicalDeviceSamplerFilterMinmaxProperties* = object
3760 sType*: VkStructureType
3761 pNext*: pointer
3762 filterMinmaxSingleComponentFormats*: VkBool32
3763 filterMinmaxImageComponentMapping*: VkBool32
3764
3765 VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* = object
3766
3767 VkSampleLocationEXT* = object
3768 x*: float32
3769 y*: float32
3770
3771 VkSampleLocationsInfoEXT* = object
3772 sType*: VkStructureType
3773 pNext*: pointer
3774 sampleLocationsPerPixel*: VkSampleCountFlagBits
3775 sampleLocationGridSize*: VkExtent2D
3776 sampleLocationsCount*: uint32
3777 pSampleLocations*: ptr VkSampleLocationEXT
3778
3779 VkAttachmentSampleLocationsEXT* = object
3780 attachmentIndex*: uint32
3781 sampleLocationsInfo*: VkSampleLocationsInfoEXT
3782
3783 VkSubpassSampleLocationsEXT* = object
3784 subpassIndex*: uint32
3785 sampleLocationsInfo*: VkSampleLocationsInfoEXT
3786
3787 VkRenderPassSampleLocationsBeginInfoEXT* = object
3788 sType*: VkStructureType
3789 pNext*: pointer
3790 attachmentInitialSampleLocationsCount*: uint32
3791 pAttachmentInitialSampleLocations*: ptr VkAttachmentSampleLocationsEXT
3792 postSubpassSampleLocationsCount*: uint32
3793 pPostSubpassSampleLocations*: ptr VkSubpassSampleLocationsEXT
3794
3795 VkPipelineSampleLocationsStateCreateInfoEXT* = object
3796 sType*: VkStructureType
3797 pNext*: pointer
3798 sampleLocationsEnable*: VkBool32
3799 sampleLocationsInfo*: VkSampleLocationsInfoEXT
3800
3801 VkPhysicalDeviceSampleLocationsPropertiesEXT* = object
3802 sType*: VkStructureType
3803 pNext*: pointer
3804 sampleLocationSampleCounts*: VkSampleCountFlags
3805 maxSampleLocationGridSize*: VkExtent2D
3806 sampleLocationCoordinateRange*: array[2, float32]
3807 sampleLocationSubPixelBits*: uint32
3808 variableSampleLocations*: VkBool32
3809
3810 VkMultisamplePropertiesEXT* = object
3811 sType*: VkStructureType
3812 pNext*: pointer
3813 maxSampleLocationGridSize*: VkExtent2D
3814
3815 VkSamplerReductionModeCreateInfo* = object
3816 sType*: VkStructureType
3817 pNext*: pointer
3818 reductionMode*: VkSamplerReductionMode
3819
3820 VkSamplerReductionModeCreateInfoEXT* = object
3821
3822 VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* = object
3823 sType*: VkStructureType
3824 pNext*: pointer
3825 advancedBlendCoherentOperations*: VkBool32
3826
3827 VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* = object
3828 sType*: VkStructureType
3829 pNext*: pointer
3830 advancedBlendMaxColorAttachments*: uint32
3831 advancedBlendIndependentBlend*: VkBool32
3832 advancedBlendNonPremultipliedSrcColor*: VkBool32
3833 advancedBlendNonPremultipliedDstColor*: VkBool32
3834 advancedBlendCorrelatedOverlap*: VkBool32
3835 advancedBlendAllOperations*: VkBool32
3836
3837 VkPipelineColorBlendAdvancedStateCreateInfoEXT* = object
3838 sType*: VkStructureType
3839 pNext*: pointer
3840 srcPremultiplied*: VkBool32
3841 dstPremultiplied*: VkBool32
3842 blendOverlap*: VkBlendOverlapEXT
3843
3844 VkPhysicalDeviceInlineUniformBlockFeaturesEXT* = object
3845 sType*: VkStructureType
3846 pNext*: pointer
3847 inlineUniformBlock*: VkBool32
3848 descriptorBindingInlineUniformBlockUpdateAfterBind*: VkBool32
3849
3850 VkPhysicalDeviceInlineUniformBlockPropertiesEXT* = object
3851 sType*: VkStructureType
3852 pNext*: pointer
3853 maxInlineUniformBlockSize*: uint32
3854 maxPerStageDescriptorInlineUniformBlocks*: uint32
3855 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks*: uint32
3856 maxDescriptorSetInlineUniformBlocks*: uint32
3857 maxDescriptorSetUpdateAfterBindInlineUniformBlocks*: uint32
3858
3859 VkWriteDescriptorSetInlineUniformBlockEXT* = object
3860 sType*: VkStructureType
3861 pNext*: pointer
3862 dataSize*: uint32
3863 pData*: pointer
3864
3865 VkDescriptorPoolInlineUniformBlockCreateInfoEXT* = object
3866 sType*: VkStructureType
3867 pNext*: pointer
3868 maxInlineUniformBlockBindings*: uint32
3869
3870 VkPipelineCoverageModulationStateCreateInfoNV* = object
3871 sType*: VkStructureType
3872 pNext*: pointer
3873 flags*: VkPipelineCoverageModulationStateCreateFlagsNV
3874 coverageModulationMode*: VkCoverageModulationModeNV
3875 coverageModulationTableEnable*: VkBool32
3876 coverageModulationTableCount*: uint32
3877 pCoverageModulationTable*: ptr float32
3878
3879 VkImageFormatListCreateInfo* = object
3880 sType*: VkStructureType
3881 pNext*: pointer
3882 viewFormatCount*: uint32
3883 pViewFormats*: ptr VkFormat
3884
3885 VkImageFormatListCreateInfoKHR* = object
3886
3887 VkValidationCacheCreateInfoEXT* = object
3888 sType*: VkStructureType
3889 pNext*: pointer
3890 flags*: VkValidationCacheCreateFlagsEXT
3891 initialDataSize*: uint
3892 pInitialData*: pointer
3893
3894 VkShaderModuleValidationCacheCreateInfoEXT* = object
3895 sType*: VkStructureType
3896 pNext*: pointer
3897 validationCache*: VkValidationCacheEXT
3898
3899 VkPhysicalDeviceMaintenance3Properties* = object
3900 sType*: VkStructureType
3901 pNext*: pointer
3902 maxPerSetDescriptors*: uint32
3903 maxMemoryAllocationSize*: VkDeviceSize
3904
3905 VkPhysicalDeviceMaintenance3PropertiesKHR* = object
3906
3907 VkDescriptorSetLayoutSupport* = object
3908 sType*: VkStructureType
3909 pNext*: pointer
3910 supported*: VkBool32
3911
3912 VkDescriptorSetLayoutSupportKHR* = object
3913
3914 VkPhysicalDeviceShaderDrawParametersFeatures* = object
3915 sType*: VkStructureType
3916 pNext*: pointer
3917 shaderDrawParameters*: VkBool32
3918
3919 VkPhysicalDeviceShaderDrawParameterFeatures* = object
3920
3921 VkPhysicalDeviceShaderFloat16Int8Features* = object
3922 sType*: VkStructureType
3923 pNext*: pointer
3924 shaderFloat16*: VkBool32
3925 shaderInt8*: VkBool32
3926
3927 VkPhysicalDeviceShaderFloat16Int8FeaturesKHR* = object
3928
3929 VkPhysicalDeviceFloat16Int8FeaturesKHR* = object
3930
3931 VkPhysicalDeviceFloatControlsProperties* = object
3932 sType*: VkStructureType
3933 pNext*: pointer
3934 denormBehaviorIndependence*: VkShaderFloatControlsIndependence
3935 roundingModeIndependence*: VkShaderFloatControlsIndependence
3936 shaderSignedZeroInfNanPreserveFloat16*: VkBool32
3937 shaderSignedZeroInfNanPreserveFloat32*: VkBool32
3938 shaderSignedZeroInfNanPreserveFloat64*: VkBool32
3939 shaderDenormPreserveFloat16*: VkBool32
3940 shaderDenormPreserveFloat32*: VkBool32
3941 shaderDenormPreserveFloat64*: VkBool32
3942 shaderDenormFlushToZeroFloat16*: VkBool32
3943 shaderDenormFlushToZeroFloat32*: VkBool32
3944 shaderDenormFlushToZeroFloat64*: VkBool32
3945 shaderRoundingModeRTEFloat16*: VkBool32
3946 shaderRoundingModeRTEFloat32*: VkBool32
3947 shaderRoundingModeRTEFloat64*: VkBool32
3948 shaderRoundingModeRTZFloat16*: VkBool32
3949 shaderRoundingModeRTZFloat32*: VkBool32
3950 shaderRoundingModeRTZFloat64*: VkBool32
3951
3952 VkPhysicalDeviceFloatControlsPropertiesKHR* = object
3953
3954 VkPhysicalDeviceHostQueryResetFeatures* = object
3955 sType*: VkStructureType
3956 pNext*: pointer
3957 hostQueryReset*: VkBool32
3958
3959 VkPhysicalDeviceHostQueryResetFeaturesEXT* = object
3960
3961 VkNativeBufferUsage2ANDROID* = object
3962 consumer*: uint64
3963 producer*: uint64
3964
3965 VkNativeBufferANDROID* = object
3966 sType*: VkStructureType
3967 pNext*: pointer
3968 handle*: pointer
3969 stride*: int
3970 format*: int
3971 usage*: int
3972 usage2*: VkNativeBufferUsage2ANDROID
3973
3974 VkSwapchainImageCreateInfoANDROID* = object
3975 sType*: VkStructureType
3976 pNext*: pointer
3977 usage*: VkSwapchainImageUsageFlagsANDROID
3978
3979 VkPhysicalDevicePresentationPropertiesANDROID* = object
3980 sType*: VkStructureType
3981 pNext*: pointer
3982 sharedImage*: VkBool32
3983
3984 VkShaderResourceUsageAMD* = object
3985 numUsedVgprs*: uint32
3986 numUsedSgprs*: uint32
3987 ldsSizePerLocalWorkGroup*: uint32
3988 ldsUsageSizeInBytes*: uint
3989 scratchMemUsageInBytes*: uint
3990
3991 VkShaderStatisticsInfoAMD* = object
3992 shaderStageMask*: VkShaderStageFlags
3993 resourceUsage*: VkShaderResourceUsageAMD
3994 numPhysicalVgprs*: uint32
3995 numPhysicalSgprs*: uint32
3996 numAvailableVgprs*: uint32
3997 numAvailableSgprs*: uint32
3998 computeWorkGroupSize*: array[3, uint32]
3999
4000 VkDeviceQueueGlobalPriorityCreateInfoEXT* = object
4001 sType*: VkStructureType
4002 pNext*: pointer
4003 globalPriority*: VkQueueGlobalPriorityEXT
4004
4005 VkDebugUtilsObjectNameInfoEXT* = object
4006 sType*: VkStructureType
4007 pNext*: pointer
4008 objectType*: VkObjectType
4009 objectHandle*: uint64
4010 pObjectName*: cstring
4011
4012 VkDebugUtilsObjectTagInfoEXT* = object
4013 sType*: VkStructureType
4014 pNext*: pointer
4015 objectType*: VkObjectType
4016 objectHandle*: uint64
4017 tagName*: uint64
4018 tagSize*: uint
4019 pTag*: pointer
4020
4021 VkDebugUtilsLabelEXT* = object
4022 sType*: VkStructureType
4023 pNext*: pointer
4024 pLabelName*: cstring
4025 color*: array[4, float32]
4026
4027 VkDebugUtilsMessengerCreateInfoEXT* = object
4028 sType*: VkStructureType
4029 pNext*: pointer
4030 flags*: VkDebugUtilsMessengerCreateFlagsEXT
4031 messageSeverity*: VkDebugUtilsMessageSeverityFlagsEXT
4032 messageType*: VkDebugUtilsMessageTypeFlagsEXT
4033 pfnUserCallback*: PFN_vkDebugUtilsMessengerCallbackEXT
4034 pUserData*: pointer
4035
4036 VkDebugUtilsMessengerCallbackDataEXT* = object
4037 sType*: VkStructureType
4038 pNext*: pointer
4039 flags*: VkDebugUtilsMessengerCallbackDataFlagsEXT
4040 pMessageIdName*: cstring
4041 messageIdNumber*: int32
4042 pMessage*: cstring
4043 queueLabelCount*: uint32
4044 pQueueLabels*: ptr VkDebugUtilsLabelEXT
4045 cmdBufLabelCount*: uint32
4046 pCmdBufLabels*: ptr VkDebugUtilsLabelEXT
4047 objectCount*: uint32
4048 pObjects*: ptr VkDebugUtilsObjectNameInfoEXT
4049
4050 VkImportMemoryHostPointerInfoEXT* = object
4051 sType*: VkStructureType
4052 pNext*: pointer
4053 handleType*: VkExternalMemoryHandleTypeFlagBits
4054 pHostPointer*: pointer
4055
4056 VkMemoryHostPointerPropertiesEXT* = object
4057 sType*: VkStructureType
4058 pNext*: pointer
4059 memoryTypeBits*: uint32
4060
4061 VkPhysicalDeviceExternalMemoryHostPropertiesEXT* = object
4062 sType*: VkStructureType
4063 pNext*: pointer
4064 minImportedHostPointerAlignment*: VkDeviceSize
4065
4066 VkPhysicalDeviceConservativeRasterizationPropertiesEXT* = object
4067 sType*: VkStructureType
4068 pNext*: pointer
4069 primitiveOverestimationSize*: float32
4070 maxExtraPrimitiveOverestimationSize*: float32
4071 extraPrimitiveOverestimationSizeGranularity*: float32
4072 primitiveUnderestimation*: VkBool32
4073 conservativePointAndLineRasterization*: VkBool32
4074 degenerateTrianglesRasterized*: VkBool32
4075 degenerateLinesRasterized*: VkBool32
4076 fullyCoveredFragmentShaderInputVariable*: VkBool32
4077 conservativeRasterizationPostDepthCoverage*: VkBool32
4078
4079 VkCalibratedTimestampInfoEXT* = object
4080 sType*: VkStructureType
4081 pNext*: pointer
4082 timeDomain*: VkTimeDomainEXT
4083
4084 VkPhysicalDeviceShaderCorePropertiesAMD* = object
4085 sType*: VkStructureType
4086 pNext*: pointer
4087 shaderEngineCount*: uint32
4088 shaderArraysPerEngineCount*: uint32
4089 computeUnitsPerShaderArray*: uint32
4090 simdPerComputeUnit*: uint32
4091 wavefrontsPerSimd*: uint32
4092 wavefrontSize*: uint32
4093 sgprsPerSimd*: uint32
4094 minSgprAllocation*: uint32
4095 maxSgprAllocation*: uint32
4096 sgprAllocationGranularity*: uint32
4097 vgprsPerSimd*: uint32
4098 minVgprAllocation*: uint32
4099 maxVgprAllocation*: uint32
4100 vgprAllocationGranularity*: uint32
4101
4102 VkPhysicalDeviceShaderCoreProperties2AMD* = object
4103 sType*: VkStructureType
4104 pNext*: pointer
4105 shaderCoreFeatures*: VkShaderCorePropertiesFlagsAMD
4106 activeComputeUnitCount*: uint32
4107
4108 VkPipelineRasterizationConservativeStateCreateInfoEXT* = object
4109 sType*: VkStructureType
4110 pNext*: pointer
4111 flags*: VkPipelineRasterizationConservativeStateCreateFlagsEXT
4112 conservativeRasterizationMode*: VkConservativeRasterizationModeEXT
4113 extraPrimitiveOverestimationSize*: float32
4114
4115 VkPhysicalDeviceDescriptorIndexingFeatures* = object
4116 sType*: VkStructureType
4117 pNext*: pointer
4118 shaderInputAttachmentArrayDynamicIndexing*: VkBool32
4119 shaderUniformTexelBufferArrayDynamicIndexing*: VkBool32
4120 shaderStorageTexelBufferArrayDynamicIndexing*: VkBool32
4121 shaderUniformBufferArrayNonUniformIndexing*: VkBool32
4122 shaderSampledImageArrayNonUniformIndexing*: VkBool32
4123 shaderStorageBufferArrayNonUniformIndexing*: VkBool32
4124 shaderStorageImageArrayNonUniformIndexing*: VkBool32
4125 shaderInputAttachmentArrayNonUniformIndexing*: VkBool32
4126 shaderUniformTexelBufferArrayNonUniformIndexing*: VkBool32
4127 shaderStorageTexelBufferArrayNonUniformIndexing*: VkBool32
4128 descriptorBindingUniformBufferUpdateAfterBind*: VkBool32
4129 descriptorBindingSampledImageUpdateAfterBind*: VkBool32
4130 descriptorBindingStorageImageUpdateAfterBind*: VkBool32
4131 descriptorBindingStorageBufferUpdateAfterBind*: VkBool32
4132 descriptorBindingUniformTexelBufferUpdateAfterBind*: VkBool32
4133 descriptorBindingStorageTexelBufferUpdateAfterBind*: VkBool32
4134 descriptorBindingUpdateUnusedWhilePending*: VkBool32
4135 descriptorBindingPartiallyBound*: VkBool32
4136 descriptorBindingVariableDescriptorCount*: VkBool32
4137 runtimeDescriptorArray*: VkBool32
4138
4139 VkPhysicalDeviceDescriptorIndexingFeaturesEXT* = object
4140
4141 VkPhysicalDeviceDescriptorIndexingProperties* = object
4142 sType*: VkStructureType
4143 pNext*: pointer
4144 maxUpdateAfterBindDescriptorsInAllPools*: uint32
4145 shaderUniformBufferArrayNonUniformIndexingNative*: VkBool32
4146 shaderSampledImageArrayNonUniformIndexingNative*: VkBool32
4147 shaderStorageBufferArrayNonUniformIndexingNative*: VkBool32
4148 shaderStorageImageArrayNonUniformIndexingNative*: VkBool32
4149 shaderInputAttachmentArrayNonUniformIndexingNative*: VkBool32
4150 robustBufferAccessUpdateAfterBind*: VkBool32
4151 quadDivergentImplicitLod*: VkBool32
4152 maxPerStageDescriptorUpdateAfterBindSamplers*: uint32
4153 maxPerStageDescriptorUpdateAfterBindUniformBuffers*: uint32
4154 maxPerStageDescriptorUpdateAfterBindStorageBuffers*: uint32
4155 maxPerStageDescriptorUpdateAfterBindSampledImages*: uint32
4156 maxPerStageDescriptorUpdateAfterBindStorageImages*: uint32
4157 maxPerStageDescriptorUpdateAfterBindInputAttachments*: uint32
4158 maxPerStageUpdateAfterBindResources*: uint32
4159 maxDescriptorSetUpdateAfterBindSamplers*: uint32
4160 maxDescriptorSetUpdateAfterBindUniformBuffers*: uint32
4161 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic*: uint32
4162 maxDescriptorSetUpdateAfterBindStorageBuffers*: uint32
4163 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic*: uint32
4164 maxDescriptorSetUpdateAfterBindSampledImages*: uint32
4165 maxDescriptorSetUpdateAfterBindStorageImages*: uint32
4166 maxDescriptorSetUpdateAfterBindInputAttachments*: uint32
4167
4168 VkPhysicalDeviceDescriptorIndexingPropertiesEXT* = object
4169
4170 VkDescriptorSetLayoutBindingFlagsCreateInfo* = object
4171 sType*: VkStructureType
4172 pNext*: pointer
4173 bindingCount*: uint32
4174 pBindingFlags*: ptr VkDescriptorBindingFlags
4175
4176 VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* = object
4177
4178 VkDescriptorSetVariableDescriptorCountAllocateInfo* = object
4179 sType*: VkStructureType
4180 pNext*: pointer
4181 descriptorSetCount*: uint32
4182 pDescriptorCounts*: ptr uint32
4183
4184 VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* = object
4185
4186 VkDescriptorSetVariableDescriptorCountLayoutSupport* = object
4187 sType*: VkStructureType
4188 pNext*: pointer
4189 maxVariableDescriptorCount*: uint32
4190
4191 VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* = object
4192
4193 VkAttachmentDescription2* = object
4194 sType*: VkStructureType
4195 pNext*: pointer
4196 flags*: VkAttachmentDescriptionFlags
4197 format*: VkFormat
4198 samples*: VkSampleCountFlagBits
4199 loadOp*: VkAttachmentLoadOp
4200 storeOp*: VkAttachmentStoreOp
4201 stencilLoadOp*: VkAttachmentLoadOp
4202 stencilStoreOp*: VkAttachmentStoreOp
4203 initialLayout*: VkImageLayout
4204 finalLayout*: VkImageLayout
4205
4206 VkAttachmentDescription2KHR* = object
4207
4208 VkAttachmentReference2* = object
4209 sType*: VkStructureType
4210 pNext*: pointer
4211 attachment*: uint32
4212 layout*: VkImageLayout
4213 aspectMask*: VkImageAspectFlags
4214
4215 VkAttachmentReference2KHR* = object
4216
4217 VkSubpassDescription2* = object
4218 sType*: VkStructureType
4219 pNext*: pointer
4220 flags*: VkSubpassDescriptionFlags
4221 pipelineBindPoint*: VkPipelineBindPoint
4222 viewMask*: uint32
4223 inputAttachmentCount*: uint32
4224 pInputAttachments*: ptr VkAttachmentReference2
4225 colorAttachmentCount*: uint32
4226 pColorAttachments*: ptr VkAttachmentReference2
4227 pResolveAttachments*: ptr VkAttachmentReference2
4228 pDepthStencilAttachment*: ptr VkAttachmentReference2
4229 preserveAttachmentCount*: uint32
4230 pPreserveAttachments*: ptr uint32
4231
4232 VkSubpassDescription2KHR* = object
4233
4234 VkSubpassDependency2* = object
4235 sType*: VkStructureType
4236 pNext*: pointer
4237 srcSubpass*: uint32
4238 dstSubpass*: uint32
4239 srcStageMask*: VkPipelineStageFlags
4240 dstStageMask*: VkPipelineStageFlags
4241 srcAccessMask*: VkAccessFlags
4242 dstAccessMask*: VkAccessFlags
4243 dependencyFlags*: VkDependencyFlags
4244 viewOffset*: int32
4245
4246 VkSubpassDependency2KHR* = object
4247
4248 VkRenderPassCreateInfo2* = object
4249 sType*: VkStructureType
4250 pNext*: pointer
4251 flags*: VkRenderPassCreateFlags
4252 attachmentCount*: uint32
4253 pAttachments*: ptr VkAttachmentDescription2
4254 subpassCount*: uint32
4255 pSubpasses*: ptr VkSubpassDescription2
4256 dependencyCount*: uint32
4257 pDependencies*: ptr VkSubpassDependency2
4258 correlatedViewMaskCount*: uint32
4259 pCorrelatedViewMasks*: ptr uint32
4260
4261 VkRenderPassCreateInfo2KHR* = object
4262
4263 VkSubpassBeginInfo* = object
4264 sType*: VkStructureType
4265 pNext*: pointer
4266 contents*: VkSubpassContents
4267
4268 VkSubpassBeginInfoKHR* = object
4269
4270 VkSubpassEndInfo* = object
4271 sType*: VkStructureType
4272 pNext*: pointer
4273
4274 VkSubpassEndInfoKHR* = object
4275
4276 VkPhysicalDeviceTimelineSemaphoreFeatures* = object
4277 sType*: VkStructureType
4278 pNext*: pointer
4279 timelineSemaphore*: VkBool32
4280
4281 VkPhysicalDeviceTimelineSemaphoreFeaturesKHR* = object
4282
4283 VkPhysicalDeviceTimelineSemaphoreProperties* = object
4284 sType*: VkStructureType
4285 pNext*: pointer
4286 maxTimelineSemaphoreValueDifference*: uint64
4287
4288 VkPhysicalDeviceTimelineSemaphorePropertiesKHR* = object
4289
4290 VkSemaphoreTypeCreateInfo* = object
4291 sType*: VkStructureType
4292 pNext*: pointer
4293 semaphoreType*: VkSemaphoreType
4294 initialValue*: uint64
4295
4296 VkSemaphoreTypeCreateInfoKHR* = object
4297
4298 VkTimelineSemaphoreSubmitInfo* = object
4299 sType*: VkStructureType
4300 pNext*: pointer
4301 waitSemaphoreValueCount*: uint32
4302 pWaitSemaphoreValues*: ptr uint64
4303 signalSemaphoreValueCount*: uint32
4304 pSignalSemaphoreValues*: ptr uint64
4305
4306 VkTimelineSemaphoreSubmitInfoKHR* = object
4307
4308 VkSemaphoreWaitInfo* = object
4309 sType*: VkStructureType
4310 pNext*: pointer
4311 flags*: VkSemaphoreWaitFlags
4312 semaphoreCount*: uint32
4313 pSemaphores*: ptr VkSemaphore
4314 pValues*: ptr uint64
4315
4316 VkSemaphoreWaitInfoKHR* = object
4317
4318 VkSemaphoreSignalInfo* = object
4319 sType*: VkStructureType
4320 pNext*: pointer
4321 semaphore*: VkSemaphore
4322 value*: uint64
4323
4324 VkSemaphoreSignalInfoKHR* = object
4325
4326 VkVertexInputBindingDivisorDescriptionEXT* = object
4327 binding*: uint32
4328 divisor*: uint32
4329
4330 VkPipelineVertexInputDivisorStateCreateInfoEXT* = object
4331 sType*: VkStructureType
4332 pNext*: pointer
4333 vertexBindingDivisorCount*: uint32
4334 pVertexBindingDivisors*: ptr VkVertexInputBindingDivisorDescriptionEXT
4335
4336 VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* = object
4337 sType*: VkStructureType
4338 pNext*: pointer
4339 maxVertexAttribDivisor*: uint32
4340
4341 VkPhysicalDevicePCIBusInfoPropertiesEXT* = object
4342 sType*: VkStructureType
4343 pNext*: pointer
4344 pciDomain*: uint32
4345 pciBus*: uint32
4346 pciDevice*: uint32
4347 pciFunction*: uint32
4348
4349 VkImportAndroidHardwareBufferInfoANDROID* = object
4350 sType*: VkStructureType
4351 pNext*: pointer
4352 buffer*: ptr AHardwareBuffer
4353
4354 VkAndroidHardwareBufferUsageANDROID* = object
4355 sType*: VkStructureType
4356 pNext*: pointer
4357 androidHardwareBufferUsage*: uint64
4358
4359 VkAndroidHardwareBufferPropertiesANDROID* = object
4360 sType*: VkStructureType
4361 pNext*: pointer
4362 allocationSize*: VkDeviceSize
4363 memoryTypeBits*: uint32
4364
4365 VkMemoryGetAndroidHardwareBufferInfoANDROID* = object
4366 sType*: VkStructureType
4367 pNext*: pointer
4368 memory*: VkDeviceMemory
4369
4370 VkAndroidHardwareBufferFormatPropertiesANDROID* = object
4371 sType*: VkStructureType
4372 pNext*: pointer
4373 format*: VkFormat
4374 externalFormat*: uint64
4375 formatFeatures*: VkFormatFeatureFlags
4376 samplerYcbcrConversionComponents*: VkComponentMapping
4377 suggestedYcbcrModel*: VkSamplerYcbcrModelConversion
4378 suggestedYcbcrRange*: VkSamplerYcbcrRange
4379 suggestedXChromaOffset*: VkChromaLocation
4380 suggestedYChromaOffset*: VkChromaLocation
4381
4382 VkCommandBufferInheritanceConditionalRenderingInfoEXT* = object
4383 sType*: VkStructureType
4384 pNext*: pointer
4385 conditionalRenderingEnable*: VkBool32
4386
4387 VkExternalFormatANDROID* = object
4388 sType*: VkStructureType
4389 pNext*: pointer
4390 externalFormat*: uint64
4391
4392 VkPhysicalDevice8BitStorageFeatures* = object
4393 sType*: VkStructureType
4394 pNext*: pointer
4395 storageBuffer8BitAccess*: VkBool32
4396 uniformAndStorageBuffer8BitAccess*: VkBool32
4397 storagePushConstant8*: VkBool32
4398
4399 VkPhysicalDevice8BitStorageFeaturesKHR* = object
4400
4401 VkPhysicalDeviceConditionalRenderingFeaturesEXT* = object
4402 sType*: VkStructureType
4403 pNext*: pointer
4404 conditionalRendering*: VkBool32
4405 inheritedConditionalRendering*: VkBool32
4406
4407 VkPhysicalDeviceVulkanMemoryModelFeatures* = object
4408 sType*: VkStructureType
4409 pNext*: pointer
4410 vulkanMemoryModel*: VkBool32
4411 vulkanMemoryModelDeviceScope*: VkBool32
4412 vulkanMemoryModelAvailabilityVisibilityChains*: VkBool32
4413
4414 VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* = object
4415
4416 VkPhysicalDeviceShaderAtomicInt64Features* = object
4417 sType*: VkStructureType
4418 pNext*: pointer
4419 shaderBufferInt64Atomics*: VkBool32
4420 shaderSharedInt64Atomics*: VkBool32
4421
4422 VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* = object
4423
4424 VkPhysicalDeviceShaderAtomicFloatFeaturesEXT* = object
4425 sType*: VkStructureType
4426 pNext*: pointer
4427 shaderBufferFloat32Atomics*: VkBool32
4428 shaderBufferFloat32AtomicAdd*: VkBool32
4429 shaderBufferFloat64Atomics*: VkBool32
4430 shaderBufferFloat64AtomicAdd*: VkBool32
4431 shaderSharedFloat32Atomics*: VkBool32
4432 shaderSharedFloat32AtomicAdd*: VkBool32
4433 shaderSharedFloat64Atomics*: VkBool32
4434 shaderSharedFloat64AtomicAdd*: VkBool32
4435 shaderImageFloat32Atomics*: VkBool32
4436 shaderImageFloat32AtomicAdd*: VkBool32
4437 sparseImageFloat32Atomics*: VkBool32
4438 sparseImageFloat32AtomicAdd*: VkBool32
4439
4440 VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* = object
4441 sType*: VkStructureType
4442 pNext*: pointer
4443 vertexAttributeInstanceRateDivisor*: VkBool32
4444 vertexAttributeInstanceRateZeroDivisor*: VkBool32
4445
4446 VkQueueFamilyCheckpointPropertiesNV* = object
4447 sType*: VkStructureType
4448 pNext*: pointer
4449 checkpointExecutionStageMask*: VkPipelineStageFlags
4450
4451 VkCheckpointDataNV* = object
4452 sType*: VkStructureType
4453 pNext*: pointer
4454 stage*: VkPipelineStageFlagBits
4455 pCheckpointMarker*: pointer
4456
4457 VkPhysicalDeviceDepthStencilResolveProperties* = object
4458 sType*: VkStructureType
4459 pNext*: pointer
4460 supportedDepthResolveModes*: VkResolveModeFlags
4461 supportedStencilResolveModes*: VkResolveModeFlags
4462 independentResolveNone*: VkBool32
4463 independentResolve*: VkBool32
4464
4465 VkPhysicalDeviceDepthStencilResolvePropertiesKHR* = object
4466
4467 VkSubpassDescriptionDepthStencilResolve* = object
4468 sType*: VkStructureType
4469 pNext*: pointer
4470 depthResolveMode*: VkResolveModeFlagBits
4471 stencilResolveMode*: VkResolveModeFlagBits
4472 pDepthStencilResolveAttachment*: ptr VkAttachmentReference2
4473
4474 VkSubpassDescriptionDepthStencilResolveKHR* = object
4475
4476 VkImageViewASTCDecodeModeEXT* = object
4477 sType*: VkStructureType
4478 pNext*: pointer
4479 decodeMode*: VkFormat
4480
4481 VkPhysicalDeviceASTCDecodeFeaturesEXT* = object
4482 sType*: VkStructureType
4483 pNext*: pointer
4484 decodeModeSharedExponent*: VkBool32
4485
4486 VkPhysicalDeviceTransformFeedbackFeaturesEXT* = object
4487 sType*: VkStructureType
4488 pNext*: pointer
4489 transformFeedback*: VkBool32
4490 geometryStreams*: VkBool32
4491
4492 VkPhysicalDeviceTransformFeedbackPropertiesEXT* = object
4493 sType*: VkStructureType
4494 pNext*: pointer
4495 maxTransformFeedbackStreams*: uint32
4496 maxTransformFeedbackBuffers*: uint32
4497 maxTransformFeedbackBufferSize*: VkDeviceSize
4498 maxTransformFeedbackStreamDataSize*: uint32
4499 maxTransformFeedbackBufferDataSize*: uint32
4500 maxTransformFeedbackBufferDataStride*: uint32
4501 transformFeedbackQueries*: VkBool32
4502 transformFeedbackStreamsLinesTriangles*: VkBool32
4503 transformFeedbackRasterizationStreamSelect*: VkBool32
4504 transformFeedbackDraw*: VkBool32
4505
4506 VkPipelineRasterizationStateStreamCreateInfoEXT* = object
4507 sType*: VkStructureType
4508 pNext*: pointer
4509 flags*: VkPipelineRasterizationStateStreamCreateFlagsEXT
4510 rasterizationStream*: uint32
4511
4512 VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* = object
4513 sType*: VkStructureType
4514 pNext*: pointer
4515 representativeFragmentTest*: VkBool32
4516
4517 VkPipelineRepresentativeFragmentTestStateCreateInfoNV* = object
4518 sType*: VkStructureType
4519 pNext*: pointer
4520 representativeFragmentTestEnable*: VkBool32
4521
4522 VkPhysicalDeviceExclusiveScissorFeaturesNV* = object
4523 sType*: VkStructureType
4524 pNext*: pointer
4525 exclusiveScissor*: VkBool32
4526
4527 VkPipelineViewportExclusiveScissorStateCreateInfoNV* = object
4528 sType*: VkStructureType
4529 pNext*: pointer
4530 exclusiveScissorCount*: uint32
4531 pExclusiveScissors*: ptr VkRect2D
4532
4533 VkPhysicalDeviceCornerSampledImageFeaturesNV* = object
4534 sType*: VkStructureType
4535 pNext*: pointer
4536 cornerSampledImage*: VkBool32
4537
4538 VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* = object
4539 sType*: VkStructureType
4540 pNext*: pointer
4541 computeDerivativeGroupQuads*: VkBool32
4542 computeDerivativeGroupLinear*: VkBool32
4543
4544 VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* = object
4545 sType*: VkStructureType
4546 pNext*: pointer
4547 fragmentShaderBarycentric*: VkBool32
4548
4549 VkPhysicalDeviceShaderImageFootprintFeaturesNV* = object
4550 sType*: VkStructureType
4551 pNext*: pointer
4552 imageFootprint*: VkBool32
4553
4554 VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* = object
4555 sType*: VkStructureType
4556 pNext*: pointer
4557 dedicatedAllocationImageAliasing*: VkBool32
4558
4559 VkShadingRatePaletteNV* = object
4560 shadingRatePaletteEntryCount*: uint32
4561 pShadingRatePaletteEntries*: ptr VkShadingRatePaletteEntryNV
4562
4563 VkPipelineViewportShadingRateImageStateCreateInfoNV* = object
4564 sType*: VkStructureType
4565 pNext*: pointer
4566 shadingRateImageEnable*: VkBool32
4567 viewportCount*: uint32
4568 pShadingRatePalettes*: ptr VkShadingRatePaletteNV
4569
4570 VkPhysicalDeviceShadingRateImageFeaturesNV* = object
4571 sType*: VkStructureType
4572 pNext*: pointer
4573 shadingRateImage*: VkBool32
4574 shadingRateCoarseSampleOrder*: VkBool32
4575
4576 VkPhysicalDeviceShadingRateImagePropertiesNV* = object
4577 sType*: VkStructureType
4578 pNext*: pointer
4579 shadingRateTexelSize*: VkExtent2D
4580 shadingRatePaletteSize*: uint32
4581 shadingRateMaxCoarseSamples*: uint32
4582
4583 VkCoarseSampleLocationNV* = object
4584 pixelX*: uint32
4585 pixelY*: uint32
4586 sample*: uint32
4587
4588 VkCoarseSampleOrderCustomNV* = object
4589 shadingRate*: VkShadingRatePaletteEntryNV
4590 sampleCount*: uint32
4591 sampleLocationCount*: uint32
4592 pSampleLocations*: ptr VkCoarseSampleLocationNV
4593
4594 VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* = object
4595 sType*: VkStructureType
4596 pNext*: pointer
4597 sampleOrderType*: VkCoarseSampleOrderTypeNV
4598 customSampleOrderCount*: uint32
4599 pCustomSampleOrders*: ptr VkCoarseSampleOrderCustomNV
4600
4601 VkPhysicalDeviceMeshShaderFeaturesNV* = object
4602 sType*: VkStructureType
4603 pNext*: pointer
4604 taskShader*: VkBool32
4605 meshShader*: VkBool32
4606
4607 VkPhysicalDeviceMeshShaderPropertiesNV* = object
4608 sType*: VkStructureType
4609 pNext*: pointer
4610 maxDrawMeshTasksCount*: uint32
4611 maxTaskWorkGroupInvocations*: uint32
4612 maxTaskWorkGroupSize*: array[3, uint32]
4613 maxTaskTotalMemorySize*: uint32
4614 maxTaskOutputCount*: uint32
4615 maxMeshWorkGroupInvocations*: uint32
4616 maxMeshWorkGroupSize*: array[3, uint32]
4617 maxMeshTotalMemorySize*: uint32
4618 maxMeshOutputVertices*: uint32
4619 maxMeshOutputPrimitives*: uint32
4620 maxMeshMultiviewViewCount*: uint32
4621 meshOutputPerVertexGranularity*: uint32
4622 meshOutputPerPrimitiveGranularity*: uint32
4623
4624 VkDrawMeshTasksIndirectCommandNV* = object
4625 taskCount*: uint32
4626 firstTask*: uint32
4627
4628 VkRayTracingShaderGroupCreateInfoNV* = object
4629 sType*: VkStructureType
4630 pNext*: pointer
4631 `type`*: VkRayTracingShaderGroupTypeKHR
4632 generalShader*: uint32
4633 closestHitShader*: uint32
4634 anyHitShader*: uint32
4635 intersectionShader*: uint32
4636
4637 VkRayTracingShaderGroupCreateInfoKHR* = object
4638 sType*: VkStructureType
4639 pNext*: pointer
4640 `type`*: VkRayTracingShaderGroupTypeKHR
4641 generalShader*: uint32
4642 closestHitShader*: uint32
4643 anyHitShader*: uint32
4644 intersectionShader*: uint32
4645 pShaderGroupCaptureReplayHandle*: pointer
4646
4647 VkRayTracingPipelineCreateInfoNV* = object
4648 sType*: VkStructureType
4649 pNext*: pointer
4650 flags*: VkPipelineCreateFlags
4651 stageCount*: uint32
4652 pStages*: ptr VkPipelineShaderStageCreateInfo
4653 groupCount*: uint32
4654 pGroups*: ptr VkRayTracingShaderGroupCreateInfoNV
4655 maxRecursionDepth*: uint32
4656 layout*: VkPipelineLayout
4657 basePipelineHandle*: VkPipeline
4658 basePipelineIndex*: int32
4659
4660 VkRayTracingPipelineCreateInfoKHR* = object
4661 sType*: VkStructureType
4662 pNext*: pointer
4663 flags*: VkPipelineCreateFlags
4664 stageCount*: uint32
4665 pStages*: ptr VkPipelineShaderStageCreateInfo
4666 groupCount*: uint32
4667 pGroups*: ptr VkRayTracingShaderGroupCreateInfoKHR
4668 maxRecursionDepth*: uint32
4669 libraries*: VkPipelineLibraryCreateInfoKHR
4670 pLibraryInterface*: ptr VkRayTracingPipelineInterfaceCreateInfoKHR
4671 layout*: VkPipelineLayout
4672 basePipelineHandle*: VkPipeline
4673 basePipelineIndex*: int32
4674
4675 VkGeometryTrianglesNV* = object
4676 sType*: VkStructureType
4677 pNext*: pointer
4678 vertexData*: VkBuffer
4679 vertexOffset*: VkDeviceSize
4680 vertexCount*: uint32
4681 vertexStride*: VkDeviceSize
4682 vertexFormat*: VkFormat
4683 indexData*: VkBuffer
4684 indexOffset*: VkDeviceSize
4685 indexCount*: uint32
4686 indexType*: VkIndexType
4687 transformData*: VkBuffer
4688 transformOffset*: VkDeviceSize
4689
4690 VkGeometryAABBNV* = object
4691 sType*: VkStructureType
4692 pNext*: pointer
4693 aabbData*: VkBuffer
4694 numAABBs*: uint32
4695 stride*: uint32
4696 offset*: VkDeviceSize
4697
4698 VkGeometryDataNV* = object
4699 triangles*: VkGeometryTrianglesNV
4700 aabbs*: VkGeometryAABBNV
4701
4702 VkGeometryNV* = object
4703 sType*: VkStructureType
4704 pNext*: pointer
4705 geometryType*: VkGeometryTypeKHR
4706 geometry*: VkGeometryDataNV
4707 flags*: VkGeometryFlagsKHR
4708
4709 VkAccelerationStructureInfoNV* = object
4710 sType*: VkStructureType
4711 pNext*: pointer
4712 `type`*: VkAccelerationStructureTypeNV
4713 flags*: VkBuildAccelerationStructureFlagsNV
4714 instanceCount*: uint32
4715 geometryCount*: uint32
4716 pGeometries*: ptr VkGeometryNV
4717
4718 VkAccelerationStructureCreateInfoNV* = object
4719 sType*: VkStructureType
4720 pNext*: pointer
4721 compactedSize*: VkDeviceSize
4722 info*: VkAccelerationStructureInfoNV
4723
4724 VkBindAccelerationStructureMemoryInfoKHR* = object
4725 sType*: VkStructureType
4726 pNext*: pointer
4727 accelerationStructure*: VkAccelerationStructureKHR
4728 memory*: VkDeviceMemory
4729 memoryOffset*: VkDeviceSize
4730 deviceIndexCount*: uint32
4731 pDeviceIndices*: ptr uint32
4732
4733 VkBindAccelerationStructureMemoryInfoNV* = object
4734
4735 VkWriteDescriptorSetAccelerationStructureKHR* = object
4736 sType*: VkStructureType
4737 pNext*: pointer
4738 accelerationStructureCount*: uint32
4739 pAccelerationStructures*: ptr VkAccelerationStructureKHR
4740
4741 VkWriteDescriptorSetAccelerationStructureNV* = object
4742
4743 VkAccelerationStructureMemoryRequirementsInfoKHR* = object
4744 sType*: VkStructureType
4745 pNext*: pointer
4746 `type`*: VkAccelerationStructureMemoryRequirementsTypeKHR
4747 buildType*: VkAccelerationStructureBuildTypeKHR
4748 accelerationStructure*: VkAccelerationStructureKHR
4749
4750 VkAccelerationStructureMemoryRequirementsInfoNV* = object
4751 sType*: VkStructureType
4752 pNext*: pointer
4753 `type`*: VkAccelerationStructureMemoryRequirementsTypeNV
4754 accelerationStructure*: VkAccelerationStructureNV
4755
4756 VkPhysicalDeviceRayTracingFeaturesKHR* = object
4757 sType*: VkStructureType
4758 pNext*: pointer
4759 rayTracing*: VkBool32
4760 rayTracingShaderGroupHandleCaptureReplay*: VkBool32
4761 rayTracingShaderGroupHandleCaptureReplayMixed*: VkBool32
4762 rayTracingAccelerationStructureCaptureReplay*: VkBool32
4763 rayTracingIndirectTraceRays*: VkBool32
4764 rayTracingIndirectAccelerationStructureBuild*: VkBool32
4765 rayTracingHostAccelerationStructureCommands*: VkBool32
4766 rayQuery*: VkBool32
4767 rayTracingPrimitiveCulling*: VkBool32
4768
4769 VkPhysicalDeviceRayTracingPropertiesKHR* = object
4770 sType*: VkStructureType
4771 pNext*: pointer
4772 shaderGroupHandleSize*: uint32
4773 maxRecursionDepth*: uint32
4774 maxShaderGroupStride*: uint32
4775 shaderGroupBaseAlignment*: uint32
4776 maxGeometryCount*: uint64
4777 maxInstanceCount*: uint64
4778 maxPrimitiveCount*: uint64
4779 maxDescriptorSetAccelerationStructures*: uint32
4780 shaderGroupHandleCaptureReplaySize*: uint32
4781
4782 VkPhysicalDeviceRayTracingPropertiesNV* = object
4783 sType*: VkStructureType
4784 pNext*: pointer
4785 shaderGroupHandleSize*: uint32
4786 maxRecursionDepth*: uint32
4787 maxShaderGroupStride*: uint32
4788 shaderGroupBaseAlignment*: uint32
4789 maxGeometryCount*: uint64
4790 maxInstanceCount*: uint64
4791 maxTriangleCount*: uint64
4792 maxDescriptorSetAccelerationStructures*: uint32
4793
4794 VkStridedBufferRegionKHR* = object
4795 buffer*: VkBuffer
4796 offset*: VkDeviceSize
4797 stride*: VkDeviceSize
4798 size*: VkDeviceSize
4799
4800 VkTraceRaysIndirectCommandKHR* = object
4801 width*: uint32
4802 height*: uint32
4803 depth*: uint32
4804
4805 VkDrmFormatModifierPropertiesListEXT* = object
4806 sType*: VkStructureType
4807 pNext*: pointer
4808 drmFormatModifierCount*: uint32
4809 pDrmFormatModifierProperties*: ptr VkDrmFormatModifierPropertiesEXT
4810
4811 VkDrmFormatModifierPropertiesEXT* = object
4812 drmFormatModifier*: uint64
4813 drmFormatModifierPlaneCount*: uint32
4814 drmFormatModifierTilingFeatures*: VkFormatFeatureFlags
4815
4816 VkPhysicalDeviceImageDrmFormatModifierInfoEXT* = object
4817 sType*: VkStructureType
4818 pNext*: pointer
4819 drmFormatModifier*: uint64
4820 sharingMode*: VkSharingMode
4821 queueFamilyIndexCount*: uint32
4822 pQueueFamilyIndices*: ptr uint32
4823
4824 VkImageDrmFormatModifierListCreateInfoEXT* = object
4825 sType*: VkStructureType
4826 pNext*: pointer
4827 drmFormatModifierCount*: uint32
4828 pDrmFormatModifiers*: ptr uint64
4829
4830 VkImageDrmFormatModifierExplicitCreateInfoEXT* = object
4831 sType*: VkStructureType
4832 pNext*: pointer
4833 drmFormatModifier*: uint64
4834 drmFormatModifierPlaneCount*: uint32
4835 pPlaneLayouts*: ptr VkSubresourceLayout
4836
4837 VkImageDrmFormatModifierPropertiesEXT* = object
4838 sType*: VkStructureType
4839 pNext*: pointer
4840 drmFormatModifier*: uint64
4841
4842 VkImageStencilUsageCreateInfo* = object
4843 sType*: VkStructureType
4844 pNext*: pointer
4845 stencilUsage*: VkImageUsageFlags
4846
4847 VkImageStencilUsageCreateInfoEXT* = object
4848
4849 VkDeviceMemoryOverallocationCreateInfoAMD* = object
4850 sType*: VkStructureType
4851 pNext*: pointer
4852 overallocationBehavior*: VkMemoryOverallocationBehaviorAMD
4853
4854 VkPhysicalDeviceFragmentDensityMapFeaturesEXT* = object
4855 sType*: VkStructureType
4856 pNext*: pointer
4857 fragmentDensityMap*: VkBool32
4858 fragmentDensityMapDynamic*: VkBool32
4859 fragmentDensityMapNonSubsampledImages*: VkBool32
4860
4861 VkPhysicalDeviceFragmentDensityMap2FeaturesEXT* = object
4862 sType*: VkStructureType
4863 pNext*: pointer
4864 fragmentDensityMapDeferred*: VkBool32
4865
4866 VkPhysicalDeviceFragmentDensityMapPropertiesEXT* = object
4867 sType*: VkStructureType
4868 pNext*: pointer
4869 minFragmentDensityTexelSize*: VkExtent2D
4870 maxFragmentDensityTexelSize*: VkExtent2D
4871 fragmentDensityInvocations*: VkBool32
4872
4873 VkPhysicalDeviceFragmentDensityMap2PropertiesEXT* = object
4874 sType*: VkStructureType
4875 pNext*: pointer
4876 subsampledLoads*: VkBool32
4877 subsampledCoarseReconstructionEarlyAccess*: VkBool32
4878 maxSubsampledArrayLayers*: uint32
4879 maxDescriptorSetSubsampledSamplers*: uint32
4880
4881 VkRenderPassFragmentDensityMapCreateInfoEXT* = object
4882 sType*: VkStructureType
4883 pNext*: pointer
4884 fragmentDensityMapAttachment*: VkAttachmentReference
4885
4886 VkPhysicalDeviceScalarBlockLayoutFeatures* = object
4887 sType*: VkStructureType
4888 pNext*: pointer
4889 scalarBlockLayout*: VkBool32
4890
4891 VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* = object
4892
4893 VkSurfaceProtectedCapabilitiesKHR* = object
4894 sType*: VkStructureType
4895 pNext*: pointer
4896 supportsProtected*: VkBool32
4897
4898 VkPhysicalDeviceUniformBufferStandardLayoutFeatures* = object
4899 sType*: VkStructureType
4900 pNext*: pointer
4901 uniformBufferStandardLayout*: VkBool32
4902
4903 VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* = object
4904
4905 VkPhysicalDeviceDepthClipEnableFeaturesEXT* = object
4906 sType*: VkStructureType
4907 pNext*: pointer
4908 depthClipEnable*: VkBool32
4909
4910 VkPipelineRasterizationDepthClipStateCreateInfoEXT* = object
4911 sType*: VkStructureType
4912 pNext*: pointer
4913 flags*: VkPipelineRasterizationDepthClipStateCreateFlagsEXT
4914 depthClipEnable*: VkBool32
4915
4916 VkPhysicalDeviceMemoryBudgetPropertiesEXT* = object
4917 sType*: VkStructureType
4918 pNext*: pointer
4919 heapBudget*: array[VK_MAX_MEMORY_HEAPS, VkDeviceSize]
4920 heapUsage*: array[VK_MAX_MEMORY_HEAPS, VkDeviceSize]
4921
4922 VkPhysicalDeviceMemoryPriorityFeaturesEXT* = object
4923 sType*: VkStructureType
4924 pNext*: pointer
4925 memoryPriority*: VkBool32
4926
4927 VkMemoryPriorityAllocateInfoEXT* = object
4928 sType*: VkStructureType
4929 pNext*: pointer
4930 priority*: float32
4931
4932 VkPhysicalDeviceBufferDeviceAddressFeatures* = object
4933 sType*: VkStructureType
4934 pNext*: pointer
4935 bufferDeviceAddress*: VkBool32
4936 bufferDeviceAddressCaptureReplay*: VkBool32
4937 bufferDeviceAddressMultiDevice*: VkBool32
4938
4939 VkPhysicalDeviceBufferDeviceAddressFeaturesKHR* = object
4940
4941 VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* = object
4942 sType*: VkStructureType
4943 pNext*: pointer
4944 bufferDeviceAddress*: VkBool32
4945 bufferDeviceAddressCaptureReplay*: VkBool32
4946 bufferDeviceAddressMultiDevice*: VkBool32
4947
4948 VkPhysicalDeviceBufferAddressFeaturesEXT* = object
4949
4950 VkBufferDeviceAddressInfo* = object
4951 sType*: VkStructureType
4952 pNext*: pointer
4953 buffer*: VkBuffer
4954
4955 VkBufferDeviceAddressInfoKHR* = object
4956
4957 VkBufferDeviceAddressInfoEXT* = object
4958
4959 VkBufferOpaqueCaptureAddressCreateInfo* = object
4960 sType*: VkStructureType
4961 pNext*: pointer
4962 opaqueCaptureAddress*: uint64
4963
4964 VkBufferOpaqueCaptureAddressCreateInfoKHR* = object
4965
4966 VkBufferDeviceAddressCreateInfoEXT* = object
4967 sType*: VkStructureType
4968 pNext*: pointer
4969 deviceAddress*: VkDeviceAddress
4970
4971 VkPhysicalDeviceImageViewImageFormatInfoEXT* = object
4972 sType*: VkStructureType
4973 pNext*: pointer
4974 imageViewType*: VkImageViewType
4975
4976 VkFilterCubicImageViewImageFormatPropertiesEXT* = object
4977 sType*: VkStructureType
4978 pNext*: pointer
4979 filterCubic*: VkBool32
4980 filterCubicMinmax*: VkBool32
4981
4982 VkPhysicalDeviceImagelessFramebufferFeatures* = object
4983 sType*: VkStructureType
4984 pNext*: pointer
4985 imagelessFramebuffer*: VkBool32
4986
4987 VkPhysicalDeviceImagelessFramebufferFeaturesKHR* = object
4988
4989 VkFramebufferAttachmentsCreateInfo* = object
4990 sType*: VkStructureType
4991 pNext*: pointer
4992 attachmentImageInfoCount*: uint32
4993 pAttachmentImageInfos*: ptr VkFramebufferAttachmentImageInfo
4994
4995 VkFramebufferAttachmentsCreateInfoKHR* = object
4996
4997 VkFramebufferAttachmentImageInfo* = object
4998 sType*: VkStructureType
4999 pNext*: pointer
5000 flags*: VkImageCreateFlags
5001 usage*: VkImageUsageFlags
5002 width*: uint32
5003 height*: uint32
5004 layerCount*: uint32
5005 viewFormatCount*: uint32
5006 pViewFormats*: ptr VkFormat
5007
5008 VkFramebufferAttachmentImageInfoKHR* = object
5009
5010 VkRenderPassAttachmentBeginInfo* = object
5011 sType*: VkStructureType
5012 pNext*: pointer
5013 attachmentCount*: uint32
5014 pAttachments*: ptr VkImageView
5015
5016 VkRenderPassAttachmentBeginInfoKHR* = object
5017
5018 VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT* = object
5019 sType*: VkStructureType
5020 pNext*: pointer
5021 textureCompressionASTC_HDR*: VkBool32
5022
5023 VkPhysicalDeviceCooperativeMatrixFeaturesNV* = object
5024 sType*: VkStructureType
5025 pNext*: pointer
5026 cooperativeMatrix*: VkBool32
5027 cooperativeMatrixRobustBufferAccess*: VkBool32
5028
5029 VkPhysicalDeviceCooperativeMatrixPropertiesNV* = object
5030 sType*: VkStructureType
5031 pNext*: pointer
5032 cooperativeMatrixSupportedStages*: VkShaderStageFlags
5033
5034 VkCooperativeMatrixPropertiesNV* = object
5035 sType*: VkStructureType
5036 pNext*: pointer
5037 MSize*: uint32
5038 NSize*: uint32
5039 KSize*: uint32
5040 AType*: VkComponentTypeNV
5041 BType*: VkComponentTypeNV
5042 CType*: VkComponentTypeNV
5043 DType*: VkComponentTypeNV
5044 scope*: VkScopeNV
5045
5046 VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* = object
5047 sType*: VkStructureType
5048 pNext*: pointer
5049 ycbcrImageArrays*: VkBool32
5050
5051 VkImageViewHandleInfoNVX* = object
5052 sType*: VkStructureType
5053 pNext*: pointer
5054 imageView*: VkImageView
5055 descriptorType*: VkDescriptorType
5056 sampler*: VkSampler
5057
5058 VkImageViewAddressPropertiesNVX* = object
5059 sType*: VkStructureType
5060 pNext*: pointer
5061 deviceAddress*: VkDeviceAddress
5062 size*: VkDeviceSize
5063
5064 VkPresentFrameTokenGGP* = object
5065 sType*: VkStructureType
5066 pNext*: pointer
5067 frameToken*: GgpFrameToken
5068
5069 VkPipelineCreationFeedbackEXT* = object
5070 flags*: VkPipelineCreationFeedbackFlagsEXT
5071 duration*: uint64
5072
5073 VkPipelineCreationFeedbackCreateInfoEXT* = object
5074 sType*: VkStructureType
5075 pNext*: pointer
5076 pPipelineCreationFeedback*: ptr VkPipelineCreationFeedbackEXT
5077 pipelineStageCreationFeedbackCount*: uint32
5078 pPipelineStageCreationFeedbacks*: ptr ptr VkPipelineCreationFeedbackEXT
5079
5080 VkSurfaceFullScreenExclusiveInfoEXT* = object
5081 sType*: VkStructureType
5082 pNext*: pointer
5083 fullScreenExclusive*: VkFullScreenExclusiveEXT
5084
5085 VkSurfaceFullScreenExclusiveWin32InfoEXT* = object
5086 sType*: VkStructureType
5087 pNext*: pointer
5088 hmonitor*: HMONITOR
5089
5090 VkSurfaceCapabilitiesFullScreenExclusiveEXT* = object
5091 sType*: VkStructureType
5092 pNext*: pointer
5093 fullScreenExclusiveSupported*: VkBool32
5094
5095 VkPhysicalDevicePerformanceQueryFeaturesKHR* = object
5096 sType*: VkStructureType
5097 pNext*: pointer
5098 performanceCounterQueryPools*: VkBool32
5099 performanceCounterMultipleQueryPools*: VkBool32
5100
5101 VkPhysicalDevicePerformanceQueryPropertiesKHR* = object
5102 sType*: VkStructureType
5103 pNext*: pointer
5104 allowCommandBufferQueryCopies*: VkBool32
5105
5106 VkPerformanceCounterKHR* = object
5107 sType*: VkStructureType
5108 pNext*: pointer
5109 unit*: VkPerformanceCounterUnitKHR
5110 scope*: VkPerformanceCounterScopeKHR
5111 storage*: VkPerformanceCounterStorageKHR
5112 uuid*: array[VK_UUID_SIZE, uint8]
5113
5114 VkPerformanceCounterDescriptionKHR* = object
5115 sType*: VkStructureType
5116 pNext*: pointer
5117 flags*: VkPerformanceCounterDescriptionFlagsKHR
5118 name*: array[VK_MAX_DESCRIPTION_SIZE, char]
5119 category*: array[VK_MAX_DESCRIPTION_SIZE, char]
5120 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
5121
5122 VkQueryPoolPerformanceCreateInfoKHR* = object
5123 sType*: VkStructureType
5124 pNext*: pointer
5125 queueFamilyIndex*: uint32
5126 counterIndexCount*: uint32
5127 pCounterIndices*: ptr uint32
5128
5129 VkPerformanceCounterResultKHR* {.union.} = object
5130 int32*: int32
5131 int64*: int64
5132 uint32*: uint32
5133 uint64*: uint64
5134 float32*: float32
5135 float64*: float64
5136
5137 VkAcquireProfilingLockInfoKHR* = object
5138 sType*: VkStructureType
5139 pNext*: pointer
5140 flags*: VkAcquireProfilingLockFlagsKHR
5141 timeout*: uint64
5142
5143 VkPerformanceQuerySubmitInfoKHR* = object
5144 sType*: VkStructureType
5145 pNext*: pointer
5146 counterPassIndex*: uint32
5147
5148 VkHeadlessSurfaceCreateInfoEXT* = object
5149 sType*: VkStructureType
5150 pNext*: pointer
5151 flags*: VkHeadlessSurfaceCreateFlagsEXT
5152
5153 VkPhysicalDeviceCoverageReductionModeFeaturesNV* = object
5154 sType*: VkStructureType
5155 pNext*: pointer
5156 coverageReductionMode*: VkBool32
5157
5158 VkPipelineCoverageReductionStateCreateInfoNV* = object
5159 sType*: VkStructureType
5160 pNext*: pointer
5161 flags*: VkPipelineCoverageReductionStateCreateFlagsNV
5162 coverageReductionMode*: VkCoverageReductionModeNV
5163
5164 VkFramebufferMixedSamplesCombinationNV* = object
5165 sType*: VkStructureType
5166 pNext*: pointer
5167 coverageReductionMode*: VkCoverageReductionModeNV
5168 rasterizationSamples*: VkSampleCountFlagBits
5169 depthStencilSamples*: VkSampleCountFlags
5170 colorSamples*: VkSampleCountFlags
5171
5172 VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL* = object
5173 sType*: VkStructureType
5174 pNext*: pointer
5175 shaderIntegerFunctions2*: VkBool32
5176
5177 VkPerformanceValueDataINTEL* {.union.} = object
5178 value32*: uint32
5179 value64*: uint64
5180 valueFloat*: float32
5181 valueBool*: VkBool32
5182 valueString*: cstring
5183
5184 VkPerformanceValueINTEL* = object
5185 `type`*: VkPerformanceValueTypeINTEL
5186 data*: VkPerformanceValueDataINTEL
5187
5188 VkInitializePerformanceApiInfoINTEL* = object
5189 sType*: VkStructureType
5190 pNext*: pointer
5191 pUserData*: pointer
5192
5193 VkQueryPoolPerformanceQueryCreateInfoINTEL* = object
5194 sType*: VkStructureType
5195 pNext*: pointer
5196 performanceCountersSampling*: VkQueryPoolSamplingModeINTEL
5197
5198 VkQueryPoolCreateInfoINTEL* = object
5199
5200 VkPerformanceMarkerInfoINTEL* = object
5201 sType*: VkStructureType
5202 pNext*: pointer
5203 marker*: uint64
5204
5205 VkPerformanceStreamMarkerInfoINTEL* = object
5206 sType*: VkStructureType
5207 pNext*: pointer
5208 marker*: uint32
5209
5210 VkPerformanceOverrideInfoINTEL* = object
5211 sType*: VkStructureType
5212 pNext*: pointer
5213 `type`*: VkPerformanceOverrideTypeINTEL
5214 enable*: VkBool32
5215 parameter*: uint64
5216
5217 VkPerformanceConfigurationAcquireInfoINTEL* = object
5218 sType*: VkStructureType
5219 pNext*: pointer
5220 `type`*: VkPerformanceConfigurationTypeINTEL
5221
5222 VkPhysicalDeviceShaderClockFeaturesKHR* = object
5223 sType*: VkStructureType
5224 pNext*: pointer
5225 shaderSubgroupClock*: VkBool32
5226 shaderDeviceClock*: VkBool32
5227
5228 VkPhysicalDeviceIndexTypeUint8FeaturesEXT* = object
5229 sType*: VkStructureType
5230 pNext*: pointer
5231 indexTypeUint8*: VkBool32
5232
5233 VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* = object
5234 sType*: VkStructureType
5235 pNext*: pointer
5236 shaderSMCount*: uint32
5237 shaderWarpsPerSM*: uint32
5238
5239 VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* = object
5240 sType*: VkStructureType
5241 pNext*: pointer
5242 shaderSMBuiltins*: VkBool32
5243
5244 VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* = object
5245 sType*: VkStructureType
5246 pNext*: pointer
5247 fragmentShaderSampleInterlock*: VkBool32
5248 fragmentShaderPixelInterlock*: VkBool32
5249 fragmentShaderShadingRateInterlock*: VkBool32
5250
5251 VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures* = object
5252 sType*: VkStructureType
5253 pNext*: pointer
5254 separateDepthStencilLayouts*: VkBool32
5255
5256 VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR* = object
5257
5258 VkAttachmentReferenceStencilLayout* = object
5259 sType*: VkStructureType
5260 pNext*: pointer
5261 stencilLayout*: VkImageLayout
5262
5263 VkAttachmentReferenceStencilLayoutKHR* = object
5264
5265 VkAttachmentDescriptionStencilLayout* = object
5266 sType*: VkStructureType
5267 pNext*: pointer
5268 stencilInitialLayout*: VkImageLayout
5269 stencilFinalLayout*: VkImageLayout
5270
5271 VkAttachmentDescriptionStencilLayoutKHR* = object
5272
5273 VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR* = object
5274 sType*: VkStructureType
5275 pNext*: pointer
5276 pipelineExecutableInfo*: VkBool32
5277
5278 VkPipelineInfoKHR* = object
5279 sType*: VkStructureType
5280 pNext*: pointer
5281 pipeline*: VkPipeline
5282
5283 VkPipelineExecutablePropertiesKHR* = object
5284 sType*: VkStructureType
5285 pNext*: pointer
5286 stages*: VkShaderStageFlags
5287 name*: array[VK_MAX_DESCRIPTION_SIZE, char]
5288 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
5289 subgroupSize*: uint32
5290
5291 VkPipelineExecutableInfoKHR* = object
5292 sType*: VkStructureType
5293 pNext*: pointer
5294 pipeline*: VkPipeline
5295 executableIndex*: uint32
5296
5297 VkPipelineExecutableStatisticValueKHR* {.union.} = object
5298 b32*: VkBool32
5299 i64*: int64
5300 u64*: uint64
5301 f64*: float64
5302
5303 VkPipelineExecutableStatisticKHR* = object
5304 sType*: VkStructureType
5305 pNext*: pointer
5306 name*: array[VK_MAX_DESCRIPTION_SIZE, char]
5307 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
5308 format*: VkPipelineExecutableStatisticFormatKHR
5309 value*: VkPipelineExecutableStatisticValueKHR
5310
5311 VkPipelineExecutableInternalRepresentationKHR* = object
5312 sType*: VkStructureType
5313 pNext*: pointer
5314 name*: array[VK_MAX_DESCRIPTION_SIZE, char]
5315 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
5316 isText*: VkBool32
5317 dataSize*: uint
5318 pData*: pointer
5319
5320 VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT* = object
5321 sType*: VkStructureType
5322 pNext*: pointer
5323 shaderDemoteToHelperInvocation*: VkBool32
5324
5325 VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* = object
5326 sType*: VkStructureType
5327 pNext*: pointer
5328 texelBufferAlignment*: VkBool32
5329
5330 VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT* = object
5331 sType*: VkStructureType
5332 pNext*: pointer
5333 storageTexelBufferOffsetAlignmentBytes*: VkDeviceSize
5334 storageTexelBufferOffsetSingleTexelAlignment*: VkBool32
5335 uniformTexelBufferOffsetAlignmentBytes*: VkDeviceSize
5336 uniformTexelBufferOffsetSingleTexelAlignment*: VkBool32
5337
5338 VkPhysicalDeviceSubgroupSizeControlFeaturesEXT* = object
5339 sType*: VkStructureType
5340 pNext*: pointer
5341 subgroupSizeControl*: VkBool32
5342 computeFullSubgroups*: VkBool32
5343
5344 VkPhysicalDeviceSubgroupSizeControlPropertiesEXT* = object
5345 sType*: VkStructureType
5346 pNext*: pointer
5347 minSubgroupSize*: uint32
5348 maxSubgroupSize*: uint32
5349 maxComputeWorkgroupSubgroups*: uint32
5350 requiredSubgroupSizeStages*: VkShaderStageFlags
5351
5352 VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT* = object
5353 sType*: VkStructureType
5354 pNext*: pointer
5355 requiredSubgroupSize*: uint32
5356
5357 VkMemoryOpaqueCaptureAddressAllocateInfo* = object
5358 sType*: VkStructureType
5359 pNext*: pointer
5360 opaqueCaptureAddress*: uint64
5361
5362 VkMemoryOpaqueCaptureAddressAllocateInfoKHR* = object
5363
5364 VkDeviceMemoryOpaqueCaptureAddressInfo* = object
5365 sType*: VkStructureType
5366 pNext*: pointer
5367 memory*: VkDeviceMemory
5368
5369 VkDeviceMemoryOpaqueCaptureAddressInfoKHR* = object
5370
5371 VkPhysicalDeviceLineRasterizationFeaturesEXT* = object
5372 sType*: VkStructureType
5373 pNext*: pointer
5374 rectangularLines*: VkBool32
5375 bresenhamLines*: VkBool32
5376 smoothLines*: VkBool32
5377 stippledRectangularLines*: VkBool32
5378 stippledBresenhamLines*: VkBool32
5379 stippledSmoothLines*: VkBool32
5380
5381 VkPhysicalDeviceLineRasterizationPropertiesEXT* = object
5382 sType*: VkStructureType
5383 pNext*: pointer
5384 lineSubPixelPrecisionBits*: uint32
5385
5386 VkPipelineRasterizationLineStateCreateInfoEXT* = object
5387 sType*: VkStructureType
5388 pNext*: pointer
5389 lineRasterizationMode*: VkLineRasterizationModeEXT
5390 stippledLineEnable*: VkBool32
5391 lineStippleFactor*: uint32
5392 lineStipplePattern*: uint16
5393
5394 VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT* = object
5395 sType*: VkStructureType
5396 pNext*: pointer
5397 pipelineCreationCacheControl*: VkBool32
5398
5399 VkPhysicalDeviceVulkan11Features* = object
5400 sType*: VkStructureType
5401 pNext*: pointer
5402 storageBuffer16BitAccess*: VkBool32
5403 uniformAndStorageBuffer16BitAccess*: VkBool32
5404 storagePushConstant16*: VkBool32
5405 storageInputOutput16*: VkBool32
5406 multiview*: VkBool32
5407 multiviewGeometryShader*: VkBool32
5408 multiviewTessellationShader*: VkBool32
5409 variablePointersStorageBuffer*: VkBool32
5410 variablePointers*: VkBool32
5411 protectedMemory*: VkBool32
5412 samplerYcbcrConversion*: VkBool32
5413 shaderDrawParameters*: VkBool32
5414
5415 VkPhysicalDeviceVulkan11Properties* = object
5416 sType*: VkStructureType
5417 pNext*: pointer
5418 deviceUUID*: array[VK_UUID_SIZE, uint8]
5419 driverUUID*: array[VK_UUID_SIZE, uint8]
5420 deviceLUID*: array[VK_LUID_SIZE, uint8]
5421 deviceNodeMask*: uint32
5422 deviceLUIDValid*: VkBool32
5423 subgroupSize*: uint32
5424 subgroupSupportedStages*: VkShaderStageFlags
5425 subgroupSupportedOperations*: VkSubgroupFeatureFlags
5426 subgroupQuadOperationsInAllStages*: VkBool32
5427 pointClippingBehavior*: VkPointClippingBehavior
5428 maxMultiviewViewCount*: uint32
5429 maxMultiviewInstanceIndex*: uint32
5430 protectedNoFault*: VkBool32
5431 maxPerSetDescriptors*: uint32
5432 maxMemoryAllocationSize*: VkDeviceSize
5433
5434 VkPhysicalDeviceVulkan12Features* = object
5435 sType*: VkStructureType
5436 pNext*: pointer
5437 samplerMirrorClampToEdge*: VkBool32
5438 drawIndirectCount*: VkBool32
5439 storageBuffer8BitAccess*: VkBool32
5440 uniformAndStorageBuffer8BitAccess*: VkBool32
5441 storagePushConstant8*: VkBool32
5442 shaderBufferInt64Atomics*: VkBool32
5443 shaderSharedInt64Atomics*: VkBool32
5444 shaderFloat16*: VkBool32
5445 shaderInt8*: VkBool32
5446 descriptorIndexing*: VkBool32
5447 shaderInputAttachmentArrayDynamicIndexing*: VkBool32
5448 shaderUniformTexelBufferArrayDynamicIndexing*: VkBool32
5449 shaderStorageTexelBufferArrayDynamicIndexing*: VkBool32
5450 shaderUniformBufferArrayNonUniformIndexing*: VkBool32
5451 shaderSampledImageArrayNonUniformIndexing*: VkBool32
5452 shaderStorageBufferArrayNonUniformIndexing*: VkBool32
5453 shaderStorageImageArrayNonUniformIndexing*: VkBool32
5454 shaderInputAttachmentArrayNonUniformIndexing*: VkBool32
5455 shaderUniformTexelBufferArrayNonUniformIndexing*: VkBool32
5456 shaderStorageTexelBufferArrayNonUniformIndexing*: VkBool32
5457 descriptorBindingUniformBufferUpdateAfterBind*: VkBool32
5458 descriptorBindingSampledImageUpdateAfterBind*: VkBool32
5459 descriptorBindingStorageImageUpdateAfterBind*: VkBool32
5460 descriptorBindingStorageBufferUpdateAfterBind*: VkBool32
5461 descriptorBindingUniformTexelBufferUpdateAfterBind*: VkBool32
5462 descriptorBindingStorageTexelBufferUpdateAfterBind*: VkBool32
5463 descriptorBindingUpdateUnusedWhilePending*: VkBool32
5464 descriptorBindingPartiallyBound*: VkBool32
5465 descriptorBindingVariableDescriptorCount*: VkBool32
5466 runtimeDescriptorArray*: VkBool32
5467 samplerFilterMinmax*: VkBool32
5468 scalarBlockLayout*: VkBool32
5469 imagelessFramebuffer*: VkBool32
5470 uniformBufferStandardLayout*: VkBool32
5471 shaderSubgroupExtendedTypes*: VkBool32
5472 separateDepthStencilLayouts*: VkBool32
5473 hostQueryReset*: VkBool32
5474 timelineSemaphore*: VkBool32
5475 bufferDeviceAddress*: VkBool32
5476 bufferDeviceAddressCaptureReplay*: VkBool32
5477 bufferDeviceAddressMultiDevice*: VkBool32
5478 vulkanMemoryModel*: VkBool32
5479 vulkanMemoryModelDeviceScope*: VkBool32
5480 vulkanMemoryModelAvailabilityVisibilityChains*: VkBool32
5481 shaderOutputViewportIndex*: VkBool32
5482 shaderOutputLayer*: VkBool32
5483 subgroupBroadcastDynamicId*: VkBool32
5484
5485 VkPhysicalDeviceVulkan12Properties* = object
5486 sType*: VkStructureType
5487 pNext*: pointer
5488 driverID*: VkDriverId
5489 driverName*: array[VK_MAX_DRIVER_NAME_SIZE, char]
5490 driverInfo*: array[VK_MAX_DRIVER_INFO_SIZE, char]
5491 conformanceVersion*: VkConformanceVersion
5492 denormBehaviorIndependence*: VkShaderFloatControlsIndependence
5493 roundingModeIndependence*: VkShaderFloatControlsIndependence
5494 shaderSignedZeroInfNanPreserveFloat16*: VkBool32
5495 shaderSignedZeroInfNanPreserveFloat32*: VkBool32
5496 shaderSignedZeroInfNanPreserveFloat64*: VkBool32
5497 shaderDenormPreserveFloat16*: VkBool32
5498 shaderDenormPreserveFloat32*: VkBool32
5499 shaderDenormPreserveFloat64*: VkBool32
5500 shaderDenormFlushToZeroFloat16*: VkBool32
5501 shaderDenormFlushToZeroFloat32*: VkBool32
5502 shaderDenormFlushToZeroFloat64*: VkBool32
5503 shaderRoundingModeRTEFloat16*: VkBool32
5504 shaderRoundingModeRTEFloat32*: VkBool32
5505 shaderRoundingModeRTEFloat64*: VkBool32
5506 shaderRoundingModeRTZFloat16*: VkBool32
5507 shaderRoundingModeRTZFloat32*: VkBool32
5508 shaderRoundingModeRTZFloat64*: VkBool32
5509 maxUpdateAfterBindDescriptorsInAllPools*: uint32
5510 shaderUniformBufferArrayNonUniformIndexingNative*: VkBool32
5511 shaderSampledImageArrayNonUniformIndexingNative*: VkBool32
5512 shaderStorageBufferArrayNonUniformIndexingNative*: VkBool32
5513 shaderStorageImageArrayNonUniformIndexingNative*: VkBool32
5514 shaderInputAttachmentArrayNonUniformIndexingNative*: VkBool32
5515 robustBufferAccessUpdateAfterBind*: VkBool32
5516 quadDivergentImplicitLod*: VkBool32
5517 maxPerStageDescriptorUpdateAfterBindSamplers*: uint32
5518 maxPerStageDescriptorUpdateAfterBindUniformBuffers*: uint32
5519 maxPerStageDescriptorUpdateAfterBindStorageBuffers*: uint32
5520 maxPerStageDescriptorUpdateAfterBindSampledImages*: uint32
5521 maxPerStageDescriptorUpdateAfterBindStorageImages*: uint32
5522 maxPerStageDescriptorUpdateAfterBindInputAttachments*: uint32
5523 maxPerStageUpdateAfterBindResources*: uint32
5524 maxDescriptorSetUpdateAfterBindSamplers*: uint32
5525 maxDescriptorSetUpdateAfterBindUniformBuffers*: uint32
5526 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic*: uint32
5527 maxDescriptorSetUpdateAfterBindStorageBuffers*: uint32
5528 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic*: uint32
5529 maxDescriptorSetUpdateAfterBindSampledImages*: uint32
5530 maxDescriptorSetUpdateAfterBindStorageImages*: uint32
5531 maxDescriptorSetUpdateAfterBindInputAttachments*: uint32
5532 supportedDepthResolveModes*: VkResolveModeFlags
5533 supportedStencilResolveModes*: VkResolveModeFlags
5534 independentResolveNone*: VkBool32
5535 independentResolve*: VkBool32
5536 filterMinmaxSingleComponentFormats*: VkBool32
5537 filterMinmaxImageComponentMapping*: VkBool32
5538 maxTimelineSemaphoreValueDifference*: uint64
5539 framebufferIntegerColorSampleCounts*: VkSampleCountFlags
5540
5541 VkPipelineCompilerControlCreateInfoAMD* = object
5542 sType*: VkStructureType
5543 pNext*: pointer
5544 compilerControlFlags*: VkPipelineCompilerControlFlagsAMD
5545
5546 VkPhysicalDeviceCoherentMemoryFeaturesAMD* = object
5547 sType*: VkStructureType
5548 pNext*: pointer
5549 deviceCoherentMemory*: VkBool32
5550
5551 VkPhysicalDeviceToolPropertiesEXT* = object
5552 sType*: VkStructureType
5553 pNext*: pointer
5554 name*: array[VK_MAX_EXTENSION_NAME_SIZE, char]
5555 version*: array[VK_MAX_EXTENSION_NAME_SIZE, char]
5556 purposes*: VkToolPurposeFlagsEXT
5557 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
5558 layer*: array[VK_MAX_EXTENSION_NAME_SIZE, char]
5559
5560 VkSamplerCustomBorderColorCreateInfoEXT* = object
5561 sType*: VkStructureType
5562 pNext*: pointer
5563 customBorderColor*: VkClearColorValue
5564 format*: VkFormat
5565
5566 VkPhysicalDeviceCustomBorderColorPropertiesEXT* = object
5567 sType*: VkStructureType
5568 pNext*: pointer
5569 maxCustomBorderColorSamplers*: uint32
5570
5571 VkPhysicalDeviceCustomBorderColorFeaturesEXT* = object
5572 sType*: VkStructureType
5573 pNext*: pointer
5574 customBorderColors*: VkBool32
5575 customBorderColorWithoutFormat*: VkBool32
5576
5577 VkDeviceOrHostAddressKHR* {.union.} = object
5578 deviceAddress*: VkDeviceAddress
5579 hostAddress*: pointer
5580
5581 VkDeviceOrHostAddressConstKHR* {.union.} = object
5582 deviceAddress*: VkDeviceAddress
5583 hostAddress*: pointer
5584
5585 VkAccelerationStructureGeometryTrianglesDataKHR* = object
5586 sType*: VkStructureType
5587 pNext*: pointer
5588 vertexFormat*: VkFormat
5589 vertexData*: VkDeviceOrHostAddressConstKHR
5590 vertexStride*: VkDeviceSize
5591 indexType*: VkIndexType
5592 indexData*: VkDeviceOrHostAddressConstKHR
5593 transformData*: VkDeviceOrHostAddressConstKHR
5594
5595 VkAccelerationStructureGeometryAabbsDataKHR* = object
5596 sType*: VkStructureType
5597 pNext*: pointer
5598 data*: VkDeviceOrHostAddressConstKHR
5599 stride*: VkDeviceSize
5600
5601 VkAccelerationStructureGeometryInstancesDataKHR* = object
5602 sType*: VkStructureType
5603 pNext*: pointer
5604 arrayOfPointers*: VkBool32
5605 data*: VkDeviceOrHostAddressConstKHR
5606
5607 VkAccelerationStructureGeometryDataKHR* {.union.} = object
5608 triangles*: VkAccelerationStructureGeometryTrianglesDataKHR
5609 aabbs*: VkAccelerationStructureGeometryAabbsDataKHR
5610 instances*: VkAccelerationStructureGeometryInstancesDataKHR
5611
5612 VkAccelerationStructureGeometryKHR* = object
5613 sType*: VkStructureType
5614 pNext*: pointer
5615 geometryType*: VkGeometryTypeKHR
5616 geometry*: VkAccelerationStructureGeometryDataKHR
5617 flags*: VkGeometryFlagsKHR
5618
5619 VkAccelerationStructureBuildGeometryInfoKHR* = object
5620 sType*: VkStructureType
5621 pNext*: pointer
5622 `type`*: VkAccelerationStructureTypeKHR
5623 flags*: VkBuildAccelerationStructureFlagsKHR
5624 update*: VkBool32
5625 srcAccelerationStructure*: VkAccelerationStructureKHR
5626 dstAccelerationStructure*: VkAccelerationStructureKHR
5627 geometryArrayOfPointers*: VkBool32
5628 geometryCount*: uint32
5629 ppGeometries*: ptr ptr VkAccelerationStructureGeometryKHR
5630 scratchData*: VkDeviceOrHostAddressKHR
5631
5632 VkAccelerationStructureBuildOffsetInfoKHR* = object
5633 primitiveCount*: uint32
5634 primitiveOffset*: uint32
5635 firstVertex*: uint32
5636 transformOffset*: uint32
5637
5638 VkAccelerationStructureCreateGeometryTypeInfoKHR* = object
5639 sType*: VkStructureType
5640 pNext*: pointer
5641 geometryType*: VkGeometryTypeKHR
5642 maxPrimitiveCount*: uint32
5643 indexType*: VkIndexType
5644 maxVertexCount*: uint32
5645 vertexFormat*: VkFormat
5646 allowsTransforms*: VkBool32
5647
5648 VkAccelerationStructureCreateInfoKHR* = object
5649 sType*: VkStructureType
5650 pNext*: pointer
5651 compactedSize*: VkDeviceSize
5652 `type`*: VkAccelerationStructureTypeKHR
5653 flags*: VkBuildAccelerationStructureFlagsKHR
5654 maxGeometryCount*: uint32
5655 pGeometryInfos*: ptr VkAccelerationStructureCreateGeometryTypeInfoKHR
5656 deviceAddress*: VkDeviceAddress
5657
5658 VkAabbPositionsKHR* = object
5659 minX*: float32
5660 minY*: float32
5661 minZ*: float32
5662 maxX*: float32
5663 maxY*: float32
5664 maxZ*: float32
5665
5666 VkAabbPositionsNV* = object
5667
5668 VkTransformMatrixKHR* = object
5669 matrix*: array[3, float32]
5670
5671 VkTransformMatrixNV* = object
5672
5673 VkAccelerationStructureInstanceKHR* = object
5674 transform*: VkTransformMatrixKHR
5675 instanceCustomIndex*: uint32
5676 mask*: uint32
5677 instanceShaderBindingTableRecordOffset*: uint32
5678 flags*: VkGeometryInstanceFlagsKHR
5679 accelerationStructureReference*: uint64
5680
5681 VkAccelerationStructureInstanceNV* = object
5682
5683 VkAccelerationStructureDeviceAddressInfoKHR* = object
5684 sType*: VkStructureType
5685 pNext*: pointer
5686 accelerationStructure*: VkAccelerationStructureKHR
5687
5688 VkAccelerationStructureVersionKHR* = object
5689 sType*: VkStructureType
5690 pNext*: pointer
5691 versionData*: ptr uint8
5692
5693 VkCopyAccelerationStructureInfoKHR* = object
5694 sType*: VkStructureType
5695 pNext*: pointer
5696 src*: VkAccelerationStructureKHR
5697 dst*: VkAccelerationStructureKHR
5698 mode*: VkCopyAccelerationStructureModeKHR
5699
5700 VkCopyAccelerationStructureToMemoryInfoKHR* = object
5701 sType*: VkStructureType
5702 pNext*: pointer
5703 src*: VkAccelerationStructureKHR
5704 dst*: VkDeviceOrHostAddressKHR
5705 mode*: VkCopyAccelerationStructureModeKHR
5706
5707 VkCopyMemoryToAccelerationStructureInfoKHR* = object
5708 sType*: VkStructureType
5709 pNext*: pointer
5710 src*: VkDeviceOrHostAddressConstKHR
5711 dst*: VkAccelerationStructureKHR
5712 mode*: VkCopyAccelerationStructureModeKHR
5713
5714 VkRayTracingPipelineInterfaceCreateInfoKHR* = object
5715 sType*: VkStructureType
5716 pNext*: pointer
5717 maxPayloadSize*: uint32
5718 maxAttributeSize*: uint32
5719 maxCallableSize*: uint32
5720
5721 VkDeferredOperationInfoKHR* = object
5722 sType*: VkStructureType
5723 pNext*: pointer
5724 operationHandle*: VkDeferredOperationKHR
5725
5726 VkPipelineLibraryCreateInfoKHR* = object
5727 sType*: VkStructureType
5728 pNext*: pointer
5729 libraryCount*: uint32
5730 pLibraries*: ptr VkPipeline
5731
5732 VkPhysicalDeviceExtendedDynamicStateFeaturesEXT* = object
5733 sType*: VkStructureType
5734 pNext*: pointer
5735 extendedDynamicState*: VkBool32
5736
5737 VkRenderPassTransformBeginInfoQCOM* = object
5738 sType*: VkStructureType
5739 pNext*: pointer
5740 transform*: VkSurfaceTransformFlagBitsKHR
5741
5742 VkCommandBufferInheritanceRenderPassTransformInfoQCOM* = object
5743 sType*: VkStructureType
5744 pNext*: pointer
5745 transform*: VkSurfaceTransformFlagBitsKHR
5746 renderArea*: VkRect2D
5747
5748 VkPhysicalDeviceDiagnosticsConfigFeaturesNV* = object
5749 sType*: VkStructureType
5750 pNext*: pointer
5751 diagnosticsConfig*: VkBool32
5752
5753 VkDeviceDiagnosticsConfigCreateInfoNV* = object
5754 sType*: VkStructureType
5755 pNext*: pointer
5756 flags*: VkDeviceDiagnosticsConfigFlagsNV
5757
5758 VkPhysicalDeviceRobustness2FeaturesEXT* = object
5759 sType*: VkStructureType
5760 pNext*: pointer
5761 robustBufferAccess2*: VkBool32
5762 robustImageAccess2*: VkBool32
5763 nullDescriptor*: VkBool32
5764
5765 VkPhysicalDeviceRobustness2PropertiesEXT* = object
5766 sType*: VkStructureType
5767 pNext*: pointer
5768 robustStorageBufferAccessSizeAlignment*: VkDeviceSize
5769 robustUniformBufferAccessSizeAlignment*: VkDeviceSize
5770
5771 VkPhysicalDeviceImageRobustnessFeaturesEXT* = object
5772 sType*: VkStructureType
5773 pNext*: pointer
5774 robustImageAccess*: VkBool32
5775
5776 VkPhysicalDevice4444FormatsFeaturesEXT* = object
5777 sType*: VkStructureType
5778 pNext*: pointer
5779 formatA4R4G4B4*: VkBool32
5780 formatA4B4G4R4*: VkBool32
5781
5782 # Constructors
5783
5784 proc newVkOffset2D*(x: int32, y: int32): VkOffset2D =
5785 result.x = x
5786 result.y = y
5787
5788 proc newVkOffset3D*(x: int32, y: int32, z: int32): VkOffset3D =
5789 result.x = x
5790 result.y = y
5791 result.z = z
5792
5793 proc newVkExtent2D*(width: uint32, height: uint32): VkExtent2D =
5794 result.width = width
5795 result.height = height
5796
5797 proc newVkExtent3D*(width: uint32, height: uint32, depth: uint32): VkExtent3D =
5798 result.width = width
5799 result.height = height
5800 result.depth = depth
5801
5802 proc newVkViewport*(x: float32, y: float32, width: float32, height: float32, minDepth: float32, maxDepth: float32): VkViewport =
5803 result.x = x
5804 result.y = y
5805 result.width = width
5806 result.height = height
5807 result.minDepth = minDepth
5808 result.maxDepth = maxDepth
5809
5810 proc newVkRect2D*(offset: VkOffset2D, extent: VkExtent2D): VkRect2D =
5811 result.offset = offset
5812 result.extent = extent
5813
5814 proc newVkClearRect*(rect: VkRect2D, baseArrayLayer: uint32, layerCount: uint32): VkClearRect =
5815 result.rect = rect
5816 result.baseArrayLayer = baseArrayLayer
5817 result.layerCount = layerCount
5818
5819 proc newVkComponentMapping*(r: VkComponentSwizzle, g: VkComponentSwizzle, b: VkComponentSwizzle, a: VkComponentSwizzle): VkComponentMapping =
5820 result.r = r
5821 result.g = g
5822 result.b = b
5823 result.a = a
5824
5825 proc newVkPhysicalDeviceProperties*(apiVersion: uint32, driverVersion: uint32, vendorID: uint32, deviceID: uint32, deviceType: VkPhysicalDeviceType, deviceName: array[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, char], pipelineCacheUUID: array[VK_UUID_SIZE, uint8], limits: VkPhysicalDeviceLimits, sparseProperties: VkPhysicalDeviceSparseProperties): VkPhysicalDeviceProperties =
5826 result.apiVersion = apiVersion
5827 result.driverVersion = driverVersion
5828 result.vendorID = vendorID
5829 result.deviceID = deviceID
5830 result.deviceType = deviceType
5831 result.deviceName = deviceName
5832 result.pipelineCacheUUID = pipelineCacheUUID
5833 result.limits = limits
5834 result.sparseProperties = sparseProperties
5835
5836 proc newVkExtensionProperties*(extensionName: array[VK_MAX_EXTENSION_NAME_SIZE, char], specVersion: uint32): VkExtensionProperties =
5837 result.extensionName = extensionName
5838 result.specVersion = specVersion
5839
5840 proc newVkLayerProperties*(layerName: array[VK_MAX_EXTENSION_NAME_SIZE, char], specVersion: uint32, implementationVersion: uint32, description: array[VK_MAX_DESCRIPTION_SIZE, char]): VkLayerProperties =
5841 result.layerName = layerName
5842 result.specVersion = specVersion
5843 result.implementationVersion = implementationVersion
5844 result.description = description
5845
5846 proc newVkApplicationInfo*(sType: VkStructureType = VkStructureTypeApplicationInfo, pNext: pointer = nil, pApplicationName: cstring, applicationVersion: uint32, pEngineName: cstring, engineVersion: uint32, apiVersion: uint32): VkApplicationInfo =
5847 result.sType = sType
5848 result.pNext = pNext
5849 result.pApplicationName = pApplicationName
5850 result.applicationVersion = applicationVersion
5851 result.pEngineName = pEngineName
5852 result.engineVersion = engineVersion
5853 result.apiVersion = apiVersion
5854
5855 proc newVkAllocationCallbacks*(pUserData: pointer = nil, pfnAllocation: PFN_vkAllocationFunction, pfnReallocation: PFN_vkReallocationFunction, pfnFree: PFN_vkFreeFunction, pfnInternalAllocation: PFN_vkInternalAllocationNotification, pfnInternalFree: PFN_vkInternalFreeNotification): VkAllocationCallbacks =
5856 result.pUserData = pUserData
5857 result.pfnAllocation = pfnAllocation
5858 result.pfnReallocation = pfnReallocation
5859 result.pfnFree = pfnFree
5860 result.pfnInternalAllocation = pfnInternalAllocation
5861 result.pfnInternalFree = pfnInternalFree
5862
5863 proc newVkDeviceQueueCreateInfo*(sType: VkStructureType = VkStructureTypeDeviceQueueCreateInfo, pNext: pointer = nil, flags: VkDeviceQueueCreateFlags = 0.VkDeviceQueueCreateFlags, queueFamilyIndex: uint32, queueCount: uint32, pQueuePriorities: ptr float32): VkDeviceQueueCreateInfo =
5864 result.sType = sType
5865 result.pNext = pNext
5866 result.flags = flags
5867 result.queueFamilyIndex = queueFamilyIndex
5868 result.queueCount = queueCount
5869 result.pQueuePriorities = pQueuePriorities
5870
5871 proc newVkDeviceCreateInfo*(sType: VkStructureType = VkStructureTypeDeviceCreateInfo, pNext: pointer = nil, flags: VkDeviceCreateFlags = 0.VkDeviceCreateFlags, queueCreateInfoCount: uint32, pQueueCreateInfos: ptr VkDeviceQueueCreateInfo, enabledLayerCount: uint32, ppEnabledLayerNames: cstringArray, enabledExtensionCount: uint32, ppEnabledExtensionNames: cstringArray, pEnabledFeatures: ptr VkPhysicalDeviceFeatures): VkDeviceCreateInfo =
5872 result.sType = sType
5873 result.pNext = pNext
5874 result.flags = flags
5875 result.queueCreateInfoCount = queueCreateInfoCount
5876 result.pQueueCreateInfos = pQueueCreateInfos
5877 result.enabledLayerCount = enabledLayerCount
5878 result.ppEnabledLayerNames = ppEnabledLayerNames
5879 result.enabledExtensionCount = enabledExtensionCount
5880 result.ppEnabledExtensionNames = ppEnabledExtensionNames
5881 result.pEnabledFeatures = pEnabledFeatures
5882
5883 proc newVkInstanceCreateInfo*(sType: VkStructureType = VkStructureTypeInstanceCreateInfo, pNext: pointer = nil, flags: VkInstanceCreateFlags = 0.VkInstanceCreateFlags, pApplicationInfo: ptr VkApplicationInfo, enabledLayerCount: uint32, ppEnabledLayerNames: cstringArray, enabledExtensionCount: uint32, ppEnabledExtensionNames: cstringArray): VkInstanceCreateInfo =
5884 result.sType = sType
5885 result.pNext = pNext
5886 result.flags = flags
5887 result.pApplicationInfo = pApplicationInfo
5888 result.enabledLayerCount = enabledLayerCount
5889 result.ppEnabledLayerNames = ppEnabledLayerNames
5890 result.enabledExtensionCount = enabledExtensionCount
5891 result.ppEnabledExtensionNames = ppEnabledExtensionNames
5892
5893 proc newVkQueueFamilyProperties*(queueFlags: VkQueueFlags, queueCount: uint32, timestampValidBits: uint32, minImageTransferGranularity: VkExtent3D): VkQueueFamilyProperties =
5894 result.queueFlags = queueFlags
5895 result.queueCount = queueCount
5896 result.timestampValidBits = timestampValidBits
5897 result.minImageTransferGranularity = minImageTransferGranularity
5898
5899 proc newVkPhysicalDeviceMemoryProperties*(memoryTypeCount: uint32, memoryTypes: array[VK_MAX_MEMORY_TYPES, VkMemoryType], memoryHeapCount: uint32, memoryHeaps: array[VK_MAX_MEMORY_HEAPS, VkMemoryHeap]): VkPhysicalDeviceMemoryProperties =
5900 result.memoryTypeCount = memoryTypeCount
5901 result.memoryTypes = memoryTypes
5902 result.memoryHeapCount = memoryHeapCount
5903 result.memoryHeaps = memoryHeaps
5904
5905 proc newVkMemoryAllocateInfo*(sType: VkStructureType = VkStructureTypeMemoryAllocateInfo, pNext: pointer = nil, allocationSize: VkDeviceSize, memoryTypeIndex: uint32): VkMemoryAllocateInfo =
5906 result.sType = sType
5907 result.pNext = pNext
5908 result.allocationSize = allocationSize
5909 result.memoryTypeIndex = memoryTypeIndex
5910
5911 proc newVkMemoryRequirements*(size: VkDeviceSize, alignment: VkDeviceSize, memoryTypeBits: uint32): VkMemoryRequirements =
5912 result.size = size
5913 result.alignment = alignment
5914 result.memoryTypeBits = memoryTypeBits
5915
5916 proc newVkSparseImageFormatProperties*(aspectMask: VkImageAspectFlags, imageGranularity: VkExtent3D, flags: VkSparseImageFormatFlags = 0.VkSparseImageFormatFlags): VkSparseImageFormatProperties =
5917 result.aspectMask = aspectMask
5918 result.imageGranularity = imageGranularity
5919 result.flags = flags
5920
5921 proc newVkSparseImageMemoryRequirements*(formatProperties: VkSparseImageFormatProperties, imageMipTailFirstLod: uint32, imageMipTailSize: VkDeviceSize, imageMipTailOffset: VkDeviceSize, imageMipTailStride: VkDeviceSize): VkSparseImageMemoryRequirements =
5922 result.formatProperties = formatProperties
5923 result.imageMipTailFirstLod = imageMipTailFirstLod
5924 result.imageMipTailSize = imageMipTailSize
5925 result.imageMipTailOffset = imageMipTailOffset
5926 result.imageMipTailStride = imageMipTailStride
5927
5928 proc newVkMemoryType*(propertyFlags: VkMemoryPropertyFlags, heapIndex: uint32): VkMemoryType =
5929 result.propertyFlags = propertyFlags
5930 result.heapIndex = heapIndex
5931
5932 proc newVkMemoryHeap*(size: VkDeviceSize, flags: VkMemoryHeapFlags = 0.VkMemoryHeapFlags): VkMemoryHeap =
5933 result.size = size
5934 result.flags = flags
5935
5936 proc newVkMappedMemoryRange*(sType: VkStructureType = VkStructureTypeMappedMemoryRange, pNext: pointer = nil, memory: VkDeviceMemory, offset: VkDeviceSize, size: VkDeviceSize): VkMappedMemoryRange =
5937 result.sType = sType
5938 result.pNext = pNext
5939 result.memory = memory
5940 result.offset = offset
5941 result.size = size
5942
5943 proc newVkFormatProperties*(linearTilingFeatures: VkFormatFeatureFlags, optimalTilingFeatures: VkFormatFeatureFlags, bufferFeatures: VkFormatFeatureFlags): VkFormatProperties =
5944 result.linearTilingFeatures = linearTilingFeatures
5945 result.optimalTilingFeatures = optimalTilingFeatures
5946 result.bufferFeatures = bufferFeatures
5947
5948 proc newVkImageFormatProperties*(maxExtent: VkExtent3D, maxMipLevels: uint32, maxArrayLayers: uint32, sampleCounts: VkSampleCountFlags, maxResourceSize: VkDeviceSize): VkImageFormatProperties =
5949 result.maxExtent = maxExtent
5950 result.maxMipLevels = maxMipLevels
5951 result.maxArrayLayers = maxArrayLayers
5952 result.sampleCounts = sampleCounts
5953 result.maxResourceSize = maxResourceSize
5954
5955 proc newVkDescriptorBufferInfo*(buffer: VkBuffer, offset: VkDeviceSize, range: VkDeviceSize): VkDescriptorBufferInfo =
5956 result.buffer = buffer
5957 result.offset = offset
5958 result.range = range
5959
5960 proc newVkDescriptorImageInfo*(sampler: VkSampler, imageView: VkImageView, imageLayout: VkImageLayout): VkDescriptorImageInfo =
5961 result.sampler = sampler
5962 result.imageView = imageView
5963 result.imageLayout = imageLayout
5964
5965 proc newVkWriteDescriptorSet*(sType: VkStructureType = VkStructureTypeWriteDescriptorSet, pNext: pointer = nil, dstSet: VkDescriptorSet, dstBinding: uint32, dstArrayElement: uint32, descriptorCount: uint32, descriptorType: VkDescriptorType, pImageInfo: ptr VkDescriptorImageInfo, pBufferInfo: ptr ptr VkDescriptorBufferInfo, pTexelBufferView: ptr VkBufferView): VkWriteDescriptorSet =
5966 result.sType = sType
5967 result.pNext = pNext
5968 result.dstSet = dstSet
5969 result.dstBinding = dstBinding
5970 result.dstArrayElement = dstArrayElement
5971 result.descriptorCount = descriptorCount
5972 result.descriptorType = descriptorType
5973 result.pImageInfo = pImageInfo
5974 result.pBufferInfo = pBufferInfo
5975 result.pTexelBufferView = pTexelBufferView
5976
5977 proc newVkCopyDescriptorSet*(sType: VkStructureType = VkStructureTypeCopyDescriptorSet, pNext: pointer = nil, srcSet: VkDescriptorSet, srcBinding: uint32, srcArrayElement: uint32, dstSet: VkDescriptorSet, dstBinding: uint32, dstArrayElement: uint32, descriptorCount: uint32): VkCopyDescriptorSet =
5978 result.sType = sType
5979 result.pNext = pNext
5980 result.srcSet = srcSet
5981 result.srcBinding = srcBinding
5982 result.srcArrayElement = srcArrayElement
5983 result.dstSet = dstSet
5984 result.dstBinding = dstBinding
5985 result.dstArrayElement = dstArrayElement
5986 result.descriptorCount = descriptorCount
5987
5988 proc newVkBufferCreateInfo*(sType: VkStructureType = VkStructureTypeBufferCreateInfo, pNext: pointer = nil, flags: VkBufferCreateFlags = 0.VkBufferCreateFlags, size: VkDeviceSize, usage: VkBufferUsageFlags, sharingMode: VkSharingMode, queueFamilyIndexCount: uint32, pQueueFamilyIndices: ptr uint32): VkBufferCreateInfo =
5989 result.sType = sType
5990 result.pNext = pNext
5991 result.flags = flags
5992 result.size = size
5993 result.usage = usage
5994 result.sharingMode = sharingMode
5995 result.queueFamilyIndexCount = queueFamilyIndexCount
5996 result.pQueueFamilyIndices = pQueueFamilyIndices
5997
5998 proc newVkBufferViewCreateInfo*(sType: VkStructureType = VkStructureTypeBufferViewCreateInfo, pNext: pointer = nil, flags: VkBufferViewCreateFlags = 0.VkBufferViewCreateFlags, buffer: VkBuffer, format: VkFormat, offset: VkDeviceSize, range: VkDeviceSize): VkBufferViewCreateInfo =
5999 result.sType = sType
6000 result.pNext = pNext
6001 result.flags = flags
6002 result.buffer = buffer
6003 result.format = format
6004 result.offset = offset
6005 result.range = range
6006
6007 proc newVkImageSubresource*(aspectMask: VkImageAspectFlags, mipLevel: uint32, arrayLayer: uint32): VkImageSubresource =
6008 result.aspectMask = aspectMask
6009 result.mipLevel = mipLevel
6010 result.arrayLayer = arrayLayer
6011
6012 proc newVkImageSubresourceLayers*(aspectMask: VkImageAspectFlags, mipLevel: uint32, baseArrayLayer: uint32, layerCount: uint32): VkImageSubresourceLayers =
6013 result.aspectMask = aspectMask
6014 result.mipLevel = mipLevel
6015 result.baseArrayLayer = baseArrayLayer
6016 result.layerCount = layerCount
6017
6018 proc newVkImageSubresourceRange*(aspectMask: VkImageAspectFlags, baseMipLevel: uint32, levelCount: uint32, baseArrayLayer: uint32, layerCount: uint32): VkImageSubresourceRange =
6019 result.aspectMask = aspectMask
6020 result.baseMipLevel = baseMipLevel
6021 result.levelCount = levelCount
6022 result.baseArrayLayer = baseArrayLayer
6023 result.layerCount = layerCount
6024
6025 proc newVkMemoryBarrier*(sType: VkStructureType = VkStructureTypeMemoryBarrier, pNext: pointer = nil, srcAccessMask: VkAccessFlags, dstAccessMask: VkAccessFlags): VkMemoryBarrier =
6026 result.sType = sType
6027 result.pNext = pNext
6028 result.srcAccessMask = srcAccessMask
6029 result.dstAccessMask = dstAccessMask
6030
6031 proc newVkBufferMemoryBarrier*(sType: VkStructureType = VkStructureTypeBufferMemoryBarrier, pNext: pointer = nil, srcAccessMask: VkAccessFlags, dstAccessMask: VkAccessFlags, srcQueueFamilyIndex: uint32, dstQueueFamilyIndex: uint32, buffer: VkBuffer, offset: VkDeviceSize, size: VkDeviceSize): VkBufferMemoryBarrier =
6032 result.sType = sType
6033 result.pNext = pNext
6034 result.srcAccessMask = srcAccessMask
6035 result.dstAccessMask = dstAccessMask
6036 result.srcQueueFamilyIndex = srcQueueFamilyIndex
6037 result.dstQueueFamilyIndex = dstQueueFamilyIndex
6038 result.buffer = buffer
6039 result.offset = offset
6040 result.size = size
6041
6042 proc newVkImageMemoryBarrier*(sType: VkStructureType = VkStructureTypeImageMemoryBarrier, pNext: pointer = nil, srcAccessMask: VkAccessFlags, dstAccessMask: VkAccessFlags, oldLayout: VkImageLayout, newLayout: VkImageLayout, srcQueueFamilyIndex: uint32, dstQueueFamilyIndex: uint32, image: VkImage, subresourceRange: VkImageSubresourceRange): VkImageMemoryBarrier =
6043 result.sType = sType
6044 result.pNext = pNext
6045 result.srcAccessMask = srcAccessMask
6046 result.dstAccessMask = dstAccessMask
6047 result.oldLayout = oldLayout
6048 result.newLayout = newLayout
6049 result.srcQueueFamilyIndex = srcQueueFamilyIndex
6050 result.dstQueueFamilyIndex = dstQueueFamilyIndex
6051 result.image = image
6052 result.subresourceRange = subresourceRange
6053
6054 proc newVkImageCreateInfo*(sType: VkStructureType = VkStructureTypeImageCreateInfo, pNext: pointer = nil, flags: VkImageCreateFlags = 0.VkImageCreateFlags, imageType: VkImageType, format: VkFormat, extent: VkExtent3D, mipLevels: uint32, arrayLayers: uint32, samples: VkSampleCountFlagBits, tiling: VkImageTiling, usage: VkImageUsageFlags, sharingMode: VkSharingMode, queueFamilyIndexCount: uint32, pQueueFamilyIndices: ptr uint32, initialLayout: VkImageLayout): VkImageCreateInfo =
6055 result.sType = sType
6056 result.pNext = pNext
6057 result.flags = flags
6058 result.imageType = imageType
6059 result.format = format
6060 result.extent = extent
6061 result.mipLevels = mipLevels
6062 result.arrayLayers = arrayLayers
6063 result.samples = samples
6064 result.tiling = tiling
6065 result.usage = usage
6066 result.sharingMode = sharingMode
6067 result.queueFamilyIndexCount = queueFamilyIndexCount
6068 result.pQueueFamilyIndices = pQueueFamilyIndices
6069 result.initialLayout = initialLayout
6070
6071 proc newVkSubresourceLayout*(offset: VkDeviceSize, size: VkDeviceSize, rowPitch: VkDeviceSize, arrayPitch: VkDeviceSize, depthPitch: VkDeviceSize): VkSubresourceLayout =
6072 result.offset = offset
6073 result.size = size
6074 result.rowPitch = rowPitch
6075 result.arrayPitch = arrayPitch
6076 result.depthPitch = depthPitch
6077
6078 proc newVkImageViewCreateInfo*(sType: VkStructureType = VkStructureTypeImageViewCreateInfo, pNext: pointer = nil, flags: VkImageViewCreateFlags = 0.VkImageViewCreateFlags, image: VkImage, viewType: VkImageViewType, format: VkFormat, components: VkComponentMapping, subresourceRange: VkImageSubresourceRange): VkImageViewCreateInfo =
6079 result.sType = sType
6080 result.pNext = pNext
6081 result.flags = flags
6082 result.image = image
6083 result.viewType = viewType
6084 result.format = format
6085 result.components = components
6086 result.subresourceRange = subresourceRange
6087
6088 proc newVkBufferCopy*(srcOffset: VkDeviceSize, dstOffset: VkDeviceSize, size: VkDeviceSize): VkBufferCopy =
6089 result.srcOffset = srcOffset
6090 result.dstOffset = dstOffset
6091 result.size = size
6092
6093 proc newVkSparseMemoryBind*(resourceOffset: VkDeviceSize, size: VkDeviceSize, memory: VkDeviceMemory, memoryOffset: VkDeviceSize, flags: VkSparseMemoryBindFlags = 0.VkSparseMemoryBindFlags): VkSparseMemoryBind =
6094 result.resourceOffset = resourceOffset
6095 result.size = size
6096 result.memory = memory
6097 result.memoryOffset = memoryOffset
6098 result.flags = flags
6099
6100 proc newVkSparseImageMemoryBind*(subresource: VkImageSubresource, offset: VkOffset3D, extent: VkExtent3D, memory: VkDeviceMemory, memoryOffset: VkDeviceSize, flags: VkSparseMemoryBindFlags = 0.VkSparseMemoryBindFlags): VkSparseImageMemoryBind =
6101 result.subresource = subresource
6102 result.offset = offset
6103 result.extent = extent
6104 result.memory = memory
6105 result.memoryOffset = memoryOffset
6106 result.flags = flags
6107
6108 proc newVkSparseBufferMemoryBindInfo*(buffer: VkBuffer, bindCount: uint32, pBinds: ptr VkSparseMemoryBind): VkSparseBufferMemoryBindInfo =
6109 result.buffer = buffer
6110 result.bindCount = bindCount
6111 result.pBinds = pBinds
6112
6113 proc newVkSparseImageOpaqueMemoryBindInfo*(image: VkImage, bindCount: uint32, pBinds: ptr VkSparseMemoryBind): VkSparseImageOpaqueMemoryBindInfo =
6114 result.image = image
6115 result.bindCount = bindCount
6116 result.pBinds = pBinds
6117
6118 proc newVkSparseImageMemoryBindInfo*(image: VkImage, bindCount: uint32, pBinds: ptr VkSparseImageMemoryBind): VkSparseImageMemoryBindInfo =
6119 result.image = image
6120 result.bindCount = bindCount
6121 result.pBinds = pBinds
6122
6123 proc newVkBindSparseInfo*(sType: VkStructureType = VkStructureTypeBindSparseInfo, pNext: pointer = nil, waitSemaphoreCount: uint32, pWaitSemaphores: ptr VkSemaphore, bufferBindCount: uint32, pBufferBinds: ptr VkSparseBufferMemoryBindInfo, imageOpaqueBindCount: uint32, pImageOpaqueBinds: ptr VkSparseImageOpaqueMemoryBindInfo, imageBindCount: uint32, pImageBinds: ptr VkSparseImageMemoryBindInfo, signalSemaphoreCount: uint32, pSignalSemaphores: ptr VkSemaphore): VkBindSparseInfo =
6124 result.sType = sType
6125 result.pNext = pNext
6126 result.waitSemaphoreCount = waitSemaphoreCount
6127 result.pWaitSemaphores = pWaitSemaphores
6128 result.bufferBindCount = bufferBindCount
6129 result.pBufferBinds = pBufferBinds
6130 result.imageOpaqueBindCount = imageOpaqueBindCount
6131 result.pImageOpaqueBinds = pImageOpaqueBinds
6132 result.imageBindCount = imageBindCount
6133 result.pImageBinds = pImageBinds
6134 result.signalSemaphoreCount = signalSemaphoreCount
6135 result.pSignalSemaphores = pSignalSemaphores
6136
6137 proc newVkImageCopy*(srcSubresource: VkImageSubresourceLayers, srcOffset: VkOffset3D, dstSubresource: VkImageSubresourceLayers, dstOffset: VkOffset3D, extent: VkExtent3D): VkImageCopy =
6138 result.srcSubresource = srcSubresource
6139 result.srcOffset = srcOffset
6140 result.dstSubresource = dstSubresource
6141 result.dstOffset = dstOffset
6142 result.extent = extent
6143
6144 proc newVkImageBlit*(srcSubresource: VkImageSubresourceLayers, srcOffsets: array[2, VkOffset3D], dstSubresource: VkImageSubresourceLayers, dstOffsets: array[2, VkOffset3D]): VkImageBlit =
6145 result.srcSubresource = srcSubresource
6146 result.srcOffsets = srcOffsets
6147 result.dstSubresource = dstSubresource
6148 result.dstOffsets = dstOffsets
6149
6150 proc newVkBufferImageCopy*(bufferOffset: VkDeviceSize, bufferRowLength: uint32, bufferImageHeight: uint32, imageSubresource: VkImageSubresourceLayers, imageOffset: VkOffset3D, imageExtent: VkExtent3D): VkBufferImageCopy =
6151 result.bufferOffset = bufferOffset
6152 result.bufferRowLength = bufferRowLength
6153 result.bufferImageHeight = bufferImageHeight
6154 result.imageSubresource = imageSubresource
6155 result.imageOffset = imageOffset
6156 result.imageExtent = imageExtent
6157
6158 proc newVkImageResolve*(srcSubresource: VkImageSubresourceLayers, srcOffset: VkOffset3D, dstSubresource: VkImageSubresourceLayers, dstOffset: VkOffset3D, extent: VkExtent3D): VkImageResolve =
6159 result.srcSubresource = srcSubresource
6160 result.srcOffset = srcOffset
6161 result.dstSubresource = dstSubresource
6162 result.dstOffset = dstOffset
6163 result.extent = extent
6164
6165 proc newVkShaderModuleCreateInfo*(sType: VkStructureType = VkStructureTypeShaderModuleCreateInfo, pNext: pointer = nil, flags: VkShaderModuleCreateFlags = 0.VkShaderModuleCreateFlags, codeSize: uint, pCode: ptr uint32): VkShaderModuleCreateInfo =
6166 result.sType = sType
6167 result.pNext = pNext
6168 result.flags = flags
6169 result.codeSize = codeSize
6170 result.pCode = pCode
6171
6172 proc newVkDescriptorSetLayoutBinding*(binding: uint32, descriptorType: VkDescriptorType, descriptorCount: uint32, stageFlags: VkShaderStageFlags, pImmutableSamplers: ptr VkSampler): VkDescriptorSetLayoutBinding =
6173 result.binding = binding
6174 result.descriptorType = descriptorType
6175 result.descriptorCount = descriptorCount
6176 result.stageFlags = stageFlags
6177 result.pImmutableSamplers = pImmutableSamplers
6178
6179 proc newVkDescriptorSetLayoutCreateInfo*(sType: VkStructureType = VkStructureTypeDescriptorSetLayoutCreateInfo, pNext: pointer = nil, flags: VkDescriptorSetLayoutCreateFlags = 0.VkDescriptorSetLayoutCreateFlags, bindingCount: uint32, pBindings: ptr VkDescriptorSetLayoutBinding): VkDescriptorSetLayoutCreateInfo =
6180 result.sType = sType
6181 result.pNext = pNext
6182 result.flags = flags
6183 result.bindingCount = bindingCount
6184 result.pBindings = pBindings
6185
6186 proc newVkDescriptorPoolSize*(`type`: VkDescriptorType, descriptorCount: uint32): VkDescriptorPoolSize =
6187 result.`type` = `type`
6188 result.descriptorCount = descriptorCount
6189
6190 proc newVkDescriptorPoolCreateInfo*(sType: VkStructureType = VkStructureTypeDescriptorPoolCreateInfo, pNext: pointer = nil, flags: VkDescriptorPoolCreateFlags = 0.VkDescriptorPoolCreateFlags, maxSets: uint32, poolSizeCount: uint32, pPoolSizes: ptr VkDescriptorPoolSize): VkDescriptorPoolCreateInfo =
6191 result.sType = sType
6192 result.pNext = pNext
6193 result.flags = flags
6194 result.maxSets = maxSets
6195 result.poolSizeCount = poolSizeCount
6196 result.pPoolSizes = pPoolSizes
6197
6198 proc newVkDescriptorSetAllocateInfo*(sType: VkStructureType = VkStructureTypeDescriptorSetAllocateInfo, pNext: pointer = nil, descriptorPool: VkDescriptorPool, descriptorSetCount: uint32, pSetLayouts: ptr VkDescriptorSetLayout): VkDescriptorSetAllocateInfo =
6199 result.sType = sType
6200 result.pNext = pNext
6201 result.descriptorPool = descriptorPool
6202 result.descriptorSetCount = descriptorSetCount
6203 result.pSetLayouts = pSetLayouts
6204
6205 proc newVkSpecializationMapEntry*(constantID: uint32, offset: uint32, size: uint): VkSpecializationMapEntry =
6206 result.constantID = constantID
6207 result.offset = offset
6208 result.size = size
6209
6210 proc newVkSpecializationInfo*(mapEntryCount: uint32, pMapEntries: ptr VkSpecializationMapEntry, dataSize: uint, pData: pointer = nil): VkSpecializationInfo =
6211 result.mapEntryCount = mapEntryCount
6212 result.pMapEntries = pMapEntries
6213 result.dataSize = dataSize
6214 result.pData = pData
6215
6216 proc newVkPipelineShaderStageCreateInfo*(sType: VkStructureType = VkStructureTypePipelineShaderStageCreateInfo, pNext: pointer = nil, flags: VkPipelineShaderStageCreateFlags = 0.VkPipelineShaderStageCreateFlags, stage: VkShaderStageFlagBits, module: VkShaderModule, pName: cstring, pSpecializationInfo: ptr VkSpecializationInfo): VkPipelineShaderStageCreateInfo =
6217 result.sType = sType
6218 result.pNext = pNext
6219 result.flags = flags
6220 result.stage = stage
6221 result.module = module
6222 result.pName = pName
6223 result.pSpecializationInfo = pSpecializationInfo
6224
6225 proc newVkComputePipelineCreateInfo*(sType: VkStructureType = VkStructureTypeComputePipelineCreateInfo, pNext: pointer = nil, flags: VkPipelineCreateFlags = 0.VkPipelineCreateFlags, stage: VkPipelineShaderStageCreateInfo, layout: VkPipelineLayout, basePipelineHandle: VkPipeline, basePipelineIndex: int32): VkComputePipelineCreateInfo =
6226 result.sType = sType
6227 result.pNext = pNext
6228 result.flags = flags
6229 result.stage = stage
6230 result.layout = layout
6231 result.basePipelineHandle = basePipelineHandle
6232 result.basePipelineIndex = basePipelineIndex
6233
6234 proc newVkVertexInputBindingDescription*(binding: uint32, stride: uint32, inputRate: VkVertexInputRate): VkVertexInputBindingDescription =
6235 result.binding = binding
6236 result.stride = stride
6237 result.inputRate = inputRate
6238
6239 proc newVkVertexInputAttributeDescription*(location: uint32, binding: uint32, format: VkFormat, offset: uint32): VkVertexInputAttributeDescription =
6240 result.location = location
6241 result.binding = binding
6242 result.format = format
6243 result.offset = offset
6244
6245 proc newVkPipelineVertexInputStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineVertexInputStateCreateInfo, pNext: pointer = nil, flags: VkPipelineVertexInputStateCreateFlags = 0.VkPipelineVertexInputStateCreateFlags, vertexBindingDescriptionCount: uint32, pVertexBindingDescriptions: ptr VkVertexInputBindingDescription, vertexAttributeDescriptionCount: uint32, pVertexAttributeDescriptions: ptr VkVertexInputAttributeDescription): VkPipelineVertexInputStateCreateInfo =
6246 result.sType = sType
6247 result.pNext = pNext
6248 result.flags = flags
6249 result.vertexBindingDescriptionCount = vertexBindingDescriptionCount
6250 result.pVertexBindingDescriptions = pVertexBindingDescriptions
6251 result.vertexAttributeDescriptionCount = vertexAttributeDescriptionCount
6252 result.pVertexAttributeDescriptions = pVertexAttributeDescriptions
6253
6254 proc newVkPipelineInputAssemblyStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineInputAssemblyStateCreateInfo, pNext: pointer = nil, flags: VkPipelineInputAssemblyStateCreateFlags = 0.VkPipelineInputAssemblyStateCreateFlags, topology: VkPrimitiveTopology, primitiveRestartEnable: VkBool32): VkPipelineInputAssemblyStateCreateInfo =
6255 result.sType = sType
6256 result.pNext = pNext
6257 result.flags = flags
6258 result.topology = topology
6259 result.primitiveRestartEnable = primitiveRestartEnable
6260
6261 proc newVkPipelineTessellationStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineTessellationStateCreateInfo, pNext: pointer = nil, flags: VkPipelineTessellationStateCreateFlags = 0.VkPipelineTessellationStateCreateFlags, patchControlPoints: uint32): VkPipelineTessellationStateCreateInfo =
6262 result.sType = sType
6263 result.pNext = pNext
6264 result.flags = flags
6265 result.patchControlPoints = patchControlPoints
6266
6267 proc newVkPipelineViewportStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineViewportStateCreateInfo, pNext: pointer = nil, flags: VkPipelineViewportStateCreateFlags = 0.VkPipelineViewportStateCreateFlags, viewportCount: uint32, pViewports: ptr VkViewport, scissorCount: uint32, pScissors: ptr VkRect2D): VkPipelineViewportStateCreateInfo =
6268 result.sType = sType
6269 result.pNext = pNext
6270 result.flags = flags
6271 result.viewportCount = viewportCount
6272 result.pViewports = pViewports
6273 result.scissorCount = scissorCount
6274 result.pScissors = pScissors
6275
6276 proc newVkPipelineRasterizationStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineRasterizationStateCreateInfo, pNext: pointer = nil, flags: VkPipelineRasterizationStateCreateFlags = 0.VkPipelineRasterizationStateCreateFlags, depthClampEnable: VkBool32, rasterizerDiscardEnable: VkBool32, polygonMode: VkPolygonMode, cullMode: VkCullModeFlags, frontFace: VkFrontFace, depthBiasEnable: VkBool32, depthBiasConstantFactor: float32, depthBiasClamp: float32, depthBiasSlopeFactor: float32, lineWidth: float32): VkPipelineRasterizationStateCreateInfo =
6277 result.sType = sType
6278 result.pNext = pNext
6279 result.flags = flags
6280 result.depthClampEnable = depthClampEnable
6281 result.rasterizerDiscardEnable = rasterizerDiscardEnable
6282 result.polygonMode = polygonMode
6283 result.cullMode = cullMode
6284 result.frontFace = frontFace
6285 result.depthBiasEnable = depthBiasEnable
6286 result.depthBiasConstantFactor = depthBiasConstantFactor
6287 result.depthBiasClamp = depthBiasClamp
6288 result.depthBiasSlopeFactor = depthBiasSlopeFactor
6289 result.lineWidth = lineWidth
6290
6291 proc newVkPipelineMultisampleStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineMultisampleStateCreateInfo, pNext: pointer = nil, flags: VkPipelineMultisampleStateCreateFlags = 0.VkPipelineMultisampleStateCreateFlags, rasterizationSamples: VkSampleCountFlagBits, sampleShadingEnable: VkBool32, minSampleShading: float32, pSampleMask: ptr VkSampleMask, alphaToCoverageEnable: VkBool32, alphaToOneEnable: VkBool32): VkPipelineMultisampleStateCreateInfo =
6292 result.sType = sType
6293 result.pNext = pNext
6294 result.flags = flags
6295 result.rasterizationSamples = rasterizationSamples
6296 result.sampleShadingEnable = sampleShadingEnable
6297 result.minSampleShading = minSampleShading
6298 result.pSampleMask = pSampleMask
6299 result.alphaToCoverageEnable = alphaToCoverageEnable
6300 result.alphaToOneEnable = alphaToOneEnable
6301
6302 proc newVkPipelineColorBlendAttachmentState*(blendEnable: VkBool32, srcColorBlendFactor: VkBlendFactor, dstColorBlendFactor: VkBlendFactor, colorBlendOp: VkBlendOp, srcAlphaBlendFactor: VkBlendFactor, dstAlphaBlendFactor: VkBlendFactor, alphaBlendOp: VkBlendOp, colorWriteMask: VkColorComponentFlags): VkPipelineColorBlendAttachmentState =
6303 result.blendEnable = blendEnable
6304 result.srcColorBlendFactor = srcColorBlendFactor
6305 result.dstColorBlendFactor = dstColorBlendFactor
6306 result.colorBlendOp = colorBlendOp
6307 result.srcAlphaBlendFactor = srcAlphaBlendFactor
6308 result.dstAlphaBlendFactor = dstAlphaBlendFactor
6309 result.alphaBlendOp = alphaBlendOp
6310 result.colorWriteMask = colorWriteMask
6311
6312 proc newVkPipelineColorBlendStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineColorBlendStateCreateInfo, pNext: pointer = nil, flags: VkPipelineColorBlendStateCreateFlags = 0.VkPipelineColorBlendStateCreateFlags, logicOpEnable: VkBool32, logicOp: VkLogicOp, attachmentCount: uint32, pAttachments: ptr VkPipelineColorBlendAttachmentState, blendConstants: array[4, float32]): VkPipelineColorBlendStateCreateInfo =
6313 result.sType = sType
6314 result.pNext = pNext
6315 result.flags = flags
6316 result.logicOpEnable = logicOpEnable
6317 result.logicOp = logicOp
6318 result.attachmentCount = attachmentCount
6319 result.pAttachments = pAttachments
6320 result.blendConstants = blendConstants
6321
6322 proc newVkPipelineDynamicStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineDynamicStateCreateInfo, pNext: pointer = nil, flags: VkPipelineDynamicStateCreateFlags = 0.VkPipelineDynamicStateCreateFlags, dynamicStateCount: uint32, pDynamicStates: ptr VkDynamicState): VkPipelineDynamicStateCreateInfo =
6323 result.sType = sType
6324 result.pNext = pNext
6325 result.flags = flags
6326 result.dynamicStateCount = dynamicStateCount
6327 result.pDynamicStates = pDynamicStates
6328
6329 proc newVkStencilOpState*(failOp: VkStencilOp, passOp: VkStencilOp, depthFailOp: VkStencilOp, compareOp: VkCompareOp, compareMask: uint32, writeMask: uint32, reference: uint32): VkStencilOpState =
6330 result.failOp = failOp
6331 result.passOp = passOp
6332 result.depthFailOp = depthFailOp
6333 result.compareOp = compareOp
6334 result.compareMask = compareMask
6335 result.writeMask = writeMask
6336 result.reference = reference
6337
6338 proc newVkPipelineDepthStencilStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineDepthStencilStateCreateInfo, pNext: pointer = nil, flags: VkPipelineDepthStencilStateCreateFlags = 0.VkPipelineDepthStencilStateCreateFlags, depthTestEnable: VkBool32, depthWriteEnable: VkBool32, depthCompareOp: VkCompareOp, depthBoundsTestEnable: VkBool32, stencilTestEnable: VkBool32, front: VkStencilOpState, back: VkStencilOpState, minDepthBounds: float32, maxDepthBounds: float32): VkPipelineDepthStencilStateCreateInfo =
6339 result.sType = sType
6340 result.pNext = pNext
6341 result.flags = flags
6342 result.depthTestEnable = depthTestEnable
6343 result.depthWriteEnable = depthWriteEnable
6344 result.depthCompareOp = depthCompareOp
6345 result.depthBoundsTestEnable = depthBoundsTestEnable
6346 result.stencilTestEnable = stencilTestEnable
6347 result.front = front
6348 result.back = back
6349 result.minDepthBounds = minDepthBounds
6350 result.maxDepthBounds = maxDepthBounds
6351
6352 proc newVkGraphicsPipelineCreateInfo*(sType: VkStructureType = VkStructureTypeGraphicsPipelineCreateInfo, pNext: pointer = nil, flags: VkPipelineCreateFlags = 0.VkPipelineCreateFlags, stageCount: uint32, pStages: ptr VkPipelineShaderStageCreateInfo, pVertexInputState: ptr VkPipelineVertexInputStateCreateInfo, pInputAssemblyState: ptr VkPipelineInputAssemblyStateCreateInfo, pTessellationState: ptr VkPipelineTessellationStateCreateInfo, pViewportState: ptr VkPipelineViewportStateCreateInfo, pRasterizationState: ptr VkPipelineRasterizationStateCreateInfo, pMultisampleState: ptr VkPipelineMultisampleStateCreateInfo, pDepthStencilState: ptr VkPipelineDepthStencilStateCreateInfo, pColorBlendState: ptr VkPipelineColorBlendStateCreateInfo, pDynamicState: ptr VkPipelineDynamicStateCreateInfo, layout: VkPipelineLayout, renderPass: VkRenderPass, subpass: uint32, basePipelineHandle: VkPipeline, basePipelineIndex: int32): VkGraphicsPipelineCreateInfo =
6353 result.sType = sType
6354 result.pNext = pNext
6355 result.flags = flags
6356 result.stageCount = stageCount
6357 result.pStages = pStages
6358 result.pVertexInputState = pVertexInputState
6359 result.pInputAssemblyState = pInputAssemblyState
6360 result.pTessellationState = pTessellationState
6361 result.pViewportState = pViewportState
6362 result.pRasterizationState = pRasterizationState
6363 result.pMultisampleState = pMultisampleState
6364 result.pDepthStencilState = pDepthStencilState
6365 result.pColorBlendState = pColorBlendState
6366 result.pDynamicState = pDynamicState
6367 result.layout = layout
6368 result.renderPass = renderPass
6369 result.subpass = subpass
6370 result.basePipelineHandle = basePipelineHandle
6371 result.basePipelineIndex = basePipelineIndex
6372
6373 proc newVkPipelineCacheCreateInfo*(sType: VkStructureType = VkStructureTypePipelineCacheCreateInfo, pNext: pointer = nil, flags: VkPipelineCacheCreateFlags = 0.VkPipelineCacheCreateFlags, initialDataSize: uint, pInitialData: pointer = nil): VkPipelineCacheCreateInfo =
6374 result.sType = sType
6375 result.pNext = pNext
6376 result.flags = flags
6377 result.initialDataSize = initialDataSize
6378 result.pInitialData = pInitialData
6379
6380 proc newVkPushConstantRange*(stageFlags: VkShaderStageFlags, offset: uint32, size: uint32): VkPushConstantRange =
6381 result.stageFlags = stageFlags
6382 result.offset = offset
6383 result.size = size
6384
6385 proc newVkPipelineLayoutCreateInfo*(sType: VkStructureType = VkStructureTypePipelineLayoutCreateInfo, pNext: pointer = nil, flags: VkPipelineLayoutCreateFlags = 0.VkPipelineLayoutCreateFlags, setLayoutCount: uint32, pSetLayouts: ptr VkDescriptorSetLayout, pushConstantRangeCount: uint32, pPushConstantRanges: ptr VkPushConstantRange): VkPipelineLayoutCreateInfo =
6386 result.sType = sType
6387 result.pNext = pNext
6388 result.flags = flags
6389 result.setLayoutCount = setLayoutCount
6390 result.pSetLayouts = pSetLayouts
6391 result.pushConstantRangeCount = pushConstantRangeCount
6392 result.pPushConstantRanges = pPushConstantRanges
6393
6394 proc newVkSamplerCreateInfo*(sType: VkStructureType = VkStructureTypeSamplerCreateInfo, pNext: pointer = nil, flags: VkSamplerCreateFlags = 0.VkSamplerCreateFlags, magFilter: VkFilter, minFilter: VkFilter, mipmapMode: VkSamplerMipmapMode, addressModeU: VkSamplerAddressMode, addressModeV: VkSamplerAddressMode, addressModeW: VkSamplerAddressMode, mipLodBias: float32, anisotropyEnable: VkBool32, maxAnisotropy: float32, compareEnable: VkBool32, compareOp: VkCompareOp, minLod: float32, maxLod: float32, borderColor: VkBorderColor, unnormalizedCoordinates: VkBool32): VkSamplerCreateInfo =
6395 result.sType = sType
6396 result.pNext = pNext
6397 result.flags = flags
6398 result.magFilter = magFilter
6399 result.minFilter = minFilter
6400 result.mipmapMode = mipmapMode
6401 result.addressModeU = addressModeU
6402 result.addressModeV = addressModeV
6403 result.addressModeW = addressModeW
6404 result.mipLodBias = mipLodBias
6405 result.anisotropyEnable = anisotropyEnable
6406 result.maxAnisotropy = maxAnisotropy
6407 result.compareEnable = compareEnable
6408 result.compareOp = compareOp
6409 result.minLod = minLod
6410 result.maxLod = maxLod
6411 result.borderColor = borderColor
6412 result.unnormalizedCoordinates = unnormalizedCoordinates
6413
6414 proc newVkCommandPoolCreateInfo*(sType: VkStructureType = VkStructureTypeCommandPoolCreateInfo, pNext: pointer = nil, flags: VkCommandPoolCreateFlags = 0.VkCommandPoolCreateFlags, queueFamilyIndex: uint32): VkCommandPoolCreateInfo =
6415 result.sType = sType
6416 result.pNext = pNext
6417 result.flags = flags
6418 result.queueFamilyIndex = queueFamilyIndex
6419
6420 proc newVkCommandBufferAllocateInfo*(sType: VkStructureType = VkStructureTypeCommandBufferAllocateInfo, pNext: pointer = nil, commandPool: VkCommandPool, level: VkCommandBufferLevel, commandBufferCount: uint32): VkCommandBufferAllocateInfo =
6421 result.sType = sType
6422 result.pNext = pNext
6423 result.commandPool = commandPool
6424 result.level = level
6425 result.commandBufferCount = commandBufferCount
6426
6427 proc newVkCommandBufferInheritanceInfo*(sType: VkStructureType = VkStructureTypeCommandBufferInheritanceInfo, pNext: pointer = nil, renderPass: VkRenderPass, subpass: uint32, framebuffer: VkFramebuffer, occlusionQueryEnable: VkBool32, queryFlags: VkQueryControlFlags, pipelineStatistics: VkQueryPipelineStatisticFlags): VkCommandBufferInheritanceInfo =
6428 result.sType = sType
6429 result.pNext = pNext
6430 result.renderPass = renderPass
6431 result.subpass = subpass
6432 result.framebuffer = framebuffer
6433 result.occlusionQueryEnable = occlusionQueryEnable
6434 result.queryFlags = queryFlags
6435 result.pipelineStatistics = pipelineStatistics
6436
6437 proc newVkCommandBufferBeginInfo*(sType: VkStructureType = VkStructureTypeCommandBufferBeginInfo, pNext: pointer = nil, flags: VkCommandBufferUsageFlags = 0.VkCommandBufferUsageFlags, pInheritanceInfo: ptr VkCommandBufferInheritanceInfo): VkCommandBufferBeginInfo =
6438 result.sType = sType
6439 result.pNext = pNext
6440 result.flags = flags
6441 result.pInheritanceInfo = pInheritanceInfo
6442
6443 proc newVkRenderPassBeginInfo*(sType: VkStructureType = VkStructureTypeRenderPassBeginInfo, pNext: pointer = nil, renderPass: VkRenderPass, framebuffer: VkFramebuffer, renderArea: VkRect2D, clearValueCount: uint32, pClearValues: ptr VkClearValue): VkRenderPassBeginInfo =
6444 result.sType = sType
6445 result.pNext = pNext
6446 result.renderPass = renderPass
6447 result.framebuffer = framebuffer
6448 result.renderArea = renderArea
6449 result.clearValueCount = clearValueCount
6450 result.pClearValues = pClearValues
6451
6452 proc newVkClearDepthStencilValue*(depth: float32, stencil: uint32): VkClearDepthStencilValue =
6453 result.depth = depth
6454 result.stencil = stencil
6455
6456 proc newVkClearAttachment*(aspectMask: VkImageAspectFlags, colorAttachment: uint32, clearValue: VkClearValue): VkClearAttachment =
6457 result.aspectMask = aspectMask
6458 result.colorAttachment = colorAttachment
6459 result.clearValue = clearValue
6460
6461 proc newVkAttachmentDescription*(flags: VkAttachmentDescriptionFlags = 0.VkAttachmentDescriptionFlags, format: VkFormat, samples: VkSampleCountFlagBits, loadOp: VkAttachmentLoadOp, storeOp: VkAttachmentStoreOp, stencilLoadOp: VkAttachmentLoadOp, stencilStoreOp: VkAttachmentStoreOp, initialLayout: VkImageLayout, finalLayout: VkImageLayout): VkAttachmentDescription =
6462 result.flags = flags
6463 result.format = format
6464 result.samples = samples
6465 result.loadOp = loadOp
6466 result.storeOp = storeOp
6467 result.stencilLoadOp = stencilLoadOp
6468 result.stencilStoreOp = stencilStoreOp
6469 result.initialLayout = initialLayout
6470 result.finalLayout = finalLayout
6471
6472 proc newVkAttachmentReference*(attachment: uint32, layout: VkImageLayout): VkAttachmentReference =
6473 result.attachment = attachment
6474 result.layout = layout
6475
6476 proc newVkSubpassDescription*(flags: VkSubpassDescriptionFlags = 0.VkSubpassDescriptionFlags, pipelineBindPoint: VkPipelineBindPoint, inputAttachmentCount: uint32, pInputAttachments: ptr VkAttachmentReference, colorAttachmentCount: uint32, pColorAttachments: ptr VkAttachmentReference, pResolveAttachments: ptr VkAttachmentReference, pDepthStencilAttachment: ptr VkAttachmentReference, preserveAttachmentCount: uint32, pPreserveAttachments: ptr uint32): VkSubpassDescription =
6477 result.flags = flags
6478 result.pipelineBindPoint = pipelineBindPoint
6479 result.inputAttachmentCount = inputAttachmentCount
6480 result.pInputAttachments = pInputAttachments
6481 result.colorAttachmentCount = colorAttachmentCount
6482 result.pColorAttachments = pColorAttachments
6483 result.pResolveAttachments = pResolveAttachments
6484 result.pDepthStencilAttachment = pDepthStencilAttachment
6485 result.preserveAttachmentCount = preserveAttachmentCount
6486 result.pPreserveAttachments = pPreserveAttachments
6487
6488 proc newVkSubpassDependency*(srcSubpass: uint32, dstSubpass: uint32, srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, srcAccessMask: VkAccessFlags, dstAccessMask: VkAccessFlags, dependencyFlags: VkDependencyFlags): VkSubpassDependency =
6489 result.srcSubpass = srcSubpass
6490 result.dstSubpass = dstSubpass
6491 result.srcStageMask = srcStageMask
6492 result.dstStageMask = dstStageMask
6493 result.srcAccessMask = srcAccessMask
6494 result.dstAccessMask = dstAccessMask
6495 result.dependencyFlags = dependencyFlags
6496
6497 proc newVkRenderPassCreateInfo*(sType: VkStructureType = VkStructureTypeRenderPassCreateInfo, pNext: pointer = nil, flags: VkRenderPassCreateFlags = 0.VkRenderPassCreateFlags, attachmentCount: uint32, pAttachments: ptr VkAttachmentDescription, subpassCount: uint32, pSubpasses: ptr VkSubpassDescription, dependencyCount: uint32, pDependencies: ptr VkSubpassDependency): VkRenderPassCreateInfo =
6498 result.sType = sType
6499 result.pNext = pNext
6500 result.flags = flags
6501 result.attachmentCount = attachmentCount
6502 result.pAttachments = pAttachments
6503 result.subpassCount = subpassCount
6504 result.pSubpasses = pSubpasses
6505 result.dependencyCount = dependencyCount
6506 result.pDependencies = pDependencies
6507
6508 proc newVkEventCreateInfo*(sType: VkStructureType = VkStructureTypeEventCreateInfo, pNext: pointer = nil, flags: VkEventCreateFlags = 0.VkEventCreateFlags): VkEventCreateInfo =
6509 result.sType = sType
6510 result.pNext = pNext
6511 result.flags = flags
6512
6513 proc newVkFenceCreateInfo*(sType: VkStructureType = VkStructureTypeFenceCreateInfo, pNext: pointer = nil, flags: VkFenceCreateFlags = 0.VkFenceCreateFlags): VkFenceCreateInfo =
6514 result.sType = sType
6515 result.pNext = pNext
6516 result.flags = flags
6517
6518 proc newVkPhysicalDeviceFeatures*(robustBufferAccess: VkBool32, fullDrawIndexUint32: VkBool32, imageCubeArray: VkBool32, independentBlend: VkBool32, geometryShader: VkBool32, tessellationShader: VkBool32, sampleRateShading: VkBool32, dualSrcBlend: VkBool32, logicOp: VkBool32, multiDrawIndirect: VkBool32, drawIndirectFirstInstance: VkBool32, depthClamp: VkBool32, depthBiasClamp: VkBool32, fillModeNonSolid: VkBool32, depthBounds: VkBool32, wideLines: VkBool32, largePoints: VkBool32, alphaToOne: VkBool32, multiViewport: VkBool32, samplerAnisotropy: VkBool32, textureCompressionETC2: VkBool32, textureCompressionASTC_LDR: VkBool32, textureCompressionBC: VkBool32, occlusionQueryPrecise: VkBool32, pipelineStatisticsQuery: VkBool32, vertexPipelineStoresAndAtomics: VkBool32, fragmentStoresAndAtomics: VkBool32, shaderTessellationAndGeometryPointSize: VkBool32, shaderImageGatherExtended: VkBool32, shaderStorageImageExtendedFormats: VkBool32, shaderStorageImageMultisample: VkBool32, shaderStorageImageReadWithoutFormat: VkBool32, shaderStorageImageWriteWithoutFormat: VkBool32, shaderUniformBufferArrayDynamicIndexing: VkBool32, shaderSampledImageArrayDynamicIndexing: VkBool32, shaderStorageBufferArrayDynamicIndexing: VkBool32, shaderStorageImageArrayDynamicIndexing: VkBool32, shaderClipDistance: VkBool32, shaderCullDistance: VkBool32, shaderFloat64: VkBool32, shaderInt64: VkBool32, shaderInt16: VkBool32, shaderResourceResidency: VkBool32, shaderResourceMinLod: VkBool32, sparseBinding: VkBool32, sparseResidencyBuffer: VkBool32, sparseResidencyImage2D: VkBool32, sparseResidencyImage3D: VkBool32, sparseResidency2Samples: VkBool32, sparseResidency4Samples: VkBool32, sparseResidency8Samples: VkBool32, sparseResidency16Samples: VkBool32, sparseResidencyAliased: VkBool32, variableMultisampleRate: VkBool32, inheritedQueries: VkBool32): VkPhysicalDeviceFeatures =
6519 result.robustBufferAccess = robustBufferAccess
6520 result.fullDrawIndexUint32 = fullDrawIndexUint32
6521 result.imageCubeArray = imageCubeArray
6522 result.independentBlend = independentBlend
6523 result.geometryShader = geometryShader
6524 result.tessellationShader = tessellationShader
6525 result.sampleRateShading = sampleRateShading
6526 result.dualSrcBlend = dualSrcBlend
6527 result.logicOp = logicOp
6528 result.multiDrawIndirect = multiDrawIndirect
6529 result.drawIndirectFirstInstance = drawIndirectFirstInstance
6530 result.depthClamp = depthClamp
6531 result.depthBiasClamp = depthBiasClamp
6532 result.fillModeNonSolid = fillModeNonSolid
6533 result.depthBounds = depthBounds
6534 result.wideLines = wideLines
6535 result.largePoints = largePoints
6536 result.alphaToOne = alphaToOne
6537 result.multiViewport = multiViewport
6538 result.samplerAnisotropy = samplerAnisotropy
6539 result.textureCompressionETC2 = textureCompressionETC2
6540 result.textureCompressionASTC_LDR = textureCompressionASTC_LDR
6541 result.textureCompressionBC = textureCompressionBC
6542 result.occlusionQueryPrecise = occlusionQueryPrecise
6543 result.pipelineStatisticsQuery = pipelineStatisticsQuery
6544 result.vertexPipelineStoresAndAtomics = vertexPipelineStoresAndAtomics
6545 result.fragmentStoresAndAtomics = fragmentStoresAndAtomics
6546 result.shaderTessellationAndGeometryPointSize = shaderTessellationAndGeometryPointSize
6547 result.shaderImageGatherExtended = shaderImageGatherExtended
6548 result.shaderStorageImageExtendedFormats = shaderStorageImageExtendedFormats
6549 result.shaderStorageImageMultisample = shaderStorageImageMultisample
6550 result.shaderStorageImageReadWithoutFormat = shaderStorageImageReadWithoutFormat
6551 result.shaderStorageImageWriteWithoutFormat = shaderStorageImageWriteWithoutFormat
6552 result.shaderUniformBufferArrayDynamicIndexing = shaderUniformBufferArrayDynamicIndexing
6553 result.shaderSampledImageArrayDynamicIndexing = shaderSampledImageArrayDynamicIndexing
6554 result.shaderStorageBufferArrayDynamicIndexing = shaderStorageBufferArrayDynamicIndexing
6555 result.shaderStorageImageArrayDynamicIndexing = shaderStorageImageArrayDynamicIndexing
6556 result.shaderClipDistance = shaderClipDistance
6557 result.shaderCullDistance = shaderCullDistance
6558 result.shaderFloat64 = shaderFloat64
6559 result.shaderInt64 = shaderInt64
6560 result.shaderInt16 = shaderInt16
6561 result.shaderResourceResidency = shaderResourceResidency
6562 result.shaderResourceMinLod = shaderResourceMinLod
6563 result.sparseBinding = sparseBinding
6564 result.sparseResidencyBuffer = sparseResidencyBuffer
6565 result.sparseResidencyImage2D = sparseResidencyImage2D
6566 result.sparseResidencyImage3D = sparseResidencyImage3D
6567 result.sparseResidency2Samples = sparseResidency2Samples
6568 result.sparseResidency4Samples = sparseResidency4Samples
6569 result.sparseResidency8Samples = sparseResidency8Samples
6570 result.sparseResidency16Samples = sparseResidency16Samples
6571 result.sparseResidencyAliased = sparseResidencyAliased
6572 result.variableMultisampleRate = variableMultisampleRate
6573 result.inheritedQueries = inheritedQueries
6574
6575 proc newVkPhysicalDeviceSparseProperties*(residencyStandard2DBlockShape: VkBool32, residencyStandard2DMultisampleBlockShape: VkBool32, residencyStandard3DBlockShape: VkBool32, residencyAlignedMipSize: VkBool32, residencyNonResidentStrict: VkBool32): VkPhysicalDeviceSparseProperties =
6576 result.residencyStandard2DBlockShape = residencyStandard2DBlockShape
6577 result.residencyStandard2DMultisampleBlockShape = residencyStandard2DMultisampleBlockShape
6578 result.residencyStandard3DBlockShape = residencyStandard3DBlockShape
6579 result.residencyAlignedMipSize = residencyAlignedMipSize
6580 result.residencyNonResidentStrict = residencyNonResidentStrict
6581
6582 proc newVkPhysicalDeviceLimits*(maxImageDimension1D: uint32, maxImageDimension2D: uint32, maxImageDimension3D: uint32, maxImageDimensionCube: uint32, maxImageArrayLayers: uint32, maxTexelBufferElements: uint32, maxUniformBufferRange: uint32, maxStorageBufferRange: uint32, maxPushConstantsSize: uint32, maxMemoryAllocationCount: uint32, maxSamplerAllocationCount: uint32, bufferImageGranularity: VkDeviceSize, sparseAddressSpaceSize: VkDeviceSize, maxBoundDescriptorSets: uint32, maxPerStageDescriptorSamplers: uint32, maxPerStageDescriptorUniformBuffers: uint32, maxPerStageDescriptorStorageBuffers: uint32, maxPerStageDescriptorSampledImages: uint32, maxPerStageDescriptorStorageImages: uint32, maxPerStageDescriptorInputAttachments: uint32, maxPerStageResources: uint32, maxDescriptorSetSamplers: uint32, maxDescriptorSetUniformBuffers: uint32, maxDescriptorSetUniformBuffersDynamic: uint32, maxDescriptorSetStorageBuffers: uint32, maxDescriptorSetStorageBuffersDynamic: uint32, maxDescriptorSetSampledImages: uint32, maxDescriptorSetStorageImages: uint32, maxDescriptorSetInputAttachments: uint32, maxVertexInputAttributes: uint32, maxVertexInputBindings: uint32, maxVertexInputAttributeOffset: uint32, maxVertexInputBindingStride: uint32, maxVertexOutputComponents: uint32, maxTessellationGenerationLevel: uint32, maxTessellationPatchSize: uint32, maxTessellationControlPerVertexInputComponents: uint32, maxTessellationControlPerVertexOutputComponents: uint32, maxTessellationControlPerPatchOutputComponents: uint32, maxTessellationControlTotalOutputComponents: uint32, maxTessellationEvaluationInputComponents: uint32, maxTessellationEvaluationOutputComponents: uint32, maxGeometryShaderInvocations: uint32, maxGeometryInputComponents: uint32, maxGeometryOutputComponents: uint32, maxGeometryOutputVertices: uint32, maxGeometryTotalOutputComponents: uint32, maxFragmentInputComponents: uint32, maxFragmentOutputAttachments: uint32, maxFragmentDualSrcAttachments: uint32, maxFragmentCombinedOutputResources: uint32, maxComputeSharedMemorySize: uint32, maxComputeWorkGroupCount: array[3, uint32], maxComputeWorkGroupInvocations: uint32, maxComputeWorkGroupSize: array[3, uint32], subPixelPrecisionBits: uint32, subTexelPrecisionBits: uint32, mipmapPrecisionBits: uint32, maxDrawIndexedIndexValue: uint32, maxDrawIndirectCount: uint32, maxSamplerLodBias: float32, maxSamplerAnisotropy: float32, maxViewports: uint32, maxViewportDimensions: array[2, uint32], viewportBoundsRange: array[2, float32], viewportSubPixelBits: uint32, minMemoryMapAlignment: uint, minTexelBufferOffsetAlignment: VkDeviceSize, minUniformBufferOffsetAlignment: VkDeviceSize, minStorageBufferOffsetAlignment: VkDeviceSize, minTexelOffset: int32, maxTexelOffset: uint32, minTexelGatherOffset: int32, maxTexelGatherOffset: uint32, minInterpolationOffset: float32, maxInterpolationOffset: float32, subPixelInterpolationOffsetBits: uint32, maxFramebufferWidth: uint32, maxFramebufferHeight: uint32, maxFramebufferLayers: uint32, framebufferColorSampleCounts: VkSampleCountFlags, framebufferDepthSampleCounts: VkSampleCountFlags, framebufferStencilSampleCounts: VkSampleCountFlags, framebufferNoAttachmentsSampleCounts: VkSampleCountFlags, maxColorAttachments: uint32, sampledImageColorSampleCounts: VkSampleCountFlags, sampledImageIntegerSampleCounts: VkSampleCountFlags, sampledImageDepthSampleCounts: VkSampleCountFlags, sampledImageStencilSampleCounts: VkSampleCountFlags, storageImageSampleCounts: VkSampleCountFlags, maxSampleMaskWords: uint32, timestampComputeAndGraphics: VkBool32, timestampPeriod: float32, maxClipDistances: uint32, maxCullDistances: uint32, maxCombinedClipAndCullDistances: uint32, discreteQueuePriorities: uint32, pointSizeRange: array[2, float32], lineWidthRange: array[2, float32], pointSizeGranularity: float32, lineWidthGranularity: float32, strictLines: VkBool32, standardSampleLocations: VkBool32, optimalBufferCopyOffsetAlignment: VkDeviceSize, optimalBufferCopyRowPitchAlignment: VkDeviceSize, nonCoherentAtomSize: VkDeviceSize): VkPhysicalDeviceLimits =
6583 result.maxImageDimension1D = maxImageDimension1D
6584 result.maxImageDimension2D = maxImageDimension2D
6585 result.maxImageDimension3D = maxImageDimension3D
6586 result.maxImageDimensionCube = maxImageDimensionCube
6587 result.maxImageArrayLayers = maxImageArrayLayers
6588 result.maxTexelBufferElements = maxTexelBufferElements
6589 result.maxUniformBufferRange = maxUniformBufferRange
6590 result.maxStorageBufferRange = maxStorageBufferRange
6591 result.maxPushConstantsSize = maxPushConstantsSize
6592 result.maxMemoryAllocationCount = maxMemoryAllocationCount
6593 result.maxSamplerAllocationCount = maxSamplerAllocationCount
6594 result.bufferImageGranularity = bufferImageGranularity
6595 result.sparseAddressSpaceSize = sparseAddressSpaceSize
6596 result.maxBoundDescriptorSets = maxBoundDescriptorSets
6597 result.maxPerStageDescriptorSamplers = maxPerStageDescriptorSamplers
6598 result.maxPerStageDescriptorUniformBuffers = maxPerStageDescriptorUniformBuffers
6599 result.maxPerStageDescriptorStorageBuffers = maxPerStageDescriptorStorageBuffers
6600 result.maxPerStageDescriptorSampledImages = maxPerStageDescriptorSampledImages
6601 result.maxPerStageDescriptorStorageImages = maxPerStageDescriptorStorageImages
6602 result.maxPerStageDescriptorInputAttachments = maxPerStageDescriptorInputAttachments
6603 result.maxPerStageResources = maxPerStageResources
6604 result.maxDescriptorSetSamplers = maxDescriptorSetSamplers
6605 result.maxDescriptorSetUniformBuffers = maxDescriptorSetUniformBuffers
6606 result.maxDescriptorSetUniformBuffersDynamic = maxDescriptorSetUniformBuffersDynamic
6607 result.maxDescriptorSetStorageBuffers = maxDescriptorSetStorageBuffers
6608 result.maxDescriptorSetStorageBuffersDynamic = maxDescriptorSetStorageBuffersDynamic
6609 result.maxDescriptorSetSampledImages = maxDescriptorSetSampledImages
6610 result.maxDescriptorSetStorageImages = maxDescriptorSetStorageImages
6611 result.maxDescriptorSetInputAttachments = maxDescriptorSetInputAttachments
6612 result.maxVertexInputAttributes = maxVertexInputAttributes
6613 result.maxVertexInputBindings = maxVertexInputBindings
6614 result.maxVertexInputAttributeOffset = maxVertexInputAttributeOffset
6615 result.maxVertexInputBindingStride = maxVertexInputBindingStride
6616 result.maxVertexOutputComponents = maxVertexOutputComponents
6617 result.maxTessellationGenerationLevel = maxTessellationGenerationLevel
6618 result.maxTessellationPatchSize = maxTessellationPatchSize
6619 result.maxTessellationControlPerVertexInputComponents = maxTessellationControlPerVertexInputComponents
6620 result.maxTessellationControlPerVertexOutputComponents = maxTessellationControlPerVertexOutputComponents
6621 result.maxTessellationControlPerPatchOutputComponents = maxTessellationControlPerPatchOutputComponents
6622 result.maxTessellationControlTotalOutputComponents = maxTessellationControlTotalOutputComponents
6623 result.maxTessellationEvaluationInputComponents = maxTessellationEvaluationInputComponents
6624 result.maxTessellationEvaluationOutputComponents = maxTessellationEvaluationOutputComponents
6625 result.maxGeometryShaderInvocations = maxGeometryShaderInvocations
6626 result.maxGeometryInputComponents = maxGeometryInputComponents
6627 result.maxGeometryOutputComponents = maxGeometryOutputComponents
6628 result.maxGeometryOutputVertices = maxGeometryOutputVertices
6629 result.maxGeometryTotalOutputComponents = maxGeometryTotalOutputComponents
6630 result.maxFragmentInputComponents = maxFragmentInputComponents
6631 result.maxFragmentOutputAttachments = maxFragmentOutputAttachments
6632 result.maxFragmentDualSrcAttachments = maxFragmentDualSrcAttachments
6633 result.maxFragmentCombinedOutputResources = maxFragmentCombinedOutputResources
6634 result.maxComputeSharedMemorySize = maxComputeSharedMemorySize
6635 result.maxComputeWorkGroupCount = maxComputeWorkGroupCount
6636 result.maxComputeWorkGroupInvocations = maxComputeWorkGroupInvocations
6637 result.maxComputeWorkGroupSize = maxComputeWorkGroupSize
6638 result.subPixelPrecisionBits = subPixelPrecisionBits
6639 result.subTexelPrecisionBits = subTexelPrecisionBits
6640 result.mipmapPrecisionBits = mipmapPrecisionBits
6641 result.maxDrawIndexedIndexValue = maxDrawIndexedIndexValue
6642 result.maxDrawIndirectCount = maxDrawIndirectCount
6643 result.maxSamplerLodBias = maxSamplerLodBias
6644 result.maxSamplerAnisotropy = maxSamplerAnisotropy
6645 result.maxViewports = maxViewports
6646 result.maxViewportDimensions = maxViewportDimensions
6647 result.viewportBoundsRange = viewportBoundsRange
6648 result.viewportSubPixelBits = viewportSubPixelBits
6649 result.minMemoryMapAlignment = minMemoryMapAlignment
6650 result.minTexelBufferOffsetAlignment = minTexelBufferOffsetAlignment
6651 result.minUniformBufferOffsetAlignment = minUniformBufferOffsetAlignment
6652 result.minStorageBufferOffsetAlignment = minStorageBufferOffsetAlignment
6653 result.minTexelOffset = minTexelOffset
6654 result.maxTexelOffset = maxTexelOffset
6655 result.minTexelGatherOffset = minTexelGatherOffset
6656 result.maxTexelGatherOffset = maxTexelGatherOffset
6657 result.minInterpolationOffset = minInterpolationOffset
6658 result.maxInterpolationOffset = maxInterpolationOffset
6659 result.subPixelInterpolationOffsetBits = subPixelInterpolationOffsetBits
6660 result.maxFramebufferWidth = maxFramebufferWidth
6661 result.maxFramebufferHeight = maxFramebufferHeight
6662 result.maxFramebufferLayers = maxFramebufferLayers
6663 result.framebufferColorSampleCounts = framebufferColorSampleCounts
6664 result.framebufferDepthSampleCounts = framebufferDepthSampleCounts
6665 result.framebufferStencilSampleCounts = framebufferStencilSampleCounts
6666 result.framebufferNoAttachmentsSampleCounts = framebufferNoAttachmentsSampleCounts
6667 result.maxColorAttachments = maxColorAttachments
6668 result.sampledImageColorSampleCounts = sampledImageColorSampleCounts
6669 result.sampledImageIntegerSampleCounts = sampledImageIntegerSampleCounts
6670 result.sampledImageDepthSampleCounts = sampledImageDepthSampleCounts
6671 result.sampledImageStencilSampleCounts = sampledImageStencilSampleCounts
6672 result.storageImageSampleCounts = storageImageSampleCounts
6673 result.maxSampleMaskWords = maxSampleMaskWords
6674 result.timestampComputeAndGraphics = timestampComputeAndGraphics
6675 result.timestampPeriod = timestampPeriod
6676 result.maxClipDistances = maxClipDistances
6677 result.maxCullDistances = maxCullDistances
6678 result.maxCombinedClipAndCullDistances = maxCombinedClipAndCullDistances
6679 result.discreteQueuePriorities = discreteQueuePriorities
6680 result.pointSizeRange = pointSizeRange
6681 result.lineWidthRange = lineWidthRange
6682 result.pointSizeGranularity = pointSizeGranularity
6683 result.lineWidthGranularity = lineWidthGranularity
6684 result.strictLines = strictLines
6685 result.standardSampleLocations = standardSampleLocations
6686 result.optimalBufferCopyOffsetAlignment = optimalBufferCopyOffsetAlignment
6687 result.optimalBufferCopyRowPitchAlignment = optimalBufferCopyRowPitchAlignment
6688 result.nonCoherentAtomSize = nonCoherentAtomSize
6689
6690 proc newVkSemaphoreCreateInfo*(sType: VkStructureType = VkStructureTypeSemaphoreCreateInfo, pNext: pointer = nil, flags: VkSemaphoreCreateFlags = 0.VkSemaphoreCreateFlags): VkSemaphoreCreateInfo =
6691 result.sType = sType
6692 result.pNext = pNext
6693 result.flags = flags
6694
6695 proc newVkQueryPoolCreateInfo*(sType: VkStructureType = VkStructureTypeQueryPoolCreateInfo, pNext: pointer = nil, flags: VkQueryPoolCreateFlags = 0.VkQueryPoolCreateFlags, queryType: VkQueryType, queryCount: uint32, pipelineStatistics: VkQueryPipelineStatisticFlags): VkQueryPoolCreateInfo =
6696 result.sType = sType
6697 result.pNext = pNext
6698 result.flags = flags
6699 result.queryType = queryType
6700 result.queryCount = queryCount
6701 result.pipelineStatistics = pipelineStatistics
6702
6703 proc newVkFramebufferCreateInfo*(sType: VkStructureType = VkStructureTypeFramebufferCreateInfo, pNext: pointer = nil, flags: VkFramebufferCreateFlags = 0.VkFramebufferCreateFlags, renderPass: VkRenderPass, attachmentCount: uint32, pAttachments: ptr VkImageView, width: uint32, height: uint32, layers: uint32): VkFramebufferCreateInfo =
6704 result.sType = sType
6705 result.pNext = pNext
6706 result.flags = flags
6707 result.renderPass = renderPass
6708 result.attachmentCount = attachmentCount
6709 result.pAttachments = pAttachments
6710 result.width = width
6711 result.height = height
6712 result.layers = layers
6713
6714 proc newVkDrawIndirectCommand*(vertexCount: uint32, instanceCount: uint32, firstVertex: uint32, firstInstance: uint32): VkDrawIndirectCommand =
6715 result.vertexCount = vertexCount
6716 result.instanceCount = instanceCount
6717 result.firstVertex = firstVertex
6718 result.firstInstance = firstInstance
6719
6720 proc newVkDrawIndexedIndirectCommand*(indexCount: uint32, instanceCount: uint32, firstIndex: uint32, vertexOffset: int32, firstInstance: uint32): VkDrawIndexedIndirectCommand =
6721 result.indexCount = indexCount
6722 result.instanceCount = instanceCount
6723 result.firstIndex = firstIndex
6724 result.vertexOffset = vertexOffset
6725 result.firstInstance = firstInstance
6726
6727 proc newVkDispatchIndirectCommand*(x: uint32, y: uint32, z: uint32): VkDispatchIndirectCommand =
6728 result.x = x
6729 result.y = y
6730 result.z = z
6731
6732 proc newVkSubmitInfo*(sType: VkStructureType = VkStructureTypeSubmitInfo, pNext: pointer = nil, waitSemaphoreCount: uint32, pWaitSemaphores: ptr VkSemaphore, pWaitDstStageMask: ptr VkPipelineStageFlags, commandBufferCount: uint32, pCommandBuffers: ptr VkCommandBuffer, signalSemaphoreCount: uint32, pSignalSemaphores: ptr VkSemaphore): VkSubmitInfo =
6733 result.sType = sType
6734 result.pNext = pNext
6735 result.waitSemaphoreCount = waitSemaphoreCount
6736 result.pWaitSemaphores = pWaitSemaphores
6737 result.pWaitDstStageMask = pWaitDstStageMask
6738 result.commandBufferCount = commandBufferCount
6739 result.pCommandBuffers = pCommandBuffers
6740 result.signalSemaphoreCount = signalSemaphoreCount
6741 result.pSignalSemaphores = pSignalSemaphores
6742
6743 proc newVkDisplayPropertiesKHR*(display: VkDisplayKHR, displayName: cstring, physicalDimensions: VkExtent2D, physicalResolution: VkExtent2D, supportedTransforms: VkSurfaceTransformFlagsKHR, planeReorderPossible: VkBool32, persistentContent: VkBool32): VkDisplayPropertiesKHR =
6744 result.display = display
6745 result.displayName = displayName
6746 result.physicalDimensions = physicalDimensions
6747 result.physicalResolution = physicalResolution
6748 result.supportedTransforms = supportedTransforms
6749 result.planeReorderPossible = planeReorderPossible
6750 result.persistentContent = persistentContent
6751
6752 proc newVkDisplayPlanePropertiesKHR*(currentDisplay: VkDisplayKHR, currentStackIndex: uint32): VkDisplayPlanePropertiesKHR =
6753 result.currentDisplay = currentDisplay
6754 result.currentStackIndex = currentStackIndex
6755
6756 proc newVkDisplayModeParametersKHR*(visibleRegion: VkExtent2D, refreshRate: uint32): VkDisplayModeParametersKHR =
6757 result.visibleRegion = visibleRegion
6758 result.refreshRate = refreshRate
6759
6760 proc newVkDisplayModePropertiesKHR*(displayMode: VkDisplayModeKHR, parameters: VkDisplayModeParametersKHR): VkDisplayModePropertiesKHR =
6761 result.displayMode = displayMode
6762 result.parameters = parameters
6763
6764 proc newVkDisplayModeCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkDisplayModeCreateFlagsKHR = 0.VkDisplayModeCreateFlagsKHR, parameters: VkDisplayModeParametersKHR): VkDisplayModeCreateInfoKHR =
6765 result.sType = sType
6766 result.pNext = pNext
6767 result.flags = flags
6768 result.parameters = parameters
6769
6770 proc newVkDisplayPlaneCapabilitiesKHR*(supportedAlpha: VkDisplayPlaneAlphaFlagsKHR, minSrcPosition: VkOffset2D, maxSrcPosition: VkOffset2D, minSrcExtent: VkExtent2D, maxSrcExtent: VkExtent2D, minDstPosition: VkOffset2D, maxDstPosition: VkOffset2D, minDstExtent: VkExtent2D, maxDstExtent: VkExtent2D): VkDisplayPlaneCapabilitiesKHR =
6771 result.supportedAlpha = supportedAlpha
6772 result.minSrcPosition = minSrcPosition
6773 result.maxSrcPosition = maxSrcPosition
6774 result.minSrcExtent = minSrcExtent
6775 result.maxSrcExtent = maxSrcExtent
6776 result.minDstPosition = minDstPosition
6777 result.maxDstPosition = maxDstPosition
6778 result.minDstExtent = minDstExtent
6779 result.maxDstExtent = maxDstExtent
6780
6781 proc newVkDisplaySurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkDisplaySurfaceCreateFlagsKHR = 0.VkDisplaySurfaceCreateFlagsKHR, displayMode: VkDisplayModeKHR, planeIndex: uint32, planeStackIndex: uint32, transform: VkSurfaceTransformFlagBitsKHR, globalAlpha: float32, alphaMode: VkDisplayPlaneAlphaFlagBitsKHR, imageExtent: VkExtent2D): VkDisplaySurfaceCreateInfoKHR =
6782 result.sType = sType
6783 result.pNext = pNext
6784 result.flags = flags
6785 result.displayMode = displayMode
6786 result.planeIndex = planeIndex
6787 result.planeStackIndex = planeStackIndex
6788 result.transform = transform
6789 result.globalAlpha = globalAlpha
6790 result.alphaMode = alphaMode
6791 result.imageExtent = imageExtent
6792
6793 proc newVkDisplayPresentInfoKHR*(sType: VkStructureType, pNext: pointer = nil, srcRect: VkRect2D, dstRect: VkRect2D, persistent: VkBool32): VkDisplayPresentInfoKHR =
6794 result.sType = sType
6795 result.pNext = pNext
6796 result.srcRect = srcRect
6797 result.dstRect = dstRect
6798 result.persistent = persistent
6799
6800 proc newVkSurfaceCapabilitiesKHR*(minImageCount: uint32, maxImageCount: uint32, currentExtent: VkExtent2D, minImageExtent: VkExtent2D, maxImageExtent: VkExtent2D, maxImageArrayLayers: uint32, supportedTransforms: VkSurfaceTransformFlagsKHR, currentTransform: VkSurfaceTransformFlagBitsKHR, supportedCompositeAlpha: VkCompositeAlphaFlagsKHR, supportedUsageFlags: VkImageUsageFlags): VkSurfaceCapabilitiesKHR =
6801 result.minImageCount = minImageCount
6802 result.maxImageCount = maxImageCount
6803 result.currentExtent = currentExtent
6804 result.minImageExtent = minImageExtent
6805 result.maxImageExtent = maxImageExtent
6806 result.maxImageArrayLayers = maxImageArrayLayers
6807 result.supportedTransforms = supportedTransforms
6808 result.currentTransform = currentTransform
6809 result.supportedCompositeAlpha = supportedCompositeAlpha
6810 result.supportedUsageFlags = supportedUsageFlags
6811
6812 proc newVkAndroidSurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkAndroidSurfaceCreateFlagsKHR = 0.VkAndroidSurfaceCreateFlagsKHR, window: ptr ANativeWindow): VkAndroidSurfaceCreateInfoKHR =
6813 result.sType = sType
6814 result.pNext = pNext
6815 result.flags = flags
6816 result.window = window
6817
6818 proc newVkViSurfaceCreateInfoNN*(sType: VkStructureType, pNext: pointer = nil, flags: VkViSurfaceCreateFlagsNN = 0.VkViSurfaceCreateFlagsNN, window: pointer = nil): VkViSurfaceCreateInfoNN =
6819 result.sType = sType
6820 result.pNext = pNext
6821 result.flags = flags
6822 result.window = window
6823
6824 proc newVkWaylandSurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkWaylandSurfaceCreateFlagsKHR = 0.VkWaylandSurfaceCreateFlagsKHR, display: ptr wl_display, surface: ptr wl_surface): VkWaylandSurfaceCreateInfoKHR =
6825 result.sType = sType
6826 result.pNext = pNext
6827 result.flags = flags
6828 result.display = display
6829 result.surface = surface
6830
6831 proc newVkWin32SurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkWin32SurfaceCreateFlagsKHR = 0.VkWin32SurfaceCreateFlagsKHR, hinstance: HINSTANCE, hwnd: HWND): VkWin32SurfaceCreateInfoKHR =
6832 result.sType = sType
6833 result.pNext = pNext
6834 result.flags = flags
6835 result.hinstance = hinstance
6836 result.hwnd = hwnd
6837
6838 proc newVkXlibSurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkXlibSurfaceCreateFlagsKHR = 0.VkXlibSurfaceCreateFlagsKHR, dpy: ptr Display, window: Window): VkXlibSurfaceCreateInfoKHR =
6839 result.sType = sType
6840 result.pNext = pNext
6841 result.flags = flags
6842 result.dpy = dpy
6843 result.window = window
6844
6845 proc newVkXcbSurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkXcbSurfaceCreateFlagsKHR = 0.VkXcbSurfaceCreateFlagsKHR, connection: ptr xcb_connection_t, window: xcb_window_t): VkXcbSurfaceCreateInfoKHR =
6846 result.sType = sType
6847 result.pNext = pNext
6848 result.flags = flags
6849 result.connection = connection
6850 result.window = window
6851
6852 proc newVkDirectFBSurfaceCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkDirectFBSurfaceCreateFlagsEXT = 0.VkDirectFBSurfaceCreateFlagsEXT, dfb: ptr IDirectFB, surface: ptr IDirectFBSurface): VkDirectFBSurfaceCreateInfoEXT =
6853 result.sType = sType
6854 result.pNext = pNext
6855 result.flags = flags
6856 result.dfb = dfb
6857 result.surface = surface
6858
6859 proc newVkImagePipeSurfaceCreateInfoFUCHSIA*(sType: VkStructureType, pNext: pointer = nil, flags: VkImagePipeSurfaceCreateFlagsFUCHSIA = 0.VkImagePipeSurfaceCreateFlagsFUCHSIA, imagePipeHandle: zx_handle_t): VkImagePipeSurfaceCreateInfoFUCHSIA =
6860 result.sType = sType
6861 result.pNext = pNext
6862 result.flags = flags
6863 result.imagePipeHandle = imagePipeHandle
6864
6865 proc newVkStreamDescriptorSurfaceCreateInfoGGP*(sType: VkStructureType, pNext: pointer = nil, flags: VkStreamDescriptorSurfaceCreateFlagsGGP = 0.VkStreamDescriptorSurfaceCreateFlagsGGP, streamDescriptor: GgpStreamDescriptor): VkStreamDescriptorSurfaceCreateInfoGGP =
6866 result.sType = sType
6867 result.pNext = pNext
6868 result.flags = flags
6869 result.streamDescriptor = streamDescriptor
6870
6871 proc newVkSurfaceFormatKHR*(format: VkFormat, colorSpace: VkColorSpaceKHR): VkSurfaceFormatKHR =
6872 result.format = format
6873 result.colorSpace = colorSpace
6874
6875 proc newVkSwapchainCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkSwapchainCreateFlagsKHR = 0.VkSwapchainCreateFlagsKHR, surface: VkSurfaceKHR, minImageCount: uint32, imageFormat: VkFormat, imageColorSpace: VkColorSpaceKHR, imageExtent: VkExtent2D, imageArrayLayers: uint32, imageUsage: VkImageUsageFlags, imageSharingMode: VkSharingMode, queueFamilyIndexCount: uint32, pQueueFamilyIndices: ptr uint32, preTransform: VkSurfaceTransformFlagBitsKHR, compositeAlpha: VkCompositeAlphaFlagBitsKHR, presentMode: VkPresentModeKHR, clipped: VkBool32, oldSwapchain: VkSwapchainKHR): VkSwapchainCreateInfoKHR =
6876 result.sType = sType
6877 result.pNext = pNext
6878 result.flags = flags
6879 result.surface = surface
6880 result.minImageCount = minImageCount
6881 result.imageFormat = imageFormat
6882 result.imageColorSpace = imageColorSpace
6883 result.imageExtent = imageExtent
6884 result.imageArrayLayers = imageArrayLayers
6885 result.imageUsage = imageUsage
6886 result.imageSharingMode = imageSharingMode
6887 result.queueFamilyIndexCount = queueFamilyIndexCount
6888 result.pQueueFamilyIndices = pQueueFamilyIndices
6889 result.preTransform = preTransform
6890 result.compositeAlpha = compositeAlpha
6891 result.presentMode = presentMode
6892 result.clipped = clipped
6893 result.oldSwapchain = oldSwapchain
6894
6895 proc newVkPresentInfoKHR*(sType: VkStructureType, pNext: pointer = nil, waitSemaphoreCount: uint32, pWaitSemaphores: ptr VkSemaphore, swapchainCount: uint32, pSwapchains: ptr VkSwapchainKHR, pImageIndices: ptr uint32, pResults: ptr VkResult): VkPresentInfoKHR =
6896 result.sType = sType
6897 result.pNext = pNext
6898 result.waitSemaphoreCount = waitSemaphoreCount
6899 result.pWaitSemaphores = pWaitSemaphores
6900 result.swapchainCount = swapchainCount
6901 result.pSwapchains = pSwapchains
6902 result.pImageIndices = pImageIndices
6903 result.pResults = pResults
6904
6905 proc newVkDebugReportCallbackCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkDebugReportFlagsEXT = 0.VkDebugReportFlagsEXT, pfnCallback: PFN_vkDebugReportCallbackEXT, pUserData: pointer = nil): VkDebugReportCallbackCreateInfoEXT =
6906 result.sType = sType
6907 result.pNext = pNext
6908 result.flags = flags
6909 result.pfnCallback = pfnCallback
6910 result.pUserData = pUserData
6911
6912 proc newVkValidationFlagsEXT*(sType: VkStructureType, pNext: pointer = nil, disabledValidationCheckCount: uint32, pDisabledValidationChecks: ptr VkValidationCheckEXT): VkValidationFlagsEXT =
6913 result.sType = sType
6914 result.pNext = pNext
6915 result.disabledValidationCheckCount = disabledValidationCheckCount
6916 result.pDisabledValidationChecks = pDisabledValidationChecks
6917
6918 proc newVkValidationFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, enabledValidationFeatureCount: uint32, pEnabledValidationFeatures: ptr VkValidationFeatureEnableEXT, disabledValidationFeatureCount: uint32, pDisabledValidationFeatures: ptr VkValidationFeatureDisableEXT): VkValidationFeaturesEXT =
6919 result.sType = sType
6920 result.pNext = pNext
6921 result.enabledValidationFeatureCount = enabledValidationFeatureCount
6922 result.pEnabledValidationFeatures = pEnabledValidationFeatures
6923 result.disabledValidationFeatureCount = disabledValidationFeatureCount
6924 result.pDisabledValidationFeatures = pDisabledValidationFeatures
6925
6926 proc newVkPipelineRasterizationStateRasterizationOrderAMD*(sType: VkStructureType, pNext: pointer = nil, rasterizationOrder: VkRasterizationOrderAMD): VkPipelineRasterizationStateRasterizationOrderAMD =
6927 result.sType = sType
6928 result.pNext = pNext
6929 result.rasterizationOrder = rasterizationOrder
6930
6931 proc newVkDebugMarkerObjectNameInfoEXT*(sType: VkStructureType, pNext: pointer = nil, objectType: VkDebugReportObjectTypeEXT, `object`: uint64, pObjectName: cstring): VkDebugMarkerObjectNameInfoEXT =
6932 result.sType = sType
6933 result.pNext = pNext
6934 result.objectType = objectType
6935 result.`object` = `object`
6936 result.pObjectName = pObjectName
6937
6938 proc newVkDebugMarkerObjectTagInfoEXT*(sType: VkStructureType, pNext: pointer = nil, objectType: VkDebugReportObjectTypeEXT, `object`: uint64, tagName: uint64, tagSize: uint, pTag: pointer = nil): VkDebugMarkerObjectTagInfoEXT =
6939 result.sType = sType
6940 result.pNext = pNext
6941 result.objectType = objectType
6942 result.`object` = `object`
6943 result.tagName = tagName
6944 result.tagSize = tagSize
6945 result.pTag = pTag
6946
6947 proc newVkDebugMarkerMarkerInfoEXT*(sType: VkStructureType, pNext: pointer = nil, pMarkerName: cstring, color: array[4, float32]): VkDebugMarkerMarkerInfoEXT =
6948 result.sType = sType
6949 result.pNext = pNext
6950 result.pMarkerName = pMarkerName
6951 result.color = color
6952
6953 proc newVkDedicatedAllocationImageCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, dedicatedAllocation: VkBool32): VkDedicatedAllocationImageCreateInfoNV =
6954 result.sType = sType
6955 result.pNext = pNext
6956 result.dedicatedAllocation = dedicatedAllocation
6957
6958 proc newVkDedicatedAllocationBufferCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, dedicatedAllocation: VkBool32): VkDedicatedAllocationBufferCreateInfoNV =
6959 result.sType = sType
6960 result.pNext = pNext
6961 result.dedicatedAllocation = dedicatedAllocation
6962
6963 proc newVkDedicatedAllocationMemoryAllocateInfoNV*(sType: VkStructureType, pNext: pointer = nil, image: VkImage, buffer: VkBuffer): VkDedicatedAllocationMemoryAllocateInfoNV =
6964 result.sType = sType
6965 result.pNext = pNext
6966 result.image = image
6967 result.buffer = buffer
6968
6969 proc newVkExternalImageFormatPropertiesNV*(imageFormatProperties: VkImageFormatProperties, externalMemoryFeatures: VkExternalMemoryFeatureFlagsNV, exportFromImportedHandleTypes: VkExternalMemoryHandleTypeFlagsNV, compatibleHandleTypes: VkExternalMemoryHandleTypeFlagsNV): VkExternalImageFormatPropertiesNV =
6970 result.imageFormatProperties = imageFormatProperties
6971 result.externalMemoryFeatures = externalMemoryFeatures
6972 result.exportFromImportedHandleTypes = exportFromImportedHandleTypes
6973 result.compatibleHandleTypes = compatibleHandleTypes
6974
6975 proc newVkExternalMemoryImageCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalMemoryHandleTypeFlagsNV): VkExternalMemoryImageCreateInfoNV =
6976 result.sType = sType
6977 result.pNext = pNext
6978 result.handleTypes = handleTypes
6979
6980 proc newVkExportMemoryAllocateInfoNV*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalMemoryHandleTypeFlagsNV): VkExportMemoryAllocateInfoNV =
6981 result.sType = sType
6982 result.pNext = pNext
6983 result.handleTypes = handleTypes
6984
6985 proc newVkImportMemoryWin32HandleInfoNV*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalMemoryHandleTypeFlagsNV, handle: HANDLE): VkImportMemoryWin32HandleInfoNV =
6986 result.sType = sType
6987 result.pNext = pNext
6988 result.handleType = handleType
6989 result.handle = handle
6990
6991 proc newVkExportMemoryWin32HandleInfoNV*(sType: VkStructureType, pNext: pointer = nil, pAttributes: ptr SECURITY_ATTRIBUTES, dwAccess: DWORD): VkExportMemoryWin32HandleInfoNV =
6992 result.sType = sType
6993 result.pNext = pNext
6994 result.pAttributes = pAttributes
6995 result.dwAccess = dwAccess
6996
6997 proc newVkWin32KeyedMutexAcquireReleaseInfoNV*(sType: VkStructureType, pNext: pointer = nil, acquireCount: uint32, pAcquireSyncs: ptr VkDeviceMemory, pAcquireKeys: ptr uint64, pAcquireTimeoutMilliseconds: ptr uint32, releaseCount: uint32, pReleaseSyncs: ptr VkDeviceMemory, pReleaseKeys: ptr uint64): VkWin32KeyedMutexAcquireReleaseInfoNV =
6998 result.sType = sType
6999 result.pNext = pNext
7000 result.acquireCount = acquireCount
7001 result.pAcquireSyncs = pAcquireSyncs
7002 result.pAcquireKeys = pAcquireKeys
7003 result.pAcquireTimeoutMilliseconds = pAcquireTimeoutMilliseconds
7004 result.releaseCount = releaseCount
7005 result.pReleaseSyncs = pReleaseSyncs
7006 result.pReleaseKeys = pReleaseKeys
7007
7008 proc newVkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, deviceGeneratedCommands: VkBool32): VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV =
7009 result.sType = sType
7010 result.pNext = pNext
7011 result.deviceGeneratedCommands = deviceGeneratedCommands
7012
7013 proc newVkDevicePrivateDataCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, privateDataSlotRequestCount: uint32): VkDevicePrivateDataCreateInfoEXT =
7014 result.sType = sType
7015 result.pNext = pNext
7016 result.privateDataSlotRequestCount = privateDataSlotRequestCount
7017
7018 proc newVkPrivateDataSlotCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkPrivateDataSlotCreateFlagsEXT = 0.VkPrivateDataSlotCreateFlagsEXT): VkPrivateDataSlotCreateInfoEXT =
7019 result.sType = sType
7020 result.pNext = pNext
7021 result.flags = flags
7022
7023 proc newVkPhysicalDevicePrivateDataFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, privateData: VkBool32): VkPhysicalDevicePrivateDataFeaturesEXT =
7024 result.sType = sType
7025 result.pNext = pNext
7026 result.privateData = privateData
7027
7028 proc newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, maxGraphicsShaderGroupCount: uint32, maxIndirectSequenceCount: uint32, maxIndirectCommandsTokenCount: uint32, maxIndirectCommandsStreamCount: uint32, maxIndirectCommandsTokenOffset: uint32, maxIndirectCommandsStreamStride: uint32, minSequencesCountBufferOffsetAlignment: uint32, minSequencesIndexBufferOffsetAlignment: uint32, minIndirectCommandsBufferOffsetAlignment: uint32): VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV =
7029 result.sType = sType
7030 result.pNext = pNext
7031 result.maxGraphicsShaderGroupCount = maxGraphicsShaderGroupCount
7032 result.maxIndirectSequenceCount = maxIndirectSequenceCount
7033 result.maxIndirectCommandsTokenCount = maxIndirectCommandsTokenCount
7034 result.maxIndirectCommandsStreamCount = maxIndirectCommandsStreamCount
7035 result.maxIndirectCommandsTokenOffset = maxIndirectCommandsTokenOffset
7036 result.maxIndirectCommandsStreamStride = maxIndirectCommandsStreamStride
7037 result.minSequencesCountBufferOffsetAlignment = minSequencesCountBufferOffsetAlignment
7038 result.minSequencesIndexBufferOffsetAlignment = minSequencesIndexBufferOffsetAlignment
7039 result.minIndirectCommandsBufferOffsetAlignment = minIndirectCommandsBufferOffsetAlignment
7040
7041 proc newVkGraphicsShaderGroupCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, stageCount: uint32, pStages: ptr VkPipelineShaderStageCreateInfo, pVertexInputState: ptr VkPipelineVertexInputStateCreateInfo, pTessellationState: ptr VkPipelineTessellationStateCreateInfo): VkGraphicsShaderGroupCreateInfoNV =
7042 result.sType = sType
7043 result.pNext = pNext
7044 result.stageCount = stageCount
7045 result.pStages = pStages
7046 result.pVertexInputState = pVertexInputState
7047 result.pTessellationState = pTessellationState
7048
7049 proc newVkGraphicsPipelineShaderGroupsCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, groupCount: uint32, pGroups: ptr VkGraphicsShaderGroupCreateInfoNV, pipelineCount: uint32, pPipelines: ptr VkPipeline): VkGraphicsPipelineShaderGroupsCreateInfoNV =
7050 result.sType = sType
7051 result.pNext = pNext
7052 result.groupCount = groupCount
7053 result.pGroups = pGroups
7054 result.pipelineCount = pipelineCount
7055 result.pPipelines = pPipelines
7056
7057 proc newVkBindShaderGroupIndirectCommandNV*(groupIndex: uint32): VkBindShaderGroupIndirectCommandNV =
7058 result.groupIndex = groupIndex
7059
7060 proc newVkBindIndexBufferIndirectCommandNV*(bufferAddress: VkDeviceAddress, size: uint32, indexType: VkIndexType): VkBindIndexBufferIndirectCommandNV =
7061 result.bufferAddress = bufferAddress
7062 result.size = size
7063 result.indexType = indexType
7064
7065 proc newVkBindVertexBufferIndirectCommandNV*(bufferAddress: VkDeviceAddress, size: uint32, stride: uint32): VkBindVertexBufferIndirectCommandNV =
7066 result.bufferAddress = bufferAddress
7067 result.size = size
7068 result.stride = stride
7069
7070 proc newVkSetStateFlagsIndirectCommandNV*(data: uint32): VkSetStateFlagsIndirectCommandNV =
7071 result.data = data
7072
7073 proc newVkIndirectCommandsStreamNV*(buffer: VkBuffer, offset: VkDeviceSize): VkIndirectCommandsStreamNV =
7074 result.buffer = buffer
7075 result.offset = offset
7076
7077 proc newVkIndirectCommandsLayoutTokenNV*(sType: VkStructureType, pNext: pointer = nil, tokenType: VkIndirectCommandsTokenTypeNV, stream: uint32, offset: uint32, vertexBindingUnit: uint32, vertexDynamicStride: VkBool32, pushconstantPipelineLayout: VkPipelineLayout, pushconstantShaderStageFlags: VkShaderStageFlags, pushconstantOffset: uint32, pushconstantSize: uint32, indirectStateFlags: VkIndirectStateFlagsNV, indexTypeCount: uint32, pIndexTypes: ptr VkIndexType, pIndexTypeValues: ptr uint32): VkIndirectCommandsLayoutTokenNV =
7078 result.sType = sType
7079 result.pNext = pNext
7080 result.tokenType = tokenType
7081 result.stream = stream
7082 result.offset = offset
7083 result.vertexBindingUnit = vertexBindingUnit
7084 result.vertexDynamicStride = vertexDynamicStride
7085 result.pushconstantPipelineLayout = pushconstantPipelineLayout
7086 result.pushconstantShaderStageFlags = pushconstantShaderStageFlags
7087 result.pushconstantOffset = pushconstantOffset
7088 result.pushconstantSize = pushconstantSize
7089 result.indirectStateFlags = indirectStateFlags
7090 result.indexTypeCount = indexTypeCount
7091 result.pIndexTypes = pIndexTypes
7092 result.pIndexTypeValues = pIndexTypeValues
7093
7094 proc newVkIndirectCommandsLayoutCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkIndirectCommandsLayoutUsageFlagsNV = 0.VkIndirectCommandsLayoutUsageFlagsNV, pipelineBindPoint: VkPipelineBindPoint, tokenCount: uint32, pTokens: ptr VkIndirectCommandsLayoutTokenNV, streamCount: uint32, pStreamStrides: ptr uint32): VkIndirectCommandsLayoutCreateInfoNV =
7095 result.sType = sType
7096 result.pNext = pNext
7097 result.flags = flags
7098 result.pipelineBindPoint = pipelineBindPoint
7099 result.tokenCount = tokenCount
7100 result.pTokens = pTokens
7101 result.streamCount = streamCount
7102 result.pStreamStrides = pStreamStrides
7103
7104 proc newVkGeneratedCommandsInfoNV*(sType: VkStructureType, pNext: pointer = nil, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline, indirectCommandsLayout: VkIndirectCommandsLayoutNV, streamCount: uint32, pStreams: ptr VkIndirectCommandsStreamNV, sequencesCount: uint32, preprocessBuffer: VkBuffer, preprocessOffset: VkDeviceSize, preprocessSize: VkDeviceSize, sequencesCountBuffer: VkBuffer, sequencesCountOffset: VkDeviceSize, sequencesIndexBuffer: VkBuffer, sequencesIndexOffset: VkDeviceSize): VkGeneratedCommandsInfoNV =
7105 result.sType = sType
7106 result.pNext = pNext
7107 result.pipelineBindPoint = pipelineBindPoint
7108 result.pipeline = pipeline
7109 result.indirectCommandsLayout = indirectCommandsLayout
7110 result.streamCount = streamCount
7111 result.pStreams = pStreams
7112 result.sequencesCount = sequencesCount
7113 result.preprocessBuffer = preprocessBuffer
7114 result.preprocessOffset = preprocessOffset
7115 result.preprocessSize = preprocessSize
7116 result.sequencesCountBuffer = sequencesCountBuffer
7117 result.sequencesCountOffset = sequencesCountOffset
7118 result.sequencesIndexBuffer = sequencesIndexBuffer
7119 result.sequencesIndexOffset = sequencesIndexOffset
7120
7121 proc newVkGeneratedCommandsMemoryRequirementsInfoNV*(sType: VkStructureType, pNext: pointer = nil, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline, indirectCommandsLayout: VkIndirectCommandsLayoutNV, maxSequencesCount: uint32): VkGeneratedCommandsMemoryRequirementsInfoNV =
7122 result.sType = sType
7123 result.pNext = pNext
7124 result.pipelineBindPoint = pipelineBindPoint
7125 result.pipeline = pipeline
7126 result.indirectCommandsLayout = indirectCommandsLayout
7127 result.maxSequencesCount = maxSequencesCount
7128
7129 proc newVkPhysicalDeviceFeatures2*(sType: VkStructureType, pNext: pointer = nil, features: VkPhysicalDeviceFeatures): VkPhysicalDeviceFeatures2 =
7130 result.sType = sType
7131 result.pNext = pNext
7132 result.features = features
7133
7134 proc newVkPhysicalDeviceProperties2*(sType: VkStructureType, pNext: pointer = nil, properties: VkPhysicalDeviceProperties): VkPhysicalDeviceProperties2 =
7135 result.sType = sType
7136 result.pNext = pNext
7137 result.properties = properties
7138
7139 proc newVkFormatProperties2*(sType: VkStructureType, pNext: pointer = nil, formatProperties: VkFormatProperties): VkFormatProperties2 =
7140 result.sType = sType
7141 result.pNext = pNext
7142 result.formatProperties = formatProperties
7143
7144 proc newVkImageFormatProperties2*(sType: VkStructureType, pNext: pointer = nil, imageFormatProperties: VkImageFormatProperties): VkImageFormatProperties2 =
7145 result.sType = sType
7146 result.pNext = pNext
7147 result.imageFormatProperties = imageFormatProperties
7148
7149 proc newVkPhysicalDeviceImageFormatInfo2*(sType: VkStructureType, pNext: pointer = nil, format: VkFormat, `type`: VkImageType, tiling: VkImageTiling, usage: VkImageUsageFlags, flags: VkImageCreateFlags = 0.VkImageCreateFlags): VkPhysicalDeviceImageFormatInfo2 =
7150 result.sType = sType
7151 result.pNext = pNext
7152 result.format = format
7153 result.`type` = `type`
7154 result.tiling = tiling
7155 result.usage = usage
7156 result.flags = flags
7157
7158 proc newVkQueueFamilyProperties2*(sType: VkStructureType, pNext: pointer = nil, queueFamilyProperties: VkQueueFamilyProperties): VkQueueFamilyProperties2 =
7159 result.sType = sType
7160 result.pNext = pNext
7161 result.queueFamilyProperties = queueFamilyProperties
7162
7163 proc newVkPhysicalDeviceMemoryProperties2*(sType: VkStructureType, pNext: pointer = nil, memoryProperties: VkPhysicalDeviceMemoryProperties): VkPhysicalDeviceMemoryProperties2 =
7164 result.sType = sType
7165 result.pNext = pNext
7166 result.memoryProperties = memoryProperties
7167
7168 proc newVkSparseImageFormatProperties2*(sType: VkStructureType, pNext: pointer = nil, properties: VkSparseImageFormatProperties): VkSparseImageFormatProperties2 =
7169 result.sType = sType
7170 result.pNext = pNext
7171 result.properties = properties
7172
7173 proc newVkPhysicalDeviceSparseImageFormatInfo2*(sType: VkStructureType, pNext: pointer = nil, format: VkFormat, `type`: VkImageType, samples: VkSampleCountFlagBits, usage: VkImageUsageFlags, tiling: VkImageTiling): VkPhysicalDeviceSparseImageFormatInfo2 =
7174 result.sType = sType
7175 result.pNext = pNext
7176 result.format = format
7177 result.`type` = `type`
7178 result.samples = samples
7179 result.usage = usage
7180 result.tiling = tiling
7181
7182 proc newVkPhysicalDevicePushDescriptorPropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, maxPushDescriptors: uint32): VkPhysicalDevicePushDescriptorPropertiesKHR =
7183 result.sType = sType
7184 result.pNext = pNext
7185 result.maxPushDescriptors = maxPushDescriptors
7186
7187 proc newVkConformanceVersion*(major: uint8, minor: uint8, subminor: uint8, patch: uint8): VkConformanceVersion =
7188 result.major = major
7189 result.minor = minor
7190 result.subminor = subminor
7191 result.patch = patch
7192
7193 proc newVkPhysicalDeviceDriverProperties*(sType: VkStructureType, pNext: pointer = nil, driverID: VkDriverId, driverName: array[VK_MAX_DRIVER_NAME_SIZE, char], driverInfo: array[VK_MAX_DRIVER_INFO_SIZE, char], conformanceVersion: VkConformanceVersion): VkPhysicalDeviceDriverProperties =
7194 result.sType = sType
7195 result.pNext = pNext
7196 result.driverID = driverID
7197 result.driverName = driverName
7198 result.driverInfo = driverInfo
7199 result.conformanceVersion = conformanceVersion
7200
7201 proc newVkPresentRegionsKHR*(sType: VkStructureType, pNext: pointer = nil, swapchainCount: uint32, pRegions: ptr VkPresentRegionKHR): VkPresentRegionsKHR =
7202 result.sType = sType
7203 result.pNext = pNext
7204 result.swapchainCount = swapchainCount
7205 result.pRegions = pRegions
7206
7207 proc newVkPresentRegionKHR*(rectangleCount: uint32, pRectangles: ptr VkRectLayerKHR): VkPresentRegionKHR =
7208 result.rectangleCount = rectangleCount
7209 result.pRectangles = pRectangles
7210
7211 proc newVkRectLayerKHR*(offset: VkOffset2D, extent: VkExtent2D, layer: uint32): VkRectLayerKHR =
7212 result.offset = offset
7213 result.extent = extent
7214 result.layer = layer
7215
7216 proc newVkPhysicalDeviceVariablePointersFeatures*(sType: VkStructureType, pNext: pointer = nil, variablePointersStorageBuffer: VkBool32, variablePointers: VkBool32): VkPhysicalDeviceVariablePointersFeatures =
7217 result.sType = sType
7218 result.pNext = pNext
7219 result.variablePointersStorageBuffer = variablePointersStorageBuffer
7220 result.variablePointers = variablePointers
7221
7222 proc newVkExternalMemoryProperties*(externalMemoryFeatures: VkExternalMemoryFeatureFlags, exportFromImportedHandleTypes: VkExternalMemoryHandleTypeFlags, compatibleHandleTypes: VkExternalMemoryHandleTypeFlags): VkExternalMemoryProperties =
7223 result.externalMemoryFeatures = externalMemoryFeatures
7224 result.exportFromImportedHandleTypes = exportFromImportedHandleTypes
7225 result.compatibleHandleTypes = compatibleHandleTypes
7226
7227 proc newVkPhysicalDeviceExternalImageFormatInfo*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalMemoryHandleTypeFlagBits): VkPhysicalDeviceExternalImageFormatInfo =
7228 result.sType = sType
7229 result.pNext = pNext
7230 result.handleType = handleType
7231
7232 proc newVkExternalImageFormatProperties*(sType: VkStructureType, pNext: pointer = nil, externalMemoryProperties: VkExternalMemoryProperties): VkExternalImageFormatProperties =
7233 result.sType = sType
7234 result.pNext = pNext
7235 result.externalMemoryProperties = externalMemoryProperties
7236
7237 proc newVkPhysicalDeviceExternalBufferInfo*(sType: VkStructureType, pNext: pointer = nil, flags: VkBufferCreateFlags = 0.VkBufferCreateFlags, usage: VkBufferUsageFlags, handleType: VkExternalMemoryHandleTypeFlagBits): VkPhysicalDeviceExternalBufferInfo =
7238 result.sType = sType
7239 result.pNext = pNext
7240 result.flags = flags
7241 result.usage = usage
7242 result.handleType = handleType
7243
7244 proc newVkExternalBufferProperties*(sType: VkStructureType, pNext: pointer = nil, externalMemoryProperties: VkExternalMemoryProperties): VkExternalBufferProperties =
7245 result.sType = sType
7246 result.pNext = pNext
7247 result.externalMemoryProperties = externalMemoryProperties
7248
7249 proc newVkPhysicalDeviceIDProperties*(sType: VkStructureType, pNext: pointer = nil, deviceUUID: array[VK_UUID_SIZE, uint8], driverUUID: array[VK_UUID_SIZE, uint8], deviceLUID: array[VK_LUID_SIZE, uint8], deviceNodeMask: uint32, deviceLUIDValid: VkBool32): VkPhysicalDeviceIDProperties =
7250 result.sType = sType
7251 result.pNext = pNext
7252 result.deviceUUID = deviceUUID
7253 result.driverUUID = driverUUID
7254 result.deviceLUID = deviceLUID
7255 result.deviceNodeMask = deviceNodeMask
7256 result.deviceLUIDValid = deviceLUIDValid
7257
7258 proc newVkExternalMemoryImageCreateInfo*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalMemoryHandleTypeFlags): VkExternalMemoryImageCreateInfo =
7259 result.sType = sType
7260 result.pNext = pNext
7261 result.handleTypes = handleTypes
7262
7263 proc newVkExternalMemoryBufferCreateInfo*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalMemoryHandleTypeFlags): VkExternalMemoryBufferCreateInfo =
7264 result.sType = sType
7265 result.pNext = pNext
7266 result.handleTypes = handleTypes
7267
7268 proc newVkExportMemoryAllocateInfo*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalMemoryHandleTypeFlags): VkExportMemoryAllocateInfo =
7269 result.sType = sType
7270 result.pNext = pNext
7271 result.handleTypes = handleTypes
7272
7273 proc newVkImportMemoryWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalMemoryHandleTypeFlagBits, handle: HANDLE, name: LPCWSTR): VkImportMemoryWin32HandleInfoKHR =
7274 result.sType = sType
7275 result.pNext = pNext
7276 result.handleType = handleType
7277 result.handle = handle
7278 result.name = name
7279
7280 proc newVkExportMemoryWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, pAttributes: ptr SECURITY_ATTRIBUTES, dwAccess: DWORD, name: LPCWSTR): VkExportMemoryWin32HandleInfoKHR =
7281 result.sType = sType
7282 result.pNext = pNext
7283 result.pAttributes = pAttributes
7284 result.dwAccess = dwAccess
7285 result.name = name
7286
7287 proc newVkMemoryWin32HandlePropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, memoryTypeBits: uint32): VkMemoryWin32HandlePropertiesKHR =
7288 result.sType = sType
7289 result.pNext = pNext
7290 result.memoryTypeBits = memoryTypeBits
7291
7292 proc newVkMemoryGetWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, memory: VkDeviceMemory, handleType: VkExternalMemoryHandleTypeFlagBits): VkMemoryGetWin32HandleInfoKHR =
7293 result.sType = sType
7294 result.pNext = pNext
7295 result.memory = memory
7296 result.handleType = handleType
7297
7298 proc newVkImportMemoryFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalMemoryHandleTypeFlagBits, fd: int): VkImportMemoryFdInfoKHR =
7299 result.sType = sType
7300 result.pNext = pNext
7301 result.handleType = handleType
7302 result.fd = fd
7303
7304 proc newVkMemoryFdPropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, memoryTypeBits: uint32): VkMemoryFdPropertiesKHR =
7305 result.sType = sType
7306 result.pNext = pNext
7307 result.memoryTypeBits = memoryTypeBits
7308
7309 proc newVkMemoryGetFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, memory: VkDeviceMemory, handleType: VkExternalMemoryHandleTypeFlagBits): VkMemoryGetFdInfoKHR =
7310 result.sType = sType
7311 result.pNext = pNext
7312 result.memory = memory
7313 result.handleType = handleType
7314
7315 proc newVkWin32KeyedMutexAcquireReleaseInfoKHR*(sType: VkStructureType, pNext: pointer = nil, acquireCount: uint32, pAcquireSyncs: ptr VkDeviceMemory, pAcquireKeys: ptr uint64, pAcquireTimeouts: ptr uint32, releaseCount: uint32, pReleaseSyncs: ptr VkDeviceMemory, pReleaseKeys: ptr uint64): VkWin32KeyedMutexAcquireReleaseInfoKHR =
7316 result.sType = sType
7317 result.pNext = pNext
7318 result.acquireCount = acquireCount
7319 result.pAcquireSyncs = pAcquireSyncs
7320 result.pAcquireKeys = pAcquireKeys
7321 result.pAcquireTimeouts = pAcquireTimeouts
7322 result.releaseCount = releaseCount
7323 result.pReleaseSyncs = pReleaseSyncs
7324 result.pReleaseKeys = pReleaseKeys
7325
7326 proc newVkPhysicalDeviceExternalSemaphoreInfo*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalSemaphoreHandleTypeFlagBits): VkPhysicalDeviceExternalSemaphoreInfo =
7327 result.sType = sType
7328 result.pNext = pNext
7329 result.handleType = handleType
7330
7331 proc newVkExternalSemaphoreProperties*(sType: VkStructureType, pNext: pointer = nil, exportFromImportedHandleTypes: VkExternalSemaphoreHandleTypeFlags, compatibleHandleTypes: VkExternalSemaphoreHandleTypeFlags, externalSemaphoreFeatures: VkExternalSemaphoreFeatureFlags): VkExternalSemaphoreProperties =
7332 result.sType = sType
7333 result.pNext = pNext
7334 result.exportFromImportedHandleTypes = exportFromImportedHandleTypes
7335 result.compatibleHandleTypes = compatibleHandleTypes
7336 result.externalSemaphoreFeatures = externalSemaphoreFeatures
7337
7338 proc newVkExportSemaphoreCreateInfo*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalSemaphoreHandleTypeFlags): VkExportSemaphoreCreateInfo =
7339 result.sType = sType
7340 result.pNext = pNext
7341 result.handleTypes = handleTypes
7342
7343 proc newVkImportSemaphoreWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, semaphore: VkSemaphore, flags: VkSemaphoreImportFlags = 0.VkSemaphoreImportFlags, handleType: VkExternalSemaphoreHandleTypeFlagBits, handle: HANDLE, name: LPCWSTR): VkImportSemaphoreWin32HandleInfoKHR =
7344 result.sType = sType
7345 result.pNext = pNext
7346 result.semaphore = semaphore
7347 result.flags = flags
7348 result.handleType = handleType
7349 result.handle = handle
7350 result.name = name
7351
7352 proc newVkExportSemaphoreWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, pAttributes: ptr SECURITY_ATTRIBUTES, dwAccess: DWORD, name: LPCWSTR): VkExportSemaphoreWin32HandleInfoKHR =
7353 result.sType = sType
7354 result.pNext = pNext
7355 result.pAttributes = pAttributes
7356 result.dwAccess = dwAccess
7357 result.name = name
7358
7359 proc newVkD3D12FenceSubmitInfoKHR*(sType: VkStructureType, pNext: pointer = nil, waitSemaphoreValuesCount: uint32, pWaitSemaphoreValues: ptr uint64, signalSemaphoreValuesCount: uint32, pSignalSemaphoreValues: ptr uint64): VkD3D12FenceSubmitInfoKHR =
7360 result.sType = sType
7361 result.pNext = pNext
7362 result.waitSemaphoreValuesCount = waitSemaphoreValuesCount
7363 result.pWaitSemaphoreValues = pWaitSemaphoreValues
7364 result.signalSemaphoreValuesCount = signalSemaphoreValuesCount
7365 result.pSignalSemaphoreValues = pSignalSemaphoreValues
7366
7367 proc newVkSemaphoreGetWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, semaphore: VkSemaphore, handleType: VkExternalSemaphoreHandleTypeFlagBits): VkSemaphoreGetWin32HandleInfoKHR =
7368 result.sType = sType
7369 result.pNext = pNext
7370 result.semaphore = semaphore
7371 result.handleType = handleType
7372
7373 proc newVkImportSemaphoreFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, semaphore: VkSemaphore, flags: VkSemaphoreImportFlags = 0.VkSemaphoreImportFlags, handleType: VkExternalSemaphoreHandleTypeFlagBits, fd: int): VkImportSemaphoreFdInfoKHR =
7374 result.sType = sType
7375 result.pNext = pNext
7376 result.semaphore = semaphore
7377 result.flags = flags
7378 result.handleType = handleType
7379 result.fd = fd
7380
7381 proc newVkSemaphoreGetFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, semaphore: VkSemaphore, handleType: VkExternalSemaphoreHandleTypeFlagBits): VkSemaphoreGetFdInfoKHR =
7382 result.sType = sType
7383 result.pNext = pNext
7384 result.semaphore = semaphore
7385 result.handleType = handleType
7386
7387 proc newVkPhysicalDeviceExternalFenceInfo*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalFenceHandleTypeFlagBits): VkPhysicalDeviceExternalFenceInfo =
7388 result.sType = sType
7389 result.pNext = pNext
7390 result.handleType = handleType
7391
7392 proc newVkExternalFenceProperties*(sType: VkStructureType, pNext: pointer = nil, exportFromImportedHandleTypes: VkExternalFenceHandleTypeFlags, compatibleHandleTypes: VkExternalFenceHandleTypeFlags, externalFenceFeatures: VkExternalFenceFeatureFlags): VkExternalFenceProperties =
7393 result.sType = sType
7394 result.pNext = pNext
7395 result.exportFromImportedHandleTypes = exportFromImportedHandleTypes
7396 result.compatibleHandleTypes = compatibleHandleTypes
7397 result.externalFenceFeatures = externalFenceFeatures
7398
7399 proc newVkExportFenceCreateInfo*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalFenceHandleTypeFlags): VkExportFenceCreateInfo =
7400 result.sType = sType
7401 result.pNext = pNext
7402 result.handleTypes = handleTypes
7403
7404 proc newVkImportFenceWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, fence: VkFence, flags: VkFenceImportFlags = 0.VkFenceImportFlags, handleType: VkExternalFenceHandleTypeFlagBits, handle: HANDLE, name: LPCWSTR): VkImportFenceWin32HandleInfoKHR =
7405 result.sType = sType
7406 result.pNext = pNext
7407 result.fence = fence
7408 result.flags = flags
7409 result.handleType = handleType
7410 result.handle = handle
7411 result.name = name
7412
7413 proc newVkExportFenceWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, pAttributes: ptr SECURITY_ATTRIBUTES, dwAccess: DWORD, name: LPCWSTR): VkExportFenceWin32HandleInfoKHR =
7414 result.sType = sType
7415 result.pNext = pNext
7416 result.pAttributes = pAttributes
7417 result.dwAccess = dwAccess
7418 result.name = name
7419
7420 proc newVkFenceGetWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, fence: VkFence, handleType: VkExternalFenceHandleTypeFlagBits): VkFenceGetWin32HandleInfoKHR =
7421 result.sType = sType
7422 result.pNext = pNext
7423 result.fence = fence
7424 result.handleType = handleType
7425
7426 proc newVkImportFenceFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, fence: VkFence, flags: VkFenceImportFlags = 0.VkFenceImportFlags, handleType: VkExternalFenceHandleTypeFlagBits, fd: int): VkImportFenceFdInfoKHR =
7427 result.sType = sType
7428 result.pNext = pNext
7429 result.fence = fence
7430 result.flags = flags
7431 result.handleType = handleType
7432 result.fd = fd
7433
7434 proc newVkFenceGetFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, fence: VkFence, handleType: VkExternalFenceHandleTypeFlagBits): VkFenceGetFdInfoKHR =
7435 result.sType = sType
7436 result.pNext = pNext
7437 result.fence = fence
7438 result.handleType = handleType
7439
7440 proc newVkPhysicalDeviceMultiviewFeatures*(sType: VkStructureType, pNext: pointer = nil, multiview: VkBool32, multiviewGeometryShader: VkBool32, multiviewTessellationShader: VkBool32): VkPhysicalDeviceMultiviewFeatures =
7441 result.sType = sType
7442 result.pNext = pNext
7443 result.multiview = multiview
7444 result.multiviewGeometryShader = multiviewGeometryShader
7445 result.multiviewTessellationShader = multiviewTessellationShader
7446
7447 proc newVkPhysicalDeviceMultiviewProperties*(sType: VkStructureType, pNext: pointer = nil, maxMultiviewViewCount: uint32, maxMultiviewInstanceIndex: uint32): VkPhysicalDeviceMultiviewProperties =
7448 result.sType = sType
7449 result.pNext = pNext
7450 result.maxMultiviewViewCount = maxMultiviewViewCount
7451 result.maxMultiviewInstanceIndex = maxMultiviewInstanceIndex
7452
7453 proc newVkRenderPassMultiviewCreateInfo*(sType: VkStructureType, pNext: pointer = nil, subpassCount: uint32, pViewMasks: ptr uint32, dependencyCount: uint32, pViewOffsets: ptr int32, correlationMaskCount: uint32, pCorrelationMasks: ptr uint32): VkRenderPassMultiviewCreateInfo =
7454 result.sType = sType
7455 result.pNext = pNext
7456 result.subpassCount = subpassCount
7457 result.pViewMasks = pViewMasks
7458 result.dependencyCount = dependencyCount
7459 result.pViewOffsets = pViewOffsets
7460 result.correlationMaskCount = correlationMaskCount
7461 result.pCorrelationMasks = pCorrelationMasks
7462
7463 proc newVkSurfaceCapabilities2EXT*(sType: VkStructureType, pNext: pointer = nil, minImageCount: uint32, maxImageCount: uint32, currentExtent: VkExtent2D, minImageExtent: VkExtent2D, maxImageExtent: VkExtent2D, maxImageArrayLayers: uint32, supportedTransforms: VkSurfaceTransformFlagsKHR, currentTransform: VkSurfaceTransformFlagBitsKHR, supportedCompositeAlpha: VkCompositeAlphaFlagsKHR, supportedUsageFlags: VkImageUsageFlags, supportedSurfaceCounters: VkSurfaceCounterFlagsEXT): VkSurfaceCapabilities2EXT =
7464 result.sType = sType
7465 result.pNext = pNext
7466 result.minImageCount = minImageCount
7467 result.maxImageCount = maxImageCount
7468 result.currentExtent = currentExtent
7469 result.minImageExtent = minImageExtent
7470 result.maxImageExtent = maxImageExtent
7471 result.maxImageArrayLayers = maxImageArrayLayers
7472 result.supportedTransforms = supportedTransforms
7473 result.currentTransform = currentTransform
7474 result.supportedCompositeAlpha = supportedCompositeAlpha
7475 result.supportedUsageFlags = supportedUsageFlags
7476 result.supportedSurfaceCounters = supportedSurfaceCounters
7477
7478 proc newVkDisplayPowerInfoEXT*(sType: VkStructureType, pNext: pointer = nil, powerState: VkDisplayPowerStateEXT): VkDisplayPowerInfoEXT =
7479 result.sType = sType
7480 result.pNext = pNext
7481 result.powerState = powerState
7482
7483 proc newVkDeviceEventInfoEXT*(sType: VkStructureType, pNext: pointer = nil, deviceEvent: VkDeviceEventTypeEXT): VkDeviceEventInfoEXT =
7484 result.sType = sType
7485 result.pNext = pNext
7486 result.deviceEvent = deviceEvent
7487
7488 proc newVkDisplayEventInfoEXT*(sType: VkStructureType, pNext: pointer = nil, displayEvent: VkDisplayEventTypeEXT): VkDisplayEventInfoEXT =
7489 result.sType = sType
7490 result.pNext = pNext
7491 result.displayEvent = displayEvent
7492
7493 proc newVkSwapchainCounterCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, surfaceCounters: VkSurfaceCounterFlagsEXT): VkSwapchainCounterCreateInfoEXT =
7494 result.sType = sType
7495 result.pNext = pNext
7496 result.surfaceCounters = surfaceCounters
7497
7498 proc newVkPhysicalDeviceGroupProperties*(sType: VkStructureType, pNext: pointer = nil, physicalDeviceCount: uint32, physicalDevices: array[VK_MAX_DEVICE_GROUP_SIZE, VkPhysicalDevice], subsetAllocation: VkBool32): VkPhysicalDeviceGroupProperties =
7499 result.sType = sType
7500 result.pNext = pNext
7501 result.physicalDeviceCount = physicalDeviceCount
7502 result.physicalDevices = physicalDevices
7503 result.subsetAllocation = subsetAllocation
7504
7505 proc newVkMemoryAllocateFlagsInfo*(sType: VkStructureType, pNext: pointer = nil, flags: VkMemoryAllocateFlags = 0.VkMemoryAllocateFlags, deviceMask: uint32): VkMemoryAllocateFlagsInfo =
7506 result.sType = sType
7507 result.pNext = pNext
7508 result.flags = flags
7509 result.deviceMask = deviceMask
7510
7511 proc newVkBindBufferMemoryInfo*(sType: VkStructureType, pNext: pointer = nil, buffer: VkBuffer, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkBindBufferMemoryInfo =
7512 result.sType = sType
7513 result.pNext = pNext
7514 result.buffer = buffer
7515 result.memory = memory
7516 result.memoryOffset = memoryOffset
7517
7518 proc newVkBindBufferMemoryDeviceGroupInfo*(sType: VkStructureType, pNext: pointer = nil, deviceIndexCount: uint32, pDeviceIndices: ptr uint32): VkBindBufferMemoryDeviceGroupInfo =
7519 result.sType = sType
7520 result.pNext = pNext
7521 result.deviceIndexCount = deviceIndexCount
7522 result.pDeviceIndices = pDeviceIndices
7523
7524 proc newVkBindImageMemoryInfo*(sType: VkStructureType, pNext: pointer = nil, image: VkImage, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkBindImageMemoryInfo =
7525 result.sType = sType
7526 result.pNext = pNext
7527 result.image = image
7528 result.memory = memory
7529 result.memoryOffset = memoryOffset
7530
7531 proc newVkBindImageMemoryDeviceGroupInfo*(sType: VkStructureType, pNext: pointer = nil, deviceIndexCount: uint32, pDeviceIndices: ptr uint32, splitInstanceBindRegionCount: uint32, pSplitInstanceBindRegions: ptr VkRect2D): VkBindImageMemoryDeviceGroupInfo =
7532 result.sType = sType
7533 result.pNext = pNext
7534 result.deviceIndexCount = deviceIndexCount
7535 result.pDeviceIndices = pDeviceIndices
7536 result.splitInstanceBindRegionCount = splitInstanceBindRegionCount
7537 result.pSplitInstanceBindRegions = pSplitInstanceBindRegions
7538
7539 proc newVkDeviceGroupRenderPassBeginInfo*(sType: VkStructureType, pNext: pointer = nil, deviceMask: uint32, deviceRenderAreaCount: uint32, pDeviceRenderAreas: ptr VkRect2D): VkDeviceGroupRenderPassBeginInfo =
7540 result.sType = sType
7541 result.pNext = pNext
7542 result.deviceMask = deviceMask
7543 result.deviceRenderAreaCount = deviceRenderAreaCount
7544 result.pDeviceRenderAreas = pDeviceRenderAreas
7545
7546 proc newVkDeviceGroupCommandBufferBeginInfo*(sType: VkStructureType, pNext: pointer = nil, deviceMask: uint32): VkDeviceGroupCommandBufferBeginInfo =
7547 result.sType = sType
7548 result.pNext = pNext
7549 result.deviceMask = deviceMask
7550
7551 proc newVkDeviceGroupSubmitInfo*(sType: VkStructureType, pNext: pointer = nil, waitSemaphoreCount: uint32, pWaitSemaphoreDeviceIndices: ptr uint32, commandBufferCount: uint32, pCommandBufferDeviceMasks: ptr uint32, signalSemaphoreCount: uint32, pSignalSemaphoreDeviceIndices: ptr uint32): VkDeviceGroupSubmitInfo =
7552 result.sType = sType
7553 result.pNext = pNext
7554 result.waitSemaphoreCount = waitSemaphoreCount
7555 result.pWaitSemaphoreDeviceIndices = pWaitSemaphoreDeviceIndices
7556 result.commandBufferCount = commandBufferCount
7557 result.pCommandBufferDeviceMasks = pCommandBufferDeviceMasks
7558 result.signalSemaphoreCount = signalSemaphoreCount
7559 result.pSignalSemaphoreDeviceIndices = pSignalSemaphoreDeviceIndices
7560
7561 proc newVkDeviceGroupBindSparseInfo*(sType: VkStructureType, pNext: pointer = nil, resourceDeviceIndex: uint32, memoryDeviceIndex: uint32): VkDeviceGroupBindSparseInfo =
7562 result.sType = sType
7563 result.pNext = pNext
7564 result.resourceDeviceIndex = resourceDeviceIndex
7565 result.memoryDeviceIndex = memoryDeviceIndex
7566
7567 proc newVkDeviceGroupPresentCapabilitiesKHR*(sType: VkStructureType, pNext: pointer = nil, presentMask: array[VK_MAX_DEVICE_GROUP_SIZE, uint32], modes: VkDeviceGroupPresentModeFlagsKHR): VkDeviceGroupPresentCapabilitiesKHR =
7568 result.sType = sType
7569 result.pNext = pNext
7570 result.presentMask = presentMask
7571 result.modes = modes
7572
7573 proc newVkImageSwapchainCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, swapchain: VkSwapchainKHR): VkImageSwapchainCreateInfoKHR =
7574 result.sType = sType
7575 result.pNext = pNext
7576 result.swapchain = swapchain
7577
7578 proc newVkBindImageMemorySwapchainInfoKHR*(sType: VkStructureType, pNext: pointer = nil, swapchain: VkSwapchainKHR, imageIndex: uint32): VkBindImageMemorySwapchainInfoKHR =
7579 result.sType = sType
7580 result.pNext = pNext
7581 result.swapchain = swapchain
7582 result.imageIndex = imageIndex
7583
7584 proc newVkAcquireNextImageInfoKHR*(sType: VkStructureType, pNext: pointer = nil, swapchain: VkSwapchainKHR, timeout: uint64, semaphore: VkSemaphore, fence: VkFence, deviceMask: uint32): VkAcquireNextImageInfoKHR =
7585 result.sType = sType
7586 result.pNext = pNext
7587 result.swapchain = swapchain
7588 result.timeout = timeout
7589 result.semaphore = semaphore
7590 result.fence = fence
7591 result.deviceMask = deviceMask
7592
7593 proc newVkDeviceGroupPresentInfoKHR*(sType: VkStructureType, pNext: pointer = nil, swapchainCount: uint32, pDeviceMasks: ptr uint32, mode: VkDeviceGroupPresentModeFlagBitsKHR): VkDeviceGroupPresentInfoKHR =
7594 result.sType = sType
7595 result.pNext = pNext
7596 result.swapchainCount = swapchainCount
7597 result.pDeviceMasks = pDeviceMasks
7598 result.mode = mode
7599
7600 proc newVkDeviceGroupDeviceCreateInfo*(sType: VkStructureType, pNext: pointer = nil, physicalDeviceCount: uint32, pPhysicalDevices: ptr VkPhysicalDevice): VkDeviceGroupDeviceCreateInfo =
7601 result.sType = sType
7602 result.pNext = pNext
7603 result.physicalDeviceCount = physicalDeviceCount
7604 result.pPhysicalDevices = pPhysicalDevices
7605
7606 proc newVkDeviceGroupSwapchainCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, modes: VkDeviceGroupPresentModeFlagsKHR): VkDeviceGroupSwapchainCreateInfoKHR =
7607 result.sType = sType
7608 result.pNext = pNext
7609 result.modes = modes
7610
7611 proc newVkDescriptorUpdateTemplateEntry*(dstBinding: uint32, dstArrayElement: uint32, descriptorCount: uint32, descriptorType: VkDescriptorType, offset: uint, stride: uint): VkDescriptorUpdateTemplateEntry =
7612 result.dstBinding = dstBinding
7613 result.dstArrayElement = dstArrayElement
7614 result.descriptorCount = descriptorCount
7615 result.descriptorType = descriptorType
7616 result.offset = offset
7617 result.stride = stride
7618
7619 proc newVkDescriptorUpdateTemplateCreateInfo*(sType: VkStructureType, pNext: pointer = nil, flags: VkDescriptorUpdateTemplateCreateFlags = 0.VkDescriptorUpdateTemplateCreateFlags, descriptorUpdateEntryCount: uint32, pDescriptorUpdateEntries: ptr VkDescriptorUpdateTemplateEntry, templateType: VkDescriptorUpdateTemplateType, descriptorSetLayout: VkDescriptorSetLayout, pipelineBindPoint: VkPipelineBindPoint, pipelineLayout: VkPipelineLayout, set: uint32): VkDescriptorUpdateTemplateCreateInfo =
7620 result.sType = sType
7621 result.pNext = pNext
7622 result.flags = flags
7623 result.descriptorUpdateEntryCount = descriptorUpdateEntryCount
7624 result.pDescriptorUpdateEntries = pDescriptorUpdateEntries
7625 result.templateType = templateType
7626 result.descriptorSetLayout = descriptorSetLayout
7627 result.pipelineBindPoint = pipelineBindPoint
7628 result.pipelineLayout = pipelineLayout
7629 result.set = set
7630
7631 proc newVkXYColorEXT*(x: float32, y: float32): VkXYColorEXT =
7632 result.x = x
7633 result.y = y
7634
7635 proc newVkHdrMetadataEXT*(sType: VkStructureType, pNext: pointer = nil, displayPrimaryRed: VkXYColorEXT, displayPrimaryGreen: VkXYColorEXT, displayPrimaryBlue: VkXYColorEXT, whitePoint: VkXYColorEXT, maxLuminance: float32, minLuminance: float32, maxContentLightLevel: float32, maxFrameAverageLightLevel: float32): VkHdrMetadataEXT =
7636 result.sType = sType
7637 result.pNext = pNext
7638 result.displayPrimaryRed = displayPrimaryRed
7639 result.displayPrimaryGreen = displayPrimaryGreen
7640 result.displayPrimaryBlue = displayPrimaryBlue
7641 result.whitePoint = whitePoint
7642 result.maxLuminance = maxLuminance
7643 result.minLuminance = minLuminance
7644 result.maxContentLightLevel = maxContentLightLevel
7645 result.maxFrameAverageLightLevel = maxFrameAverageLightLevel
7646
7647 proc newVkDisplayNativeHdrSurfaceCapabilitiesAMD*(sType: VkStructureType, pNext: pointer = nil, localDimmingSupport: VkBool32): VkDisplayNativeHdrSurfaceCapabilitiesAMD =
7648 result.sType = sType
7649 result.pNext = pNext
7650 result.localDimmingSupport = localDimmingSupport
7651
7652 proc newVkSwapchainDisplayNativeHdrCreateInfoAMD*(sType: VkStructureType, pNext: pointer = nil, localDimmingEnable: VkBool32): VkSwapchainDisplayNativeHdrCreateInfoAMD =
7653 result.sType = sType
7654 result.pNext = pNext
7655 result.localDimmingEnable = localDimmingEnable
7656
7657 proc newVkRefreshCycleDurationGOOGLE*(refreshDuration: uint64): VkRefreshCycleDurationGOOGLE =
7658 result.refreshDuration = refreshDuration
7659
7660 proc newVkPastPresentationTimingGOOGLE*(presentID: uint32, desiredPresentTime: uint64, actualPresentTime: uint64, earliestPresentTime: uint64, presentMargin: uint64): VkPastPresentationTimingGOOGLE =
7661 result.presentID = presentID
7662 result.desiredPresentTime = desiredPresentTime
7663 result.actualPresentTime = actualPresentTime
7664 result.earliestPresentTime = earliestPresentTime
7665 result.presentMargin = presentMargin
7666
7667 proc newVkPresentTimesInfoGOOGLE*(sType: VkStructureType, pNext: pointer = nil, swapchainCount: uint32, pTimes: ptr VkPresentTimeGOOGLE): VkPresentTimesInfoGOOGLE =
7668 result.sType = sType
7669 result.pNext = pNext
7670 result.swapchainCount = swapchainCount
7671 result.pTimes = pTimes
7672
7673 proc newVkPresentTimeGOOGLE*(presentID: uint32, desiredPresentTime: uint64): VkPresentTimeGOOGLE =
7674 result.presentID = presentID
7675 result.desiredPresentTime = desiredPresentTime
7676
7677 proc newVkIOSSurfaceCreateInfoMVK*(sType: VkStructureType, pNext: pointer = nil, flags: VkIOSSurfaceCreateFlagsMVK = 0.VkIOSSurfaceCreateFlagsMVK, pView: pointer = nil): VkIOSSurfaceCreateInfoMVK =
7678 result.sType = sType
7679 result.pNext = pNext
7680 result.flags = flags
7681 result.pView = pView
7682
7683 proc newVkMacOSSurfaceCreateInfoMVK*(sType: VkStructureType, pNext: pointer = nil, flags: VkMacOSSurfaceCreateFlagsMVK = 0.VkMacOSSurfaceCreateFlagsMVK, pView: pointer = nil): VkMacOSSurfaceCreateInfoMVK =
7684 result.sType = sType
7685 result.pNext = pNext
7686 result.flags = flags
7687 result.pView = pView
7688
7689 proc newVkMetalSurfaceCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkMetalSurfaceCreateFlagsEXT = 0.VkMetalSurfaceCreateFlagsEXT, pLayer: ptr CAMetalLayer): VkMetalSurfaceCreateInfoEXT =
7690 result.sType = sType
7691 result.pNext = pNext
7692 result.flags = flags
7693 result.pLayer = pLayer
7694
7695 proc newVkViewportWScalingNV*(xcoeff: float32, ycoeff: float32): VkViewportWScalingNV =
7696 result.xcoeff = xcoeff
7697 result.ycoeff = ycoeff
7698
7699 proc newVkPipelineViewportWScalingStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, viewportWScalingEnable: VkBool32, viewportCount: uint32, pViewportWScalings: ptr VkViewportWScalingNV): VkPipelineViewportWScalingStateCreateInfoNV =
7700 result.sType = sType
7701 result.pNext = pNext
7702 result.viewportWScalingEnable = viewportWScalingEnable
7703 result.viewportCount = viewportCount
7704 result.pViewportWScalings = pViewportWScalings
7705
7706 proc newVkViewportSwizzleNV*(x: VkViewportCoordinateSwizzleNV, y: VkViewportCoordinateSwizzleNV, z: VkViewportCoordinateSwizzleNV, w: VkViewportCoordinateSwizzleNV): VkViewportSwizzleNV =
7707 result.x = x
7708 result.y = y
7709 result.z = z
7710 result.w = w
7711
7712 proc newVkPipelineViewportSwizzleStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineViewportSwizzleStateCreateFlagsNV = 0.VkPipelineViewportSwizzleStateCreateFlagsNV, viewportCount: uint32, pViewportSwizzles: ptr VkViewportSwizzleNV): VkPipelineViewportSwizzleStateCreateInfoNV =
7713 result.sType = sType
7714 result.pNext = pNext
7715 result.flags = flags
7716 result.viewportCount = viewportCount
7717 result.pViewportSwizzles = pViewportSwizzles
7718
7719 proc newVkPhysicalDeviceDiscardRectanglePropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxDiscardRectangles: uint32): VkPhysicalDeviceDiscardRectanglePropertiesEXT =
7720 result.sType = sType
7721 result.pNext = pNext
7722 result.maxDiscardRectangles = maxDiscardRectangles
7723
7724 proc newVkPipelineDiscardRectangleStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineDiscardRectangleStateCreateFlagsEXT = 0.VkPipelineDiscardRectangleStateCreateFlagsEXT, discardRectangleMode: VkDiscardRectangleModeEXT, discardRectangleCount: uint32, pDiscardRectangles: ptr VkRect2D): VkPipelineDiscardRectangleStateCreateInfoEXT =
7725 result.sType = sType
7726 result.pNext = pNext
7727 result.flags = flags
7728 result.discardRectangleMode = discardRectangleMode
7729 result.discardRectangleCount = discardRectangleCount
7730 result.pDiscardRectangles = pDiscardRectangles
7731
7732 proc newVkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX*(sType: VkStructureType, pNext: pointer = nil, perViewPositionAllComponents: VkBool32): VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX =
7733 result.sType = sType
7734 result.pNext = pNext
7735 result.perViewPositionAllComponents = perViewPositionAllComponents
7736
7737 proc newVkInputAttachmentAspectReference*(subpass: uint32, inputAttachmentIndex: uint32, aspectMask: VkImageAspectFlags): VkInputAttachmentAspectReference =
7738 result.subpass = subpass
7739 result.inputAttachmentIndex = inputAttachmentIndex
7740 result.aspectMask = aspectMask
7741
7742 proc newVkRenderPassInputAttachmentAspectCreateInfo*(sType: VkStructureType, pNext: pointer = nil, aspectReferenceCount: uint32, pAspectReferences: ptr VkInputAttachmentAspectReference): VkRenderPassInputAttachmentAspectCreateInfo =
7743 result.sType = sType
7744 result.pNext = pNext
7745 result.aspectReferenceCount = aspectReferenceCount
7746 result.pAspectReferences = pAspectReferences
7747
7748 proc newVkPhysicalDeviceSurfaceInfo2KHR*(sType: VkStructureType, pNext: pointer = nil, surface: VkSurfaceKHR): VkPhysicalDeviceSurfaceInfo2KHR =
7749 result.sType = sType
7750 result.pNext = pNext
7751 result.surface = surface
7752
7753 proc newVkSurfaceCapabilities2KHR*(sType: VkStructureType, pNext: pointer = nil, surfaceCapabilities: VkSurfaceCapabilitiesKHR): VkSurfaceCapabilities2KHR =
7754 result.sType = sType
7755 result.pNext = pNext
7756 result.surfaceCapabilities = surfaceCapabilities
7757
7758 proc newVkSurfaceFormat2KHR*(sType: VkStructureType, pNext: pointer = nil, surfaceFormat: VkSurfaceFormatKHR): VkSurfaceFormat2KHR =
7759 result.sType = sType
7760 result.pNext = pNext
7761 result.surfaceFormat = surfaceFormat
7762
7763 proc newVkDisplayProperties2KHR*(sType: VkStructureType, pNext: pointer = nil, displayProperties: VkDisplayPropertiesKHR): VkDisplayProperties2KHR =
7764 result.sType = sType
7765 result.pNext = pNext
7766 result.displayProperties = displayProperties
7767
7768 proc newVkDisplayPlaneProperties2KHR*(sType: VkStructureType, pNext: pointer = nil, displayPlaneProperties: VkDisplayPlanePropertiesKHR): VkDisplayPlaneProperties2KHR =
7769 result.sType = sType
7770 result.pNext = pNext
7771 result.displayPlaneProperties = displayPlaneProperties
7772
7773 proc newVkDisplayModeProperties2KHR*(sType: VkStructureType, pNext: pointer = nil, displayModeProperties: VkDisplayModePropertiesKHR): VkDisplayModeProperties2KHR =
7774 result.sType = sType
7775 result.pNext = pNext
7776 result.displayModeProperties = displayModeProperties
7777
7778 proc newVkDisplayPlaneInfo2KHR*(sType: VkStructureType, pNext: pointer = nil, mode: VkDisplayModeKHR, planeIndex: uint32): VkDisplayPlaneInfo2KHR =
7779 result.sType = sType
7780 result.pNext = pNext
7781 result.mode = mode
7782 result.planeIndex = planeIndex
7783
7784 proc newVkDisplayPlaneCapabilities2KHR*(sType: VkStructureType, pNext: pointer = nil, capabilities: VkDisplayPlaneCapabilitiesKHR): VkDisplayPlaneCapabilities2KHR =
7785 result.sType = sType
7786 result.pNext = pNext
7787 result.capabilities = capabilities
7788
7789 proc newVkSharedPresentSurfaceCapabilitiesKHR*(sType: VkStructureType, pNext: pointer = nil, sharedPresentSupportedUsageFlags: VkImageUsageFlags): VkSharedPresentSurfaceCapabilitiesKHR =
7790 result.sType = sType
7791 result.pNext = pNext
7792 result.sharedPresentSupportedUsageFlags = sharedPresentSupportedUsageFlags
7793
7794 proc newVkPhysicalDevice16BitStorageFeatures*(sType: VkStructureType, pNext: pointer = nil, storageBuffer16BitAccess: VkBool32, uniformAndStorageBuffer16BitAccess: VkBool32, storagePushConstant16: VkBool32, storageInputOutput16: VkBool32): VkPhysicalDevice16BitStorageFeatures =
7795 result.sType = sType
7796 result.pNext = pNext
7797 result.storageBuffer16BitAccess = storageBuffer16BitAccess
7798 result.uniformAndStorageBuffer16BitAccess = uniformAndStorageBuffer16BitAccess
7799 result.storagePushConstant16 = storagePushConstant16
7800 result.storageInputOutput16 = storageInputOutput16
7801
7802 proc newVkPhysicalDeviceSubgroupProperties*(sType: VkStructureType, pNext: pointer = nil, subgroupSize: uint32, supportedStages: VkShaderStageFlags, supportedOperations: VkSubgroupFeatureFlags, quadOperationsInAllStages: VkBool32): VkPhysicalDeviceSubgroupProperties =
7803 result.sType = sType
7804 result.pNext = pNext
7805 result.subgroupSize = subgroupSize
7806 result.supportedStages = supportedStages
7807 result.supportedOperations = supportedOperations
7808 result.quadOperationsInAllStages = quadOperationsInAllStages
7809
7810 proc newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures*(sType: VkStructureType, pNext: pointer = nil, shaderSubgroupExtendedTypes: VkBool32): VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures =
7811 result.sType = sType
7812 result.pNext = pNext
7813 result.shaderSubgroupExtendedTypes = shaderSubgroupExtendedTypes
7814
7815 proc newVkBufferMemoryRequirementsInfo2*(sType: VkStructureType, pNext: pointer = nil, buffer: VkBuffer): VkBufferMemoryRequirementsInfo2 =
7816 result.sType = sType
7817 result.pNext = pNext
7818 result.buffer = buffer
7819
7820 proc newVkImageMemoryRequirementsInfo2*(sType: VkStructureType, pNext: pointer = nil, image: VkImage): VkImageMemoryRequirementsInfo2 =
7821 result.sType = sType
7822 result.pNext = pNext
7823 result.image = image
7824
7825 proc newVkImageSparseMemoryRequirementsInfo2*(sType: VkStructureType, pNext: pointer = nil, image: VkImage): VkImageSparseMemoryRequirementsInfo2 =
7826 result.sType = sType
7827 result.pNext = pNext
7828 result.image = image
7829
7830 proc newVkMemoryRequirements2*(sType: VkStructureType, pNext: pointer = nil, memoryRequirements: VkMemoryRequirements): VkMemoryRequirements2 =
7831 result.sType = sType
7832 result.pNext = pNext
7833 result.memoryRequirements = memoryRequirements
7834
7835 proc newVkSparseImageMemoryRequirements2*(sType: VkStructureType, pNext: pointer = nil, memoryRequirements: VkSparseImageMemoryRequirements): VkSparseImageMemoryRequirements2 =
7836 result.sType = sType
7837 result.pNext = pNext
7838 result.memoryRequirements = memoryRequirements
7839
7840 proc newVkPhysicalDevicePointClippingProperties*(sType: VkStructureType, pNext: pointer = nil, pointClippingBehavior: VkPointClippingBehavior): VkPhysicalDevicePointClippingProperties =
7841 result.sType = sType
7842 result.pNext = pNext
7843 result.pointClippingBehavior = pointClippingBehavior
7844
7845 proc newVkMemoryDedicatedRequirements*(sType: VkStructureType, pNext: pointer = nil, prefersDedicatedAllocation: VkBool32, requiresDedicatedAllocation: VkBool32): VkMemoryDedicatedRequirements =
7846 result.sType = sType
7847 result.pNext = pNext
7848 result.prefersDedicatedAllocation = prefersDedicatedAllocation
7849 result.requiresDedicatedAllocation = requiresDedicatedAllocation
7850
7851 proc newVkMemoryDedicatedAllocateInfo*(sType: VkStructureType, pNext: pointer = nil, image: VkImage, buffer: VkBuffer): VkMemoryDedicatedAllocateInfo =
7852 result.sType = sType
7853 result.pNext = pNext
7854 result.image = image
7855 result.buffer = buffer
7856
7857 proc newVkImageViewUsageCreateInfo*(sType: VkStructureType, pNext: pointer = nil, usage: VkImageUsageFlags): VkImageViewUsageCreateInfo =
7858 result.sType = sType
7859 result.pNext = pNext
7860 result.usage = usage
7861
7862 proc newVkPipelineTessellationDomainOriginStateCreateInfo*(sType: VkStructureType, pNext: pointer = nil, domainOrigin: VkTessellationDomainOrigin): VkPipelineTessellationDomainOriginStateCreateInfo =
7863 result.sType = sType
7864 result.pNext = pNext
7865 result.domainOrigin = domainOrigin
7866
7867 proc newVkSamplerYcbcrConversionInfo*(sType: VkStructureType, pNext: pointer = nil, conversion: VkSamplerYcbcrConversion): VkSamplerYcbcrConversionInfo =
7868 result.sType = sType
7869 result.pNext = pNext
7870 result.conversion = conversion
7871
7872 proc newVkSamplerYcbcrConversionCreateInfo*(sType: VkStructureType, pNext: pointer = nil, format: VkFormat, ycbcrModel: VkSamplerYcbcrModelConversion, ycbcrRange: VkSamplerYcbcrRange, components: VkComponentMapping, xChromaOffset: VkChromaLocation, yChromaOffset: VkChromaLocation, chromaFilter: VkFilter, forceExplicitReconstruction: VkBool32): VkSamplerYcbcrConversionCreateInfo =
7873 result.sType = sType
7874 result.pNext = pNext
7875 result.format = format
7876 result.ycbcrModel = ycbcrModel
7877 result.ycbcrRange = ycbcrRange
7878 result.components = components
7879 result.xChromaOffset = xChromaOffset
7880 result.yChromaOffset = yChromaOffset
7881 result.chromaFilter = chromaFilter
7882 result.forceExplicitReconstruction = forceExplicitReconstruction
7883
7884 proc newVkBindImagePlaneMemoryInfo*(sType: VkStructureType, pNext: pointer = nil, planeAspect: VkImageAspectFlagBits): VkBindImagePlaneMemoryInfo =
7885 result.sType = sType
7886 result.pNext = pNext
7887 result.planeAspect = planeAspect
7888
7889 proc newVkImagePlaneMemoryRequirementsInfo*(sType: VkStructureType, pNext: pointer = nil, planeAspect: VkImageAspectFlagBits): VkImagePlaneMemoryRequirementsInfo =
7890 result.sType = sType
7891 result.pNext = pNext
7892 result.planeAspect = planeAspect
7893
7894 proc newVkPhysicalDeviceSamplerYcbcrConversionFeatures*(sType: VkStructureType, pNext: pointer = nil, samplerYcbcrConversion: VkBool32): VkPhysicalDeviceSamplerYcbcrConversionFeatures =
7895 result.sType = sType
7896 result.pNext = pNext
7897 result.samplerYcbcrConversion = samplerYcbcrConversion
7898
7899 proc newVkSamplerYcbcrConversionImageFormatProperties*(sType: VkStructureType, pNext: pointer = nil, combinedImageSamplerDescriptorCount: uint32): VkSamplerYcbcrConversionImageFormatProperties =
7900 result.sType = sType
7901 result.pNext = pNext
7902 result.combinedImageSamplerDescriptorCount = combinedImageSamplerDescriptorCount
7903
7904 proc newVkTextureLODGatherFormatPropertiesAMD*(sType: VkStructureType, pNext: pointer = nil, supportsTextureGatherLODBiasAMD: VkBool32): VkTextureLODGatherFormatPropertiesAMD =
7905 result.sType = sType
7906 result.pNext = pNext
7907 result.supportsTextureGatherLODBiasAMD = supportsTextureGatherLODBiasAMD
7908
7909 proc newVkConditionalRenderingBeginInfoEXT*(sType: VkStructureType, pNext: pointer = nil, buffer: VkBuffer, offset: VkDeviceSize, flags: VkConditionalRenderingFlagsEXT = 0.VkConditionalRenderingFlagsEXT): VkConditionalRenderingBeginInfoEXT =
7910 result.sType = sType
7911 result.pNext = pNext
7912 result.buffer = buffer
7913 result.offset = offset
7914 result.flags = flags
7915
7916 proc newVkProtectedSubmitInfo*(sType: VkStructureType, pNext: pointer = nil, protectedSubmit: VkBool32): VkProtectedSubmitInfo =
7917 result.sType = sType
7918 result.pNext = pNext
7919 result.protectedSubmit = protectedSubmit
7920
7921 proc newVkPhysicalDeviceProtectedMemoryFeatures*(sType: VkStructureType, pNext: pointer = nil, protectedMemory: VkBool32): VkPhysicalDeviceProtectedMemoryFeatures =
7922 result.sType = sType
7923 result.pNext = pNext
7924 result.protectedMemory = protectedMemory
7925
7926 proc newVkPhysicalDeviceProtectedMemoryProperties*(sType: VkStructureType, pNext: pointer = nil, protectedNoFault: VkBool32): VkPhysicalDeviceProtectedMemoryProperties =
7927 result.sType = sType
7928 result.pNext = pNext
7929 result.protectedNoFault = protectedNoFault
7930
7931 proc newVkDeviceQueueInfo2*(sType: VkStructureType, pNext: pointer = nil, flags: VkDeviceQueueCreateFlags = 0.VkDeviceQueueCreateFlags, queueFamilyIndex: uint32, queueIndex: uint32): VkDeviceQueueInfo2 =
7932 result.sType = sType
7933 result.pNext = pNext
7934 result.flags = flags
7935 result.queueFamilyIndex = queueFamilyIndex
7936 result.queueIndex = queueIndex
7937
7938 proc newVkPipelineCoverageToColorStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineCoverageToColorStateCreateFlagsNV = 0.VkPipelineCoverageToColorStateCreateFlagsNV, coverageToColorEnable: VkBool32, coverageToColorLocation: uint32): VkPipelineCoverageToColorStateCreateInfoNV =
7939 result.sType = sType
7940 result.pNext = pNext
7941 result.flags = flags
7942 result.coverageToColorEnable = coverageToColorEnable
7943 result.coverageToColorLocation = coverageToColorLocation
7944
7945 proc newVkPhysicalDeviceSamplerFilterMinmaxProperties*(sType: VkStructureType, pNext: pointer = nil, filterMinmaxSingleComponentFormats: VkBool32, filterMinmaxImageComponentMapping: VkBool32): VkPhysicalDeviceSamplerFilterMinmaxProperties =
7946 result.sType = sType
7947 result.pNext = pNext
7948 result.filterMinmaxSingleComponentFormats = filterMinmaxSingleComponentFormats
7949 result.filterMinmaxImageComponentMapping = filterMinmaxImageComponentMapping
7950
7951 proc newVkSampleLocationEXT*(x: float32, y: float32): VkSampleLocationEXT =
7952 result.x = x
7953 result.y = y
7954
7955 proc newVkSampleLocationsInfoEXT*(sType: VkStructureType, pNext: pointer = nil, sampleLocationsPerPixel: VkSampleCountFlagBits, sampleLocationGridSize: VkExtent2D, sampleLocationsCount: uint32, pSampleLocations: ptr VkSampleLocationEXT): VkSampleLocationsInfoEXT =
7956 result.sType = sType
7957 result.pNext = pNext
7958 result.sampleLocationsPerPixel = sampleLocationsPerPixel
7959 result.sampleLocationGridSize = sampleLocationGridSize
7960 result.sampleLocationsCount = sampleLocationsCount
7961 result.pSampleLocations = pSampleLocations
7962
7963 proc newVkAttachmentSampleLocationsEXT*(attachmentIndex: uint32, sampleLocationsInfo: VkSampleLocationsInfoEXT): VkAttachmentSampleLocationsEXT =
7964 result.attachmentIndex = attachmentIndex
7965 result.sampleLocationsInfo = sampleLocationsInfo
7966
7967 proc newVkSubpassSampleLocationsEXT*(subpassIndex: uint32, sampleLocationsInfo: VkSampleLocationsInfoEXT): VkSubpassSampleLocationsEXT =
7968 result.subpassIndex = subpassIndex
7969 result.sampleLocationsInfo = sampleLocationsInfo
7970
7971 proc newVkRenderPassSampleLocationsBeginInfoEXT*(sType: VkStructureType, pNext: pointer = nil, attachmentInitialSampleLocationsCount: uint32, pAttachmentInitialSampleLocations: ptr VkAttachmentSampleLocationsEXT, postSubpassSampleLocationsCount: uint32, pPostSubpassSampleLocations: ptr VkSubpassSampleLocationsEXT): VkRenderPassSampleLocationsBeginInfoEXT =
7972 result.sType = sType
7973 result.pNext = pNext
7974 result.attachmentInitialSampleLocationsCount = attachmentInitialSampleLocationsCount
7975 result.pAttachmentInitialSampleLocations = pAttachmentInitialSampleLocations
7976 result.postSubpassSampleLocationsCount = postSubpassSampleLocationsCount
7977 result.pPostSubpassSampleLocations = pPostSubpassSampleLocations
7978
7979 proc newVkPipelineSampleLocationsStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, sampleLocationsEnable: VkBool32, sampleLocationsInfo: VkSampleLocationsInfoEXT): VkPipelineSampleLocationsStateCreateInfoEXT =
7980 result.sType = sType
7981 result.pNext = pNext
7982 result.sampleLocationsEnable = sampleLocationsEnable
7983 result.sampleLocationsInfo = sampleLocationsInfo
7984
7985 proc newVkPhysicalDeviceSampleLocationsPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, sampleLocationSampleCounts: VkSampleCountFlags, maxSampleLocationGridSize: VkExtent2D, sampleLocationCoordinateRange: array[2, float32], sampleLocationSubPixelBits: uint32, variableSampleLocations: VkBool32): VkPhysicalDeviceSampleLocationsPropertiesEXT =
7986 result.sType = sType
7987 result.pNext = pNext
7988 result.sampleLocationSampleCounts = sampleLocationSampleCounts
7989 result.maxSampleLocationGridSize = maxSampleLocationGridSize
7990 result.sampleLocationCoordinateRange = sampleLocationCoordinateRange
7991 result.sampleLocationSubPixelBits = sampleLocationSubPixelBits
7992 result.variableSampleLocations = variableSampleLocations
7993
7994 proc newVkMultisamplePropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxSampleLocationGridSize: VkExtent2D): VkMultisamplePropertiesEXT =
7995 result.sType = sType
7996 result.pNext = pNext
7997 result.maxSampleLocationGridSize = maxSampleLocationGridSize
7998
7999 proc newVkSamplerReductionModeCreateInfo*(sType: VkStructureType, pNext: pointer = nil, reductionMode: VkSamplerReductionMode): VkSamplerReductionModeCreateInfo =
8000 result.sType = sType
8001 result.pNext = pNext
8002 result.reductionMode = reductionMode
8003
8004 proc newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, advancedBlendCoherentOperations: VkBool32): VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT =
8005 result.sType = sType
8006 result.pNext = pNext
8007 result.advancedBlendCoherentOperations = advancedBlendCoherentOperations
8008
8009 proc newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, advancedBlendMaxColorAttachments: uint32, advancedBlendIndependentBlend: VkBool32, advancedBlendNonPremultipliedSrcColor: VkBool32, advancedBlendNonPremultipliedDstColor: VkBool32, advancedBlendCorrelatedOverlap: VkBool32, advancedBlendAllOperations: VkBool32): VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT =
8010 result.sType = sType
8011 result.pNext = pNext
8012 result.advancedBlendMaxColorAttachments = advancedBlendMaxColorAttachments
8013 result.advancedBlendIndependentBlend = advancedBlendIndependentBlend
8014 result.advancedBlendNonPremultipliedSrcColor = advancedBlendNonPremultipliedSrcColor
8015 result.advancedBlendNonPremultipliedDstColor = advancedBlendNonPremultipliedDstColor
8016 result.advancedBlendCorrelatedOverlap = advancedBlendCorrelatedOverlap
8017 result.advancedBlendAllOperations = advancedBlendAllOperations
8018
8019 proc newVkPipelineColorBlendAdvancedStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, srcPremultiplied: VkBool32, dstPremultiplied: VkBool32, blendOverlap: VkBlendOverlapEXT): VkPipelineColorBlendAdvancedStateCreateInfoEXT =
8020 result.sType = sType
8021 result.pNext = pNext
8022 result.srcPremultiplied = srcPremultiplied
8023 result.dstPremultiplied = dstPremultiplied
8024 result.blendOverlap = blendOverlap
8025
8026 proc newVkPhysicalDeviceInlineUniformBlockFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, inlineUniformBlock: VkBool32, descriptorBindingInlineUniformBlockUpdateAfterBind: VkBool32): VkPhysicalDeviceInlineUniformBlockFeaturesEXT =
8027 result.sType = sType
8028 result.pNext = pNext
8029 result.inlineUniformBlock = inlineUniformBlock
8030 result.descriptorBindingInlineUniformBlockUpdateAfterBind = descriptorBindingInlineUniformBlockUpdateAfterBind
8031
8032 proc newVkPhysicalDeviceInlineUniformBlockPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxInlineUniformBlockSize: uint32, maxPerStageDescriptorInlineUniformBlocks: uint32, maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks: uint32, maxDescriptorSetInlineUniformBlocks: uint32, maxDescriptorSetUpdateAfterBindInlineUniformBlocks: uint32): VkPhysicalDeviceInlineUniformBlockPropertiesEXT =
8033 result.sType = sType
8034 result.pNext = pNext
8035 result.maxInlineUniformBlockSize = maxInlineUniformBlockSize
8036 result.maxPerStageDescriptorInlineUniformBlocks = maxPerStageDescriptorInlineUniformBlocks
8037 result.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
8038 result.maxDescriptorSetInlineUniformBlocks = maxDescriptorSetInlineUniformBlocks
8039 result.maxDescriptorSetUpdateAfterBindInlineUniformBlocks = maxDescriptorSetUpdateAfterBindInlineUniformBlocks
8040
8041 proc newVkWriteDescriptorSetInlineUniformBlockEXT*(sType: VkStructureType, pNext: pointer = nil, dataSize: uint32, pData: pointer = nil): VkWriteDescriptorSetInlineUniformBlockEXT =
8042 result.sType = sType
8043 result.pNext = pNext
8044 result.dataSize = dataSize
8045 result.pData = pData
8046
8047 proc newVkDescriptorPoolInlineUniformBlockCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, maxInlineUniformBlockBindings: uint32): VkDescriptorPoolInlineUniformBlockCreateInfoEXT =
8048 result.sType = sType
8049 result.pNext = pNext
8050 result.maxInlineUniformBlockBindings = maxInlineUniformBlockBindings
8051
8052 proc newVkPipelineCoverageModulationStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineCoverageModulationStateCreateFlagsNV = 0.VkPipelineCoverageModulationStateCreateFlagsNV, coverageModulationMode: VkCoverageModulationModeNV, coverageModulationTableEnable: VkBool32, coverageModulationTableCount: uint32, pCoverageModulationTable: ptr float32): VkPipelineCoverageModulationStateCreateInfoNV =
8053 result.sType = sType
8054 result.pNext = pNext
8055 result.flags = flags
8056 result.coverageModulationMode = coverageModulationMode
8057 result.coverageModulationTableEnable = coverageModulationTableEnable
8058 result.coverageModulationTableCount = coverageModulationTableCount
8059 result.pCoverageModulationTable = pCoverageModulationTable
8060
8061 proc newVkImageFormatListCreateInfo*(sType: VkStructureType, pNext: pointer = nil, viewFormatCount: uint32, pViewFormats: ptr VkFormat): VkImageFormatListCreateInfo =
8062 result.sType = sType
8063 result.pNext = pNext
8064 result.viewFormatCount = viewFormatCount
8065 result.pViewFormats = pViewFormats
8066
8067 proc newVkValidationCacheCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkValidationCacheCreateFlagsEXT = 0.VkValidationCacheCreateFlagsEXT, initialDataSize: uint, pInitialData: pointer = nil): VkValidationCacheCreateInfoEXT =
8068 result.sType = sType
8069 result.pNext = pNext
8070 result.flags = flags
8071 result.initialDataSize = initialDataSize
8072 result.pInitialData = pInitialData
8073
8074 proc newVkShaderModuleValidationCacheCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, validationCache: VkValidationCacheEXT): VkShaderModuleValidationCacheCreateInfoEXT =
8075 result.sType = sType
8076 result.pNext = pNext
8077 result.validationCache = validationCache
8078
8079 proc newVkPhysicalDeviceMaintenance3Properties*(sType: VkStructureType, pNext: pointer = nil, maxPerSetDescriptors: uint32, maxMemoryAllocationSize: VkDeviceSize): VkPhysicalDeviceMaintenance3Properties =
8080 result.sType = sType
8081 result.pNext = pNext
8082 result.maxPerSetDescriptors = maxPerSetDescriptors
8083 result.maxMemoryAllocationSize = maxMemoryAllocationSize
8084
8085 proc newVkDescriptorSetLayoutSupport*(sType: VkStructureType, pNext: pointer = nil, supported: VkBool32): VkDescriptorSetLayoutSupport =
8086 result.sType = sType
8087 result.pNext = pNext
8088 result.supported = supported
8089
8090 proc newVkPhysicalDeviceShaderDrawParametersFeatures*(sType: VkStructureType, pNext: pointer = nil, shaderDrawParameters: VkBool32): VkPhysicalDeviceShaderDrawParametersFeatures =
8091 result.sType = sType
8092 result.pNext = pNext
8093 result.shaderDrawParameters = shaderDrawParameters
8094
8095 proc newVkPhysicalDeviceShaderFloat16Int8Features*(sType: VkStructureType, pNext: pointer = nil, shaderFloat16: VkBool32, shaderInt8: VkBool32): VkPhysicalDeviceShaderFloat16Int8Features =
8096 result.sType = sType
8097 result.pNext = pNext
8098 result.shaderFloat16 = shaderFloat16
8099 result.shaderInt8 = shaderInt8
8100
8101 proc newVkPhysicalDeviceFloatControlsProperties*(sType: VkStructureType, pNext: pointer = nil, denormBehaviorIndependence: VkShaderFloatControlsIndependence, roundingModeIndependence: VkShaderFloatControlsIndependence, shaderSignedZeroInfNanPreserveFloat16: VkBool32, shaderSignedZeroInfNanPreserveFloat32: VkBool32, shaderSignedZeroInfNanPreserveFloat64: VkBool32, shaderDenormPreserveFloat16: VkBool32, shaderDenormPreserveFloat32: VkBool32, shaderDenormPreserveFloat64: VkBool32, shaderDenormFlushToZeroFloat16: VkBool32, shaderDenormFlushToZeroFloat32: VkBool32, shaderDenormFlushToZeroFloat64: VkBool32, shaderRoundingModeRTEFloat16: VkBool32, shaderRoundingModeRTEFloat32: VkBool32, shaderRoundingModeRTEFloat64: VkBool32, shaderRoundingModeRTZFloat16: VkBool32, shaderRoundingModeRTZFloat32: VkBool32, shaderRoundingModeRTZFloat64: VkBool32): VkPhysicalDeviceFloatControlsProperties =
8102 result.sType = sType
8103 result.pNext = pNext
8104 result.denormBehaviorIndependence = denormBehaviorIndependence
8105 result.roundingModeIndependence = roundingModeIndependence
8106 result.shaderSignedZeroInfNanPreserveFloat16 = shaderSignedZeroInfNanPreserveFloat16
8107 result.shaderSignedZeroInfNanPreserveFloat32 = shaderSignedZeroInfNanPreserveFloat32
8108 result.shaderSignedZeroInfNanPreserveFloat64 = shaderSignedZeroInfNanPreserveFloat64
8109 result.shaderDenormPreserveFloat16 = shaderDenormPreserveFloat16
8110 result.shaderDenormPreserveFloat32 = shaderDenormPreserveFloat32
8111 result.shaderDenormPreserveFloat64 = shaderDenormPreserveFloat64
8112 result.shaderDenormFlushToZeroFloat16 = shaderDenormFlushToZeroFloat16
8113 result.shaderDenormFlushToZeroFloat32 = shaderDenormFlushToZeroFloat32
8114 result.shaderDenormFlushToZeroFloat64 = shaderDenormFlushToZeroFloat64
8115 result.shaderRoundingModeRTEFloat16 = shaderRoundingModeRTEFloat16
8116 result.shaderRoundingModeRTEFloat32 = shaderRoundingModeRTEFloat32
8117 result.shaderRoundingModeRTEFloat64 = shaderRoundingModeRTEFloat64
8118 result.shaderRoundingModeRTZFloat16 = shaderRoundingModeRTZFloat16
8119 result.shaderRoundingModeRTZFloat32 = shaderRoundingModeRTZFloat32
8120 result.shaderRoundingModeRTZFloat64 = shaderRoundingModeRTZFloat64
8121
8122 proc newVkPhysicalDeviceHostQueryResetFeatures*(sType: VkStructureType, pNext: pointer = nil, hostQueryReset: VkBool32): VkPhysicalDeviceHostQueryResetFeatures =
8123 result.sType = sType
8124 result.pNext = pNext
8125 result.hostQueryReset = hostQueryReset
8126
8127 proc newVkNativeBufferUsage2ANDROID*(consumer: uint64, producer: uint64): VkNativeBufferUsage2ANDROID =
8128 result.consumer = consumer
8129 result.producer = producer
8130
8131 proc newVkNativeBufferANDROID*(sType: VkStructureType, pNext: pointer = nil, handle: pointer = nil, stride: int, format: int, usage: int, usage2: VkNativeBufferUsage2ANDROID): VkNativeBufferANDROID =
8132 result.sType = sType
8133 result.pNext = pNext
8134 result.handle = handle
8135 result.stride = stride
8136 result.format = format
8137 result.usage = usage
8138 result.usage2 = usage2
8139
8140 proc newVkSwapchainImageCreateInfoANDROID*(sType: VkStructureType, pNext: pointer = nil, usage: VkSwapchainImageUsageFlagsANDROID): VkSwapchainImageCreateInfoANDROID =
8141 result.sType = sType
8142 result.pNext = pNext
8143 result.usage = usage
8144
8145 proc newVkPhysicalDevicePresentationPropertiesANDROID*(sType: VkStructureType, pNext: pointer = nil, sharedImage: VkBool32): VkPhysicalDevicePresentationPropertiesANDROID =
8146 result.sType = sType
8147 result.pNext = pNext
8148 result.sharedImage = sharedImage
8149
8150 proc newVkShaderResourceUsageAMD*(numUsedVgprs: uint32, numUsedSgprs: uint32, ldsSizePerLocalWorkGroup: uint32, ldsUsageSizeInBytes: uint, scratchMemUsageInBytes: uint): VkShaderResourceUsageAMD =
8151 result.numUsedVgprs = numUsedVgprs
8152 result.numUsedSgprs = numUsedSgprs
8153 result.ldsSizePerLocalWorkGroup = ldsSizePerLocalWorkGroup
8154 result.ldsUsageSizeInBytes = ldsUsageSizeInBytes
8155 result.scratchMemUsageInBytes = scratchMemUsageInBytes
8156
8157 proc newVkShaderStatisticsInfoAMD*(shaderStageMask: VkShaderStageFlags, resourceUsage: VkShaderResourceUsageAMD, numPhysicalVgprs: uint32, numPhysicalSgprs: uint32, numAvailableVgprs: uint32, numAvailableSgprs: uint32, computeWorkGroupSize: array[3, uint32]): VkShaderStatisticsInfoAMD =
8158 result.shaderStageMask = shaderStageMask
8159 result.resourceUsage = resourceUsage
8160 result.numPhysicalVgprs = numPhysicalVgprs
8161 result.numPhysicalSgprs = numPhysicalSgprs
8162 result.numAvailableVgprs = numAvailableVgprs
8163 result.numAvailableSgprs = numAvailableSgprs
8164 result.computeWorkGroupSize = computeWorkGroupSize
8165
8166 proc newVkDeviceQueueGlobalPriorityCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, globalPriority: VkQueueGlobalPriorityEXT): VkDeviceQueueGlobalPriorityCreateInfoEXT =
8167 result.sType = sType
8168 result.pNext = pNext
8169 result.globalPriority = globalPriority
8170
8171 proc newVkDebugUtilsObjectNameInfoEXT*(sType: VkStructureType, pNext: pointer = nil, objectType: VkObjectType, objectHandle: uint64, pObjectName: cstring): VkDebugUtilsObjectNameInfoEXT =
8172 result.sType = sType
8173 result.pNext = pNext
8174 result.objectType = objectType
8175 result.objectHandle = objectHandle
8176 result.pObjectName = pObjectName
8177
8178 proc newVkDebugUtilsObjectTagInfoEXT*(sType: VkStructureType, pNext: pointer = nil, objectType: VkObjectType, objectHandle: uint64, tagName: uint64, tagSize: uint, pTag: pointer = nil): VkDebugUtilsObjectTagInfoEXT =
8179 result.sType = sType
8180 result.pNext = pNext
8181 result.objectType = objectType
8182 result.objectHandle = objectHandle
8183 result.tagName = tagName
8184 result.tagSize = tagSize
8185 result.pTag = pTag
8186
8187 proc newVkDebugUtilsLabelEXT*(sType: VkStructureType, pNext: pointer = nil, pLabelName: cstring, color: array[4, float32]): VkDebugUtilsLabelEXT =
8188 result.sType = sType
8189 result.pNext = pNext
8190 result.pLabelName = pLabelName
8191 result.color = color
8192
8193 proc newVkDebugUtilsMessengerCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkDebugUtilsMessengerCreateFlagsEXT = 0.VkDebugUtilsMessengerCreateFlagsEXT, messageSeverity: VkDebugUtilsMessageSeverityFlagsEXT, messageType: VkDebugUtilsMessageTypeFlagsEXT, pfnUserCallback: PFN_vkDebugUtilsMessengerCallbackEXT, pUserData: pointer = nil): VkDebugUtilsMessengerCreateInfoEXT =
8194 result.sType = sType
8195 result.pNext = pNext
8196 result.flags = flags
8197 result.messageSeverity = messageSeverity
8198 result.messageType = messageType
8199 result.pfnUserCallback = pfnUserCallback
8200 result.pUserData = pUserData
8201
8202 proc newVkDebugUtilsMessengerCallbackDataEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkDebugUtilsMessengerCallbackDataFlagsEXT = 0.VkDebugUtilsMessengerCallbackDataFlagsEXT, pMessageIdName: cstring, messageIdNumber: int32, pMessage: cstring, queueLabelCount: uint32, pQueueLabels: ptr VkDebugUtilsLabelEXT, cmdBufLabelCount: uint32, pCmdBufLabels: ptr VkDebugUtilsLabelEXT, objectCount: uint32, pObjects: ptr VkDebugUtilsObjectNameInfoEXT): VkDebugUtilsMessengerCallbackDataEXT =
8203 result.sType = sType
8204 result.pNext = pNext
8205 result.flags = flags
8206 result.pMessageIdName = pMessageIdName
8207 result.messageIdNumber = messageIdNumber
8208 result.pMessage = pMessage
8209 result.queueLabelCount = queueLabelCount
8210 result.pQueueLabels = pQueueLabels
8211 result.cmdBufLabelCount = cmdBufLabelCount
8212 result.pCmdBufLabels = pCmdBufLabels
8213 result.objectCount = objectCount
8214 result.pObjects = pObjects
8215
8216 proc newVkImportMemoryHostPointerInfoEXT*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalMemoryHandleTypeFlagBits, pHostPointer: pointer = nil): VkImportMemoryHostPointerInfoEXT =
8217 result.sType = sType
8218 result.pNext = pNext
8219 result.handleType = handleType
8220 result.pHostPointer = pHostPointer
8221
8222 proc newVkMemoryHostPointerPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, memoryTypeBits: uint32): VkMemoryHostPointerPropertiesEXT =
8223 result.sType = sType
8224 result.pNext = pNext
8225 result.memoryTypeBits = memoryTypeBits
8226
8227 proc newVkPhysicalDeviceExternalMemoryHostPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, minImportedHostPointerAlignment: VkDeviceSize): VkPhysicalDeviceExternalMemoryHostPropertiesEXT =
8228 result.sType = sType
8229 result.pNext = pNext
8230 result.minImportedHostPointerAlignment = minImportedHostPointerAlignment
8231
8232 proc newVkPhysicalDeviceConservativeRasterizationPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, primitiveOverestimationSize: float32, maxExtraPrimitiveOverestimationSize: float32, extraPrimitiveOverestimationSizeGranularity: float32, primitiveUnderestimation: VkBool32, conservativePointAndLineRasterization: VkBool32, degenerateTrianglesRasterized: VkBool32, degenerateLinesRasterized: VkBool32, fullyCoveredFragmentShaderInputVariable: VkBool32, conservativeRasterizationPostDepthCoverage: VkBool32): VkPhysicalDeviceConservativeRasterizationPropertiesEXT =
8233 result.sType = sType
8234 result.pNext = pNext
8235 result.primitiveOverestimationSize = primitiveOverestimationSize
8236 result.maxExtraPrimitiveOverestimationSize = maxExtraPrimitiveOverestimationSize
8237 result.extraPrimitiveOverestimationSizeGranularity = extraPrimitiveOverestimationSizeGranularity
8238 result.primitiveUnderestimation = primitiveUnderestimation
8239 result.conservativePointAndLineRasterization = conservativePointAndLineRasterization
8240 result.degenerateTrianglesRasterized = degenerateTrianglesRasterized
8241 result.degenerateLinesRasterized = degenerateLinesRasterized
8242 result.fullyCoveredFragmentShaderInputVariable = fullyCoveredFragmentShaderInputVariable
8243 result.conservativeRasterizationPostDepthCoverage = conservativeRasterizationPostDepthCoverage
8244
8245 proc newVkCalibratedTimestampInfoEXT*(sType: VkStructureType, pNext: pointer = nil, timeDomain: VkTimeDomainEXT): VkCalibratedTimestampInfoEXT =
8246 result.sType = sType
8247 result.pNext = pNext
8248 result.timeDomain = timeDomain
8249
8250 proc newVkPhysicalDeviceShaderCorePropertiesAMD*(sType: VkStructureType, pNext: pointer = nil, shaderEngineCount: uint32, shaderArraysPerEngineCount: uint32, computeUnitsPerShaderArray: uint32, simdPerComputeUnit: uint32, wavefrontsPerSimd: uint32, wavefrontSize: uint32, sgprsPerSimd: uint32, minSgprAllocation: uint32, maxSgprAllocation: uint32, sgprAllocationGranularity: uint32, vgprsPerSimd: uint32, minVgprAllocation: uint32, maxVgprAllocation: uint32, vgprAllocationGranularity: uint32): VkPhysicalDeviceShaderCorePropertiesAMD =
8251 result.sType = sType
8252 result.pNext = pNext
8253 result.shaderEngineCount = shaderEngineCount
8254 result.shaderArraysPerEngineCount = shaderArraysPerEngineCount
8255 result.computeUnitsPerShaderArray = computeUnitsPerShaderArray
8256 result.simdPerComputeUnit = simdPerComputeUnit
8257 result.wavefrontsPerSimd = wavefrontsPerSimd
8258 result.wavefrontSize = wavefrontSize
8259 result.sgprsPerSimd = sgprsPerSimd
8260 result.minSgprAllocation = minSgprAllocation
8261 result.maxSgprAllocation = maxSgprAllocation
8262 result.sgprAllocationGranularity = sgprAllocationGranularity
8263 result.vgprsPerSimd = vgprsPerSimd
8264 result.minVgprAllocation = minVgprAllocation
8265 result.maxVgprAllocation = maxVgprAllocation
8266 result.vgprAllocationGranularity = vgprAllocationGranularity
8267
8268 proc newVkPhysicalDeviceShaderCoreProperties2AMD*(sType: VkStructureType, pNext: pointer = nil, shaderCoreFeatures: VkShaderCorePropertiesFlagsAMD, activeComputeUnitCount: uint32): VkPhysicalDeviceShaderCoreProperties2AMD =
8269 result.sType = sType
8270 result.pNext = pNext
8271 result.shaderCoreFeatures = shaderCoreFeatures
8272 result.activeComputeUnitCount = activeComputeUnitCount
8273
8274 proc newVkPipelineRasterizationConservativeStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineRasterizationConservativeStateCreateFlagsEXT = 0.VkPipelineRasterizationConservativeStateCreateFlagsEXT, conservativeRasterizationMode: VkConservativeRasterizationModeEXT, extraPrimitiveOverestimationSize: float32): VkPipelineRasterizationConservativeStateCreateInfoEXT =
8275 result.sType = sType
8276 result.pNext = pNext
8277 result.flags = flags
8278 result.conservativeRasterizationMode = conservativeRasterizationMode
8279 result.extraPrimitiveOverestimationSize = extraPrimitiveOverestimationSize
8280
8281 proc newVkPhysicalDeviceDescriptorIndexingFeatures*(sType: VkStructureType, pNext: pointer = nil, shaderInputAttachmentArrayDynamicIndexing: VkBool32, shaderUniformTexelBufferArrayDynamicIndexing: VkBool32, shaderStorageTexelBufferArrayDynamicIndexing: VkBool32, shaderUniformBufferArrayNonUniformIndexing: VkBool32, shaderSampledImageArrayNonUniformIndexing: VkBool32, shaderStorageBufferArrayNonUniformIndexing: VkBool32, shaderStorageImageArrayNonUniformIndexing: VkBool32, shaderInputAttachmentArrayNonUniformIndexing: VkBool32, shaderUniformTexelBufferArrayNonUniformIndexing: VkBool32, shaderStorageTexelBufferArrayNonUniformIndexing: VkBool32, descriptorBindingUniformBufferUpdateAfterBind: VkBool32, descriptorBindingSampledImageUpdateAfterBind: VkBool32, descriptorBindingStorageImageUpdateAfterBind: VkBool32, descriptorBindingStorageBufferUpdateAfterBind: VkBool32, descriptorBindingUniformTexelBufferUpdateAfterBind: VkBool32, descriptorBindingStorageTexelBufferUpdateAfterBind: VkBool32, descriptorBindingUpdateUnusedWhilePending: VkBool32, descriptorBindingPartiallyBound: VkBool32, descriptorBindingVariableDescriptorCount: VkBool32, runtimeDescriptorArray: VkBool32): VkPhysicalDeviceDescriptorIndexingFeatures =
8282 result.sType = sType
8283 result.pNext = pNext
8284 result.shaderInputAttachmentArrayDynamicIndexing = shaderInputAttachmentArrayDynamicIndexing
8285 result.shaderUniformTexelBufferArrayDynamicIndexing = shaderUniformTexelBufferArrayDynamicIndexing
8286 result.shaderStorageTexelBufferArrayDynamicIndexing = shaderStorageTexelBufferArrayDynamicIndexing
8287 result.shaderUniformBufferArrayNonUniformIndexing = shaderUniformBufferArrayNonUniformIndexing
8288 result.shaderSampledImageArrayNonUniformIndexing = shaderSampledImageArrayNonUniformIndexing
8289 result.shaderStorageBufferArrayNonUniformIndexing = shaderStorageBufferArrayNonUniformIndexing
8290 result.shaderStorageImageArrayNonUniformIndexing = shaderStorageImageArrayNonUniformIndexing
8291 result.shaderInputAttachmentArrayNonUniformIndexing = shaderInputAttachmentArrayNonUniformIndexing
8292 result.shaderUniformTexelBufferArrayNonUniformIndexing = shaderUniformTexelBufferArrayNonUniformIndexing
8293 result.shaderStorageTexelBufferArrayNonUniformIndexing = shaderStorageTexelBufferArrayNonUniformIndexing
8294 result.descriptorBindingUniformBufferUpdateAfterBind = descriptorBindingUniformBufferUpdateAfterBind
8295 result.descriptorBindingSampledImageUpdateAfterBind = descriptorBindingSampledImageUpdateAfterBind
8296 result.descriptorBindingStorageImageUpdateAfterBind = descriptorBindingStorageImageUpdateAfterBind
8297 result.descriptorBindingStorageBufferUpdateAfterBind = descriptorBindingStorageBufferUpdateAfterBind
8298 result.descriptorBindingUniformTexelBufferUpdateAfterBind = descriptorBindingUniformTexelBufferUpdateAfterBind
8299 result.descriptorBindingStorageTexelBufferUpdateAfterBind = descriptorBindingStorageTexelBufferUpdateAfterBind
8300 result.descriptorBindingUpdateUnusedWhilePending = descriptorBindingUpdateUnusedWhilePending
8301 result.descriptorBindingPartiallyBound = descriptorBindingPartiallyBound
8302 result.descriptorBindingVariableDescriptorCount = descriptorBindingVariableDescriptorCount
8303 result.runtimeDescriptorArray = runtimeDescriptorArray
8304
8305 proc newVkPhysicalDeviceDescriptorIndexingProperties*(sType: VkStructureType, pNext: pointer = nil, maxUpdateAfterBindDescriptorsInAllPools: uint32, shaderUniformBufferArrayNonUniformIndexingNative: VkBool32, shaderSampledImageArrayNonUniformIndexingNative: VkBool32, shaderStorageBufferArrayNonUniformIndexingNative: VkBool32, shaderStorageImageArrayNonUniformIndexingNative: VkBool32, shaderInputAttachmentArrayNonUniformIndexingNative: VkBool32, robustBufferAccessUpdateAfterBind: VkBool32, quadDivergentImplicitLod: VkBool32, maxPerStageDescriptorUpdateAfterBindSamplers: uint32, maxPerStageDescriptorUpdateAfterBindUniformBuffers: uint32, maxPerStageDescriptorUpdateAfterBindStorageBuffers: uint32, maxPerStageDescriptorUpdateAfterBindSampledImages: uint32, maxPerStageDescriptorUpdateAfterBindStorageImages: uint32, maxPerStageDescriptorUpdateAfterBindInputAttachments: uint32, maxPerStageUpdateAfterBindResources: uint32, maxDescriptorSetUpdateAfterBindSamplers: uint32, maxDescriptorSetUpdateAfterBindUniformBuffers: uint32, maxDescriptorSetUpdateAfterBindUniformBuffersDynamic: uint32, maxDescriptorSetUpdateAfterBindStorageBuffers: uint32, maxDescriptorSetUpdateAfterBindStorageBuffersDynamic: uint32, maxDescriptorSetUpdateAfterBindSampledImages: uint32, maxDescriptorSetUpdateAfterBindStorageImages: uint32, maxDescriptorSetUpdateAfterBindInputAttachments: uint32): VkPhysicalDeviceDescriptorIndexingProperties =
8306 result.sType = sType
8307 result.pNext = pNext
8308 result.maxUpdateAfterBindDescriptorsInAllPools = maxUpdateAfterBindDescriptorsInAllPools
8309 result.shaderUniformBufferArrayNonUniformIndexingNative = shaderUniformBufferArrayNonUniformIndexingNative
8310 result.shaderSampledImageArrayNonUniformIndexingNative = shaderSampledImageArrayNonUniformIndexingNative
8311 result.shaderStorageBufferArrayNonUniformIndexingNative = shaderStorageBufferArrayNonUniformIndexingNative
8312 result.shaderStorageImageArrayNonUniformIndexingNative = shaderStorageImageArrayNonUniformIndexingNative
8313 result.shaderInputAttachmentArrayNonUniformIndexingNative = shaderInputAttachmentArrayNonUniformIndexingNative
8314 result.robustBufferAccessUpdateAfterBind = robustBufferAccessUpdateAfterBind
8315 result.quadDivergentImplicitLod = quadDivergentImplicitLod
8316 result.maxPerStageDescriptorUpdateAfterBindSamplers = maxPerStageDescriptorUpdateAfterBindSamplers
8317 result.maxPerStageDescriptorUpdateAfterBindUniformBuffers = maxPerStageDescriptorUpdateAfterBindUniformBuffers
8318 result.maxPerStageDescriptorUpdateAfterBindStorageBuffers = maxPerStageDescriptorUpdateAfterBindStorageBuffers
8319 result.maxPerStageDescriptorUpdateAfterBindSampledImages = maxPerStageDescriptorUpdateAfterBindSampledImages
8320 result.maxPerStageDescriptorUpdateAfterBindStorageImages = maxPerStageDescriptorUpdateAfterBindStorageImages
8321 result.maxPerStageDescriptorUpdateAfterBindInputAttachments = maxPerStageDescriptorUpdateAfterBindInputAttachments
8322 result.maxPerStageUpdateAfterBindResources = maxPerStageUpdateAfterBindResources
8323 result.maxDescriptorSetUpdateAfterBindSamplers = maxDescriptorSetUpdateAfterBindSamplers
8324 result.maxDescriptorSetUpdateAfterBindUniformBuffers = maxDescriptorSetUpdateAfterBindUniformBuffers
8325 result.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = maxDescriptorSetUpdateAfterBindUniformBuffersDynamic
8326 result.maxDescriptorSetUpdateAfterBindStorageBuffers = maxDescriptorSetUpdateAfterBindStorageBuffers
8327 result.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = maxDescriptorSetUpdateAfterBindStorageBuffersDynamic
8328 result.maxDescriptorSetUpdateAfterBindSampledImages = maxDescriptorSetUpdateAfterBindSampledImages
8329 result.maxDescriptorSetUpdateAfterBindStorageImages = maxDescriptorSetUpdateAfterBindStorageImages
8330 result.maxDescriptorSetUpdateAfterBindInputAttachments = maxDescriptorSetUpdateAfterBindInputAttachments
8331
8332 proc newVkDescriptorSetLayoutBindingFlagsCreateInfo*(sType: VkStructureType, pNext: pointer = nil, bindingCount: uint32, pBindingFlags: ptr VkDescriptorBindingFlags): VkDescriptorSetLayoutBindingFlagsCreateInfo =
8333 result.sType = sType
8334 result.pNext = pNext
8335 result.bindingCount = bindingCount
8336 result.pBindingFlags = pBindingFlags
8337
8338 proc newVkDescriptorSetVariableDescriptorCountAllocateInfo*(sType: VkStructureType, pNext: pointer = nil, descriptorSetCount: uint32, pDescriptorCounts: ptr uint32): VkDescriptorSetVariableDescriptorCountAllocateInfo =
8339 result.sType = sType
8340 result.pNext = pNext
8341 result.descriptorSetCount = descriptorSetCount
8342 result.pDescriptorCounts = pDescriptorCounts
8343
8344 proc newVkDescriptorSetVariableDescriptorCountLayoutSupport*(sType: VkStructureType, pNext: pointer = nil, maxVariableDescriptorCount: uint32): VkDescriptorSetVariableDescriptorCountLayoutSupport =
8345 result.sType = sType
8346 result.pNext = pNext
8347 result.maxVariableDescriptorCount = maxVariableDescriptorCount
8348
8349 proc newVkAttachmentDescription2*(sType: VkStructureType, pNext: pointer = nil, flags: VkAttachmentDescriptionFlags = 0.VkAttachmentDescriptionFlags, format: VkFormat, samples: VkSampleCountFlagBits, loadOp: VkAttachmentLoadOp, storeOp: VkAttachmentStoreOp, stencilLoadOp: VkAttachmentLoadOp, stencilStoreOp: VkAttachmentStoreOp, initialLayout: VkImageLayout, finalLayout: VkImageLayout): VkAttachmentDescription2 =
8350 result.sType = sType
8351 result.pNext = pNext
8352 result.flags = flags
8353 result.format = format
8354 result.samples = samples
8355 result.loadOp = loadOp
8356 result.storeOp = storeOp
8357 result.stencilLoadOp = stencilLoadOp
8358 result.stencilStoreOp = stencilStoreOp
8359 result.initialLayout = initialLayout
8360 result.finalLayout = finalLayout
8361
8362 proc newVkAttachmentReference2*(sType: VkStructureType, pNext: pointer = nil, attachment: uint32, layout: VkImageLayout, aspectMask: VkImageAspectFlags): VkAttachmentReference2 =
8363 result.sType = sType
8364 result.pNext = pNext
8365 result.attachment = attachment
8366 result.layout = layout
8367 result.aspectMask = aspectMask
8368
8369 proc newVkSubpassDescription2*(sType: VkStructureType, pNext: pointer = nil, flags: VkSubpassDescriptionFlags = 0.VkSubpassDescriptionFlags, pipelineBindPoint: VkPipelineBindPoint, viewMask: uint32, inputAttachmentCount: uint32, pInputAttachments: ptr VkAttachmentReference2, colorAttachmentCount: uint32, pColorAttachments: ptr VkAttachmentReference2, pResolveAttachments: ptr VkAttachmentReference2, pDepthStencilAttachment: ptr VkAttachmentReference2, preserveAttachmentCount: uint32, pPreserveAttachments: ptr uint32): VkSubpassDescription2 =
8370 result.sType = sType
8371 result.pNext = pNext
8372 result.flags = flags
8373 result.pipelineBindPoint = pipelineBindPoint
8374 result.viewMask = viewMask
8375 result.inputAttachmentCount = inputAttachmentCount
8376 result.pInputAttachments = pInputAttachments
8377 result.colorAttachmentCount = colorAttachmentCount
8378 result.pColorAttachments = pColorAttachments
8379 result.pResolveAttachments = pResolveAttachments
8380 result.pDepthStencilAttachment = pDepthStencilAttachment
8381 result.preserveAttachmentCount = preserveAttachmentCount
8382 result.pPreserveAttachments = pPreserveAttachments
8383
8384 proc newVkSubpassDependency2*(sType: VkStructureType, pNext: pointer = nil, srcSubpass: uint32, dstSubpass: uint32, srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, srcAccessMask: VkAccessFlags, dstAccessMask: VkAccessFlags, dependencyFlags: VkDependencyFlags, viewOffset: int32): VkSubpassDependency2 =
8385 result.sType = sType
8386 result.pNext = pNext
8387 result.srcSubpass = srcSubpass
8388 result.dstSubpass = dstSubpass
8389 result.srcStageMask = srcStageMask
8390 result.dstStageMask = dstStageMask
8391 result.srcAccessMask = srcAccessMask
8392 result.dstAccessMask = dstAccessMask
8393 result.dependencyFlags = dependencyFlags
8394 result.viewOffset = viewOffset
8395
8396 proc newVkRenderPassCreateInfo2*(sType: VkStructureType, pNext: pointer = nil, flags: VkRenderPassCreateFlags = 0.VkRenderPassCreateFlags, attachmentCount: uint32, pAttachments: ptr VkAttachmentDescription2, subpassCount: uint32, pSubpasses: ptr VkSubpassDescription2, dependencyCount: uint32, pDependencies: ptr VkSubpassDependency2, correlatedViewMaskCount: uint32, pCorrelatedViewMasks: ptr uint32): VkRenderPassCreateInfo2 =
8397 result.sType = sType
8398 result.pNext = pNext
8399 result.flags = flags
8400 result.attachmentCount = attachmentCount
8401 result.pAttachments = pAttachments
8402 result.subpassCount = subpassCount
8403 result.pSubpasses = pSubpasses
8404 result.dependencyCount = dependencyCount
8405 result.pDependencies = pDependencies
8406 result.correlatedViewMaskCount = correlatedViewMaskCount
8407 result.pCorrelatedViewMasks = pCorrelatedViewMasks
8408
8409 proc newVkSubpassBeginInfo*(sType: VkStructureType, pNext: pointer = nil, contents: VkSubpassContents): VkSubpassBeginInfo =
8410 result.sType = sType
8411 result.pNext = pNext
8412 result.contents = contents
8413
8414 proc newVkSubpassEndInfo*(sType: VkStructureType, pNext: pointer = nil): VkSubpassEndInfo =
8415 result.sType = sType
8416 result.pNext = pNext
8417
8418 proc newVkPhysicalDeviceTimelineSemaphoreFeatures*(sType: VkStructureType, pNext: pointer = nil, timelineSemaphore: VkBool32): VkPhysicalDeviceTimelineSemaphoreFeatures =
8419 result.sType = sType
8420 result.pNext = pNext
8421 result.timelineSemaphore = timelineSemaphore
8422
8423 proc newVkPhysicalDeviceTimelineSemaphoreProperties*(sType: VkStructureType, pNext: pointer = nil, maxTimelineSemaphoreValueDifference: uint64): VkPhysicalDeviceTimelineSemaphoreProperties =
8424 result.sType = sType
8425 result.pNext = pNext
8426 result.maxTimelineSemaphoreValueDifference = maxTimelineSemaphoreValueDifference
8427
8428 proc newVkSemaphoreTypeCreateInfo*(sType: VkStructureType, pNext: pointer = nil, semaphoreType: VkSemaphoreType, initialValue: uint64): VkSemaphoreTypeCreateInfo =
8429 result.sType = sType
8430 result.pNext = pNext
8431 result.semaphoreType = semaphoreType
8432 result.initialValue = initialValue
8433
8434 proc newVkTimelineSemaphoreSubmitInfo*(sType: VkStructureType, pNext: pointer = nil, waitSemaphoreValueCount: uint32, pWaitSemaphoreValues: ptr uint64, signalSemaphoreValueCount: uint32, pSignalSemaphoreValues: ptr uint64): VkTimelineSemaphoreSubmitInfo =
8435 result.sType = sType
8436 result.pNext = pNext
8437 result.waitSemaphoreValueCount = waitSemaphoreValueCount
8438 result.pWaitSemaphoreValues = pWaitSemaphoreValues
8439 result.signalSemaphoreValueCount = signalSemaphoreValueCount
8440 result.pSignalSemaphoreValues = pSignalSemaphoreValues
8441
8442 proc newVkSemaphoreWaitInfo*(sType: VkStructureType, pNext: pointer = nil, flags: VkSemaphoreWaitFlags = 0.VkSemaphoreWaitFlags, semaphoreCount: uint32, pSemaphores: ptr VkSemaphore, pValues: ptr uint64): VkSemaphoreWaitInfo =
8443 result.sType = sType
8444 result.pNext = pNext
8445 result.flags = flags
8446 result.semaphoreCount = semaphoreCount
8447 result.pSemaphores = pSemaphores
8448 result.pValues = pValues
8449
8450 proc newVkSemaphoreSignalInfo*(sType: VkStructureType, pNext: pointer = nil, semaphore: VkSemaphore, value: uint64): VkSemaphoreSignalInfo =
8451 result.sType = sType
8452 result.pNext = pNext
8453 result.semaphore = semaphore
8454 result.value = value
8455
8456 proc newVkVertexInputBindingDivisorDescriptionEXT*(binding: uint32, divisor: uint32): VkVertexInputBindingDivisorDescriptionEXT =
8457 result.binding = binding
8458 result.divisor = divisor
8459
8460 proc newVkPipelineVertexInputDivisorStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, vertexBindingDivisorCount: uint32, pVertexBindingDivisors: ptr VkVertexInputBindingDivisorDescriptionEXT): VkPipelineVertexInputDivisorStateCreateInfoEXT =
8461 result.sType = sType
8462 result.pNext = pNext
8463 result.vertexBindingDivisorCount = vertexBindingDivisorCount
8464 result.pVertexBindingDivisors = pVertexBindingDivisors
8465
8466 proc newVkPhysicalDeviceVertexAttributeDivisorPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxVertexAttribDivisor: uint32): VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT =
8467 result.sType = sType
8468 result.pNext = pNext
8469 result.maxVertexAttribDivisor = maxVertexAttribDivisor
8470
8471 proc newVkPhysicalDevicePCIBusInfoPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, pciDomain: uint32, pciBus: uint32, pciDevice: uint32, pciFunction: uint32): VkPhysicalDevicePCIBusInfoPropertiesEXT =
8472 result.sType = sType
8473 result.pNext = pNext
8474 result.pciDomain = pciDomain
8475 result.pciBus = pciBus
8476 result.pciDevice = pciDevice
8477 result.pciFunction = pciFunction
8478
8479 proc newVkImportAndroidHardwareBufferInfoANDROID*(sType: VkStructureType, pNext: pointer = nil, buffer: ptr AHardwareBuffer): VkImportAndroidHardwareBufferInfoANDROID =
8480 result.sType = sType
8481 result.pNext = pNext
8482 result.buffer = buffer
8483
8484 proc newVkAndroidHardwareBufferUsageANDROID*(sType: VkStructureType, pNext: pointer = nil, androidHardwareBufferUsage: uint64): VkAndroidHardwareBufferUsageANDROID =
8485 result.sType = sType
8486 result.pNext = pNext
8487 result.androidHardwareBufferUsage = androidHardwareBufferUsage
8488
8489 proc newVkAndroidHardwareBufferPropertiesANDROID*(sType: VkStructureType, pNext: pointer = nil, allocationSize: VkDeviceSize, memoryTypeBits: uint32): VkAndroidHardwareBufferPropertiesANDROID =
8490 result.sType = sType
8491 result.pNext = pNext
8492 result.allocationSize = allocationSize
8493 result.memoryTypeBits = memoryTypeBits
8494
8495 proc newVkMemoryGetAndroidHardwareBufferInfoANDROID*(sType: VkStructureType, pNext: pointer = nil, memory: VkDeviceMemory): VkMemoryGetAndroidHardwareBufferInfoANDROID =
8496 result.sType = sType
8497 result.pNext = pNext
8498 result.memory = memory
8499
8500 proc newVkAndroidHardwareBufferFormatPropertiesANDROID*(sType: VkStructureType, pNext: pointer = nil, format: VkFormat, externalFormat: uint64, formatFeatures: VkFormatFeatureFlags, samplerYcbcrConversionComponents: VkComponentMapping, suggestedYcbcrModel: VkSamplerYcbcrModelConversion, suggestedYcbcrRange: VkSamplerYcbcrRange, suggestedXChromaOffset: VkChromaLocation, suggestedYChromaOffset: VkChromaLocation): VkAndroidHardwareBufferFormatPropertiesANDROID =
8501 result.sType = sType
8502 result.pNext = pNext
8503 result.format = format
8504 result.externalFormat = externalFormat
8505 result.formatFeatures = formatFeatures
8506 result.samplerYcbcrConversionComponents = samplerYcbcrConversionComponents
8507 result.suggestedYcbcrModel = suggestedYcbcrModel
8508 result.suggestedYcbcrRange = suggestedYcbcrRange
8509 result.suggestedXChromaOffset = suggestedXChromaOffset
8510 result.suggestedYChromaOffset = suggestedYChromaOffset
8511
8512 proc newVkCommandBufferInheritanceConditionalRenderingInfoEXT*(sType: VkStructureType, pNext: pointer = nil, conditionalRenderingEnable: VkBool32): VkCommandBufferInheritanceConditionalRenderingInfoEXT =
8513 result.sType = sType
8514 result.pNext = pNext
8515 result.conditionalRenderingEnable = conditionalRenderingEnable
8516
8517 proc newVkExternalFormatANDROID*(sType: VkStructureType, pNext: pointer = nil, externalFormat: uint64): VkExternalFormatANDROID =
8518 result.sType = sType
8519 result.pNext = pNext
8520 result.externalFormat = externalFormat
8521
8522 proc newVkPhysicalDevice8BitStorageFeatures*(sType: VkStructureType, pNext: pointer = nil, storageBuffer8BitAccess: VkBool32, uniformAndStorageBuffer8BitAccess: VkBool32, storagePushConstant8: VkBool32): VkPhysicalDevice8BitStorageFeatures =
8523 result.sType = sType
8524 result.pNext = pNext
8525 result.storageBuffer8BitAccess = storageBuffer8BitAccess
8526 result.uniformAndStorageBuffer8BitAccess = uniformAndStorageBuffer8BitAccess
8527 result.storagePushConstant8 = storagePushConstant8
8528
8529 proc newVkPhysicalDeviceConditionalRenderingFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, conditionalRendering: VkBool32, inheritedConditionalRendering: VkBool32): VkPhysicalDeviceConditionalRenderingFeaturesEXT =
8530 result.sType = sType
8531 result.pNext = pNext
8532 result.conditionalRendering = conditionalRendering
8533 result.inheritedConditionalRendering = inheritedConditionalRendering
8534
8535 proc newVkPhysicalDeviceVulkanMemoryModelFeatures*(sType: VkStructureType, pNext: pointer = nil, vulkanMemoryModel: VkBool32, vulkanMemoryModelDeviceScope: VkBool32, vulkanMemoryModelAvailabilityVisibilityChains: VkBool32): VkPhysicalDeviceVulkanMemoryModelFeatures =
8536 result.sType = sType
8537 result.pNext = pNext
8538 result.vulkanMemoryModel = vulkanMemoryModel
8539 result.vulkanMemoryModelDeviceScope = vulkanMemoryModelDeviceScope
8540 result.vulkanMemoryModelAvailabilityVisibilityChains = vulkanMemoryModelAvailabilityVisibilityChains
8541
8542 proc newVkPhysicalDeviceShaderAtomicInt64Features*(sType: VkStructureType, pNext: pointer = nil, shaderBufferInt64Atomics: VkBool32, shaderSharedInt64Atomics: VkBool32): VkPhysicalDeviceShaderAtomicInt64Features =
8543 result.sType = sType
8544 result.pNext = pNext
8545 result.shaderBufferInt64Atomics = shaderBufferInt64Atomics
8546 result.shaderSharedInt64Atomics = shaderSharedInt64Atomics
8547
8548 proc newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, shaderBufferFloat32Atomics: VkBool32, shaderBufferFloat32AtomicAdd: VkBool32, shaderBufferFloat64Atomics: VkBool32, shaderBufferFloat64AtomicAdd: VkBool32, shaderSharedFloat32Atomics: VkBool32, shaderSharedFloat32AtomicAdd: VkBool32, shaderSharedFloat64Atomics: VkBool32, shaderSharedFloat64AtomicAdd: VkBool32, shaderImageFloat32Atomics: VkBool32, shaderImageFloat32AtomicAdd: VkBool32, sparseImageFloat32Atomics: VkBool32, sparseImageFloat32AtomicAdd: VkBool32): VkPhysicalDeviceShaderAtomicFloatFeaturesEXT =
8549 result.sType = sType
8550 result.pNext = pNext
8551 result.shaderBufferFloat32Atomics = shaderBufferFloat32Atomics
8552 result.shaderBufferFloat32AtomicAdd = shaderBufferFloat32AtomicAdd
8553 result.shaderBufferFloat64Atomics = shaderBufferFloat64Atomics
8554 result.shaderBufferFloat64AtomicAdd = shaderBufferFloat64AtomicAdd
8555 result.shaderSharedFloat32Atomics = shaderSharedFloat32Atomics
8556 result.shaderSharedFloat32AtomicAdd = shaderSharedFloat32AtomicAdd
8557 result.shaderSharedFloat64Atomics = shaderSharedFloat64Atomics
8558 result.shaderSharedFloat64AtomicAdd = shaderSharedFloat64AtomicAdd
8559 result.shaderImageFloat32Atomics = shaderImageFloat32Atomics
8560 result.shaderImageFloat32AtomicAdd = shaderImageFloat32AtomicAdd
8561 result.sparseImageFloat32Atomics = sparseImageFloat32Atomics
8562 result.sparseImageFloat32AtomicAdd = sparseImageFloat32AtomicAdd
8563
8564 proc newVkPhysicalDeviceVertexAttributeDivisorFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, vertexAttributeInstanceRateDivisor: VkBool32, vertexAttributeInstanceRateZeroDivisor: VkBool32): VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT =
8565 result.sType = sType
8566 result.pNext = pNext
8567 result.vertexAttributeInstanceRateDivisor = vertexAttributeInstanceRateDivisor
8568 result.vertexAttributeInstanceRateZeroDivisor = vertexAttributeInstanceRateZeroDivisor
8569
8570 proc newVkQueueFamilyCheckpointPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, checkpointExecutionStageMask: VkPipelineStageFlags): VkQueueFamilyCheckpointPropertiesNV =
8571 result.sType = sType
8572 result.pNext = pNext
8573 result.checkpointExecutionStageMask = checkpointExecutionStageMask
8574
8575 proc newVkCheckpointDataNV*(sType: VkStructureType, pNext: pointer = nil, stage: VkPipelineStageFlagBits, pCheckpointMarker: pointer = nil): VkCheckpointDataNV =
8576 result.sType = sType
8577 result.pNext = pNext
8578 result.stage = stage
8579 result.pCheckpointMarker = pCheckpointMarker
8580
8581 proc newVkPhysicalDeviceDepthStencilResolveProperties*(sType: VkStructureType, pNext: pointer = nil, supportedDepthResolveModes: VkResolveModeFlags, supportedStencilResolveModes: VkResolveModeFlags, independentResolveNone: VkBool32, independentResolve: VkBool32): VkPhysicalDeviceDepthStencilResolveProperties =
8582 result.sType = sType
8583 result.pNext = pNext
8584 result.supportedDepthResolveModes = supportedDepthResolveModes
8585 result.supportedStencilResolveModes = supportedStencilResolveModes
8586 result.independentResolveNone = independentResolveNone
8587 result.independentResolve = independentResolve
8588
8589 proc newVkSubpassDescriptionDepthStencilResolve*(sType: VkStructureType, pNext: pointer = nil, depthResolveMode: VkResolveModeFlagBits, stencilResolveMode: VkResolveModeFlagBits, pDepthStencilResolveAttachment: ptr VkAttachmentReference2): VkSubpassDescriptionDepthStencilResolve =
8590 result.sType = sType
8591 result.pNext = pNext
8592 result.depthResolveMode = depthResolveMode
8593 result.stencilResolveMode = stencilResolveMode
8594 result.pDepthStencilResolveAttachment = pDepthStencilResolveAttachment
8595
8596 proc newVkImageViewASTCDecodeModeEXT*(sType: VkStructureType, pNext: pointer = nil, decodeMode: VkFormat): VkImageViewASTCDecodeModeEXT =
8597 result.sType = sType
8598 result.pNext = pNext
8599 result.decodeMode = decodeMode
8600
8601 proc newVkPhysicalDeviceASTCDecodeFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, decodeModeSharedExponent: VkBool32): VkPhysicalDeviceASTCDecodeFeaturesEXT =
8602 result.sType = sType
8603 result.pNext = pNext
8604 result.decodeModeSharedExponent = decodeModeSharedExponent
8605
8606 proc newVkPhysicalDeviceTransformFeedbackFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, transformFeedback: VkBool32, geometryStreams: VkBool32): VkPhysicalDeviceTransformFeedbackFeaturesEXT =
8607 result.sType = sType
8608 result.pNext = pNext
8609 result.transformFeedback = transformFeedback
8610 result.geometryStreams = geometryStreams
8611
8612 proc newVkPhysicalDeviceTransformFeedbackPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxTransformFeedbackStreams: uint32, maxTransformFeedbackBuffers: uint32, maxTransformFeedbackBufferSize: VkDeviceSize, maxTransformFeedbackStreamDataSize: uint32, maxTransformFeedbackBufferDataSize: uint32, maxTransformFeedbackBufferDataStride: uint32, transformFeedbackQueries: VkBool32, transformFeedbackStreamsLinesTriangles: VkBool32, transformFeedbackRasterizationStreamSelect: VkBool32, transformFeedbackDraw: VkBool32): VkPhysicalDeviceTransformFeedbackPropertiesEXT =
8613 result.sType = sType
8614 result.pNext = pNext
8615 result.maxTransformFeedbackStreams = maxTransformFeedbackStreams
8616 result.maxTransformFeedbackBuffers = maxTransformFeedbackBuffers
8617 result.maxTransformFeedbackBufferSize = maxTransformFeedbackBufferSize
8618 result.maxTransformFeedbackStreamDataSize = maxTransformFeedbackStreamDataSize
8619 result.maxTransformFeedbackBufferDataSize = maxTransformFeedbackBufferDataSize
8620 result.maxTransformFeedbackBufferDataStride = maxTransformFeedbackBufferDataStride
8621 result.transformFeedbackQueries = transformFeedbackQueries
8622 result.transformFeedbackStreamsLinesTriangles = transformFeedbackStreamsLinesTriangles
8623 result.transformFeedbackRasterizationStreamSelect = transformFeedbackRasterizationStreamSelect
8624 result.transformFeedbackDraw = transformFeedbackDraw
8625
8626 proc newVkPipelineRasterizationStateStreamCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineRasterizationStateStreamCreateFlagsEXT = 0.VkPipelineRasterizationStateStreamCreateFlagsEXT, rasterizationStream: uint32): VkPipelineRasterizationStateStreamCreateInfoEXT =
8627 result.sType = sType
8628 result.pNext = pNext
8629 result.flags = flags
8630 result.rasterizationStream = rasterizationStream
8631
8632 proc newVkPhysicalDeviceRepresentativeFragmentTestFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, representativeFragmentTest: VkBool32): VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV =
8633 result.sType = sType
8634 result.pNext = pNext
8635 result.representativeFragmentTest = representativeFragmentTest
8636
8637 proc newVkPipelineRepresentativeFragmentTestStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, representativeFragmentTestEnable: VkBool32): VkPipelineRepresentativeFragmentTestStateCreateInfoNV =
8638 result.sType = sType
8639 result.pNext = pNext
8640 result.representativeFragmentTestEnable = representativeFragmentTestEnable
8641
8642 proc newVkPhysicalDeviceExclusiveScissorFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, exclusiveScissor: VkBool32): VkPhysicalDeviceExclusiveScissorFeaturesNV =
8643 result.sType = sType
8644 result.pNext = pNext
8645 result.exclusiveScissor = exclusiveScissor
8646
8647 proc newVkPipelineViewportExclusiveScissorStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, exclusiveScissorCount: uint32, pExclusiveScissors: ptr VkRect2D): VkPipelineViewportExclusiveScissorStateCreateInfoNV =
8648 result.sType = sType
8649 result.pNext = pNext
8650 result.exclusiveScissorCount = exclusiveScissorCount
8651 result.pExclusiveScissors = pExclusiveScissors
8652
8653 proc newVkPhysicalDeviceCornerSampledImageFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, cornerSampledImage: VkBool32): VkPhysicalDeviceCornerSampledImageFeaturesNV =
8654 result.sType = sType
8655 result.pNext = pNext
8656 result.cornerSampledImage = cornerSampledImage
8657
8658 proc newVkPhysicalDeviceComputeShaderDerivativesFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, computeDerivativeGroupQuads: VkBool32, computeDerivativeGroupLinear: VkBool32): VkPhysicalDeviceComputeShaderDerivativesFeaturesNV =
8659 result.sType = sType
8660 result.pNext = pNext
8661 result.computeDerivativeGroupQuads = computeDerivativeGroupQuads
8662 result.computeDerivativeGroupLinear = computeDerivativeGroupLinear
8663
8664 proc newVkPhysicalDeviceFragmentShaderBarycentricFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, fragmentShaderBarycentric: VkBool32): VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV =
8665 result.sType = sType
8666 result.pNext = pNext
8667 result.fragmentShaderBarycentric = fragmentShaderBarycentric
8668
8669 proc newVkPhysicalDeviceShaderImageFootprintFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, imageFootprint: VkBool32): VkPhysicalDeviceShaderImageFootprintFeaturesNV =
8670 result.sType = sType
8671 result.pNext = pNext
8672 result.imageFootprint = imageFootprint
8673
8674 proc newVkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, dedicatedAllocationImageAliasing: VkBool32): VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV =
8675 result.sType = sType
8676 result.pNext = pNext
8677 result.dedicatedAllocationImageAliasing = dedicatedAllocationImageAliasing
8678
8679 proc newVkShadingRatePaletteNV*(shadingRatePaletteEntryCount: uint32, pShadingRatePaletteEntries: ptr VkShadingRatePaletteEntryNV): VkShadingRatePaletteNV =
8680 result.shadingRatePaletteEntryCount = shadingRatePaletteEntryCount
8681 result.pShadingRatePaletteEntries = pShadingRatePaletteEntries
8682
8683 proc newVkPipelineViewportShadingRateImageStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, shadingRateImageEnable: VkBool32, viewportCount: uint32, pShadingRatePalettes: ptr VkShadingRatePaletteNV): VkPipelineViewportShadingRateImageStateCreateInfoNV =
8684 result.sType = sType
8685 result.pNext = pNext
8686 result.shadingRateImageEnable = shadingRateImageEnable
8687 result.viewportCount = viewportCount
8688 result.pShadingRatePalettes = pShadingRatePalettes
8689
8690 proc newVkPhysicalDeviceShadingRateImageFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, shadingRateImage: VkBool32, shadingRateCoarseSampleOrder: VkBool32): VkPhysicalDeviceShadingRateImageFeaturesNV =
8691 result.sType = sType
8692 result.pNext = pNext
8693 result.shadingRateImage = shadingRateImage
8694 result.shadingRateCoarseSampleOrder = shadingRateCoarseSampleOrder
8695
8696 proc newVkPhysicalDeviceShadingRateImagePropertiesNV*(sType: VkStructureType, pNext: pointer = nil, shadingRateTexelSize: VkExtent2D, shadingRatePaletteSize: uint32, shadingRateMaxCoarseSamples: uint32): VkPhysicalDeviceShadingRateImagePropertiesNV =
8697 result.sType = sType
8698 result.pNext = pNext
8699 result.shadingRateTexelSize = shadingRateTexelSize
8700 result.shadingRatePaletteSize = shadingRatePaletteSize
8701 result.shadingRateMaxCoarseSamples = shadingRateMaxCoarseSamples
8702
8703 proc newVkCoarseSampleLocationNV*(pixelX: uint32, pixelY: uint32, sample: uint32): VkCoarseSampleLocationNV =
8704 result.pixelX = pixelX
8705 result.pixelY = pixelY
8706 result.sample = sample
8707
8708 proc newVkCoarseSampleOrderCustomNV*(shadingRate: VkShadingRatePaletteEntryNV, sampleCount: uint32, sampleLocationCount: uint32, pSampleLocations: ptr VkCoarseSampleLocationNV): VkCoarseSampleOrderCustomNV =
8709 result.shadingRate = shadingRate
8710 result.sampleCount = sampleCount
8711 result.sampleLocationCount = sampleLocationCount
8712 result.pSampleLocations = pSampleLocations
8713
8714 proc newVkPipelineViewportCoarseSampleOrderStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, sampleOrderType: VkCoarseSampleOrderTypeNV, customSampleOrderCount: uint32, pCustomSampleOrders: ptr VkCoarseSampleOrderCustomNV): VkPipelineViewportCoarseSampleOrderStateCreateInfoNV =
8715 result.sType = sType
8716 result.pNext = pNext
8717 result.sampleOrderType = sampleOrderType
8718 result.customSampleOrderCount = customSampleOrderCount
8719 result.pCustomSampleOrders = pCustomSampleOrders
8720
8721 proc newVkPhysicalDeviceMeshShaderFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, taskShader: VkBool32, meshShader: VkBool32): VkPhysicalDeviceMeshShaderFeaturesNV =
8722 result.sType = sType
8723 result.pNext = pNext
8724 result.taskShader = taskShader
8725 result.meshShader = meshShader
8726
8727 proc newVkPhysicalDeviceMeshShaderPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, maxDrawMeshTasksCount: uint32, maxTaskWorkGroupInvocations: uint32, maxTaskWorkGroupSize: array[3, uint32], maxTaskTotalMemorySize: uint32, maxTaskOutputCount: uint32, maxMeshWorkGroupInvocations: uint32, maxMeshWorkGroupSize: array[3, uint32], maxMeshTotalMemorySize: uint32, maxMeshOutputVertices: uint32, maxMeshOutputPrimitives: uint32, maxMeshMultiviewViewCount: uint32, meshOutputPerVertexGranularity: uint32, meshOutputPerPrimitiveGranularity: uint32): VkPhysicalDeviceMeshShaderPropertiesNV =
8728 result.sType = sType
8729 result.pNext = pNext
8730 result.maxDrawMeshTasksCount = maxDrawMeshTasksCount
8731 result.maxTaskWorkGroupInvocations = maxTaskWorkGroupInvocations
8732 result.maxTaskWorkGroupSize = maxTaskWorkGroupSize
8733 result.maxTaskTotalMemorySize = maxTaskTotalMemorySize
8734 result.maxTaskOutputCount = maxTaskOutputCount
8735 result.maxMeshWorkGroupInvocations = maxMeshWorkGroupInvocations
8736 result.maxMeshWorkGroupSize = maxMeshWorkGroupSize
8737 result.maxMeshTotalMemorySize = maxMeshTotalMemorySize
8738 result.maxMeshOutputVertices = maxMeshOutputVertices
8739 result.maxMeshOutputPrimitives = maxMeshOutputPrimitives
8740 result.maxMeshMultiviewViewCount = maxMeshMultiviewViewCount
8741 result.meshOutputPerVertexGranularity = meshOutputPerVertexGranularity
8742 result.meshOutputPerPrimitiveGranularity = meshOutputPerPrimitiveGranularity
8743
8744 proc newVkDrawMeshTasksIndirectCommandNV*(taskCount: uint32, firstTask: uint32): VkDrawMeshTasksIndirectCommandNV =
8745 result.taskCount = taskCount
8746 result.firstTask = firstTask
8747
8748 proc newVkRayTracingShaderGroupCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, `type`: VkRayTracingShaderGroupTypeKHR, generalShader: uint32, closestHitShader: uint32, anyHitShader: uint32, intersectionShader: uint32): VkRayTracingShaderGroupCreateInfoNV =
8749 result.sType = sType
8750 result.pNext = pNext
8751 result.`type` = `type`
8752 result.generalShader = generalShader
8753 result.closestHitShader = closestHitShader
8754 result.anyHitShader = anyHitShader
8755 result.intersectionShader = intersectionShader
8756
8757 proc newVkRayTracingShaderGroupCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, `type`: VkRayTracingShaderGroupTypeKHR, generalShader: uint32, closestHitShader: uint32, anyHitShader: uint32, intersectionShader: uint32, pShaderGroupCaptureReplayHandle: pointer = nil): VkRayTracingShaderGroupCreateInfoKHR =
8758 result.sType = sType
8759 result.pNext = pNext
8760 result.`type` = `type`
8761 result.generalShader = generalShader
8762 result.closestHitShader = closestHitShader
8763 result.anyHitShader = anyHitShader
8764 result.intersectionShader = intersectionShader
8765 result.pShaderGroupCaptureReplayHandle = pShaderGroupCaptureReplayHandle
8766
8767 proc newVkRayTracingPipelineCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineCreateFlags = 0.VkPipelineCreateFlags, stageCount: uint32, pStages: ptr VkPipelineShaderStageCreateInfo, groupCount: uint32, pGroups: ptr VkRayTracingShaderGroupCreateInfoNV, maxRecursionDepth: uint32, layout: VkPipelineLayout, basePipelineHandle: VkPipeline, basePipelineIndex: int32): VkRayTracingPipelineCreateInfoNV =
8768 result.sType = sType
8769 result.pNext = pNext
8770 result.flags = flags
8771 result.stageCount = stageCount
8772 result.pStages = pStages
8773 result.groupCount = groupCount
8774 result.pGroups = pGroups
8775 result.maxRecursionDepth = maxRecursionDepth
8776 result.layout = layout
8777 result.basePipelineHandle = basePipelineHandle
8778 result.basePipelineIndex = basePipelineIndex
8779
8780 proc newVkRayTracingPipelineCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineCreateFlags = 0.VkPipelineCreateFlags, stageCount: uint32, pStages: ptr VkPipelineShaderStageCreateInfo, groupCount: uint32, pGroups: ptr VkRayTracingShaderGroupCreateInfoKHR, maxRecursionDepth: uint32, libraries: VkPipelineLibraryCreateInfoKHR, pLibraryInterface: ptr VkRayTracingPipelineInterfaceCreateInfoKHR, layout: VkPipelineLayout, basePipelineHandle: VkPipeline, basePipelineIndex: int32): VkRayTracingPipelineCreateInfoKHR =
8781 result.sType = sType
8782 result.pNext = pNext
8783 result.flags = flags
8784 result.stageCount = stageCount
8785 result.pStages = pStages
8786 result.groupCount = groupCount
8787 result.pGroups = pGroups
8788 result.maxRecursionDepth = maxRecursionDepth
8789 result.libraries = libraries
8790 result.pLibraryInterface = pLibraryInterface
8791 result.layout = layout
8792 result.basePipelineHandle = basePipelineHandle
8793 result.basePipelineIndex = basePipelineIndex
8794
8795 proc newVkGeometryTrianglesNV*(sType: VkStructureType, pNext: pointer = nil, vertexData: VkBuffer, vertexOffset: VkDeviceSize, vertexCount: uint32, vertexStride: VkDeviceSize, vertexFormat: VkFormat, indexData: VkBuffer, indexOffset: VkDeviceSize, indexCount: uint32, indexType: VkIndexType, transformData: VkBuffer, transformOffset: VkDeviceSize): VkGeometryTrianglesNV =
8796 result.sType = sType
8797 result.pNext = pNext
8798 result.vertexData = vertexData
8799 result.vertexOffset = vertexOffset
8800 result.vertexCount = vertexCount
8801 result.vertexStride = vertexStride
8802 result.vertexFormat = vertexFormat
8803 result.indexData = indexData
8804 result.indexOffset = indexOffset
8805 result.indexCount = indexCount
8806 result.indexType = indexType
8807 result.transformData = transformData
8808 result.transformOffset = transformOffset
8809
8810 proc newVkGeometryAABBNV*(sType: VkStructureType, pNext: pointer = nil, aabbData: VkBuffer, numAABBs: uint32, stride: uint32, offset: VkDeviceSize): VkGeometryAABBNV =
8811 result.sType = sType
8812 result.pNext = pNext
8813 result.aabbData = aabbData
8814 result.numAABBs = numAABBs
8815 result.stride = stride
8816 result.offset = offset
8817
8818 proc newVkGeometryDataNV*(triangles: VkGeometryTrianglesNV, aabbs: VkGeometryAABBNV): VkGeometryDataNV =
8819 result.triangles = triangles
8820 result.aabbs = aabbs
8821
8822 proc newVkGeometryNV*(sType: VkStructureType, pNext: pointer = nil, geometryType: VkGeometryTypeKHR, geometry: VkGeometryDataNV, flags: VkGeometryFlagsKHR = 0.VkGeometryFlagsKHR): VkGeometryNV =
8823 result.sType = sType
8824 result.pNext = pNext
8825 result.geometryType = geometryType
8826 result.geometry = geometry
8827 result.flags = flags
8828
8829 proc newVkAccelerationStructureInfoNV*(sType: VkStructureType, pNext: pointer = nil, `type`: VkAccelerationStructureTypeNV, flags: VkBuildAccelerationStructureFlagsNV = 0.VkBuildAccelerationStructureFlagsNV, instanceCount: uint32, geometryCount: uint32, pGeometries: ptr VkGeometryNV): VkAccelerationStructureInfoNV =
8830 result.sType = sType
8831 result.pNext = pNext
8832 result.`type` = `type`
8833 result.flags = flags
8834 result.instanceCount = instanceCount
8835 result.geometryCount = geometryCount
8836 result.pGeometries = pGeometries
8837
8838 proc newVkAccelerationStructureCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, compactedSize: VkDeviceSize, info: VkAccelerationStructureInfoNV): VkAccelerationStructureCreateInfoNV =
8839 result.sType = sType
8840 result.pNext = pNext
8841 result.compactedSize = compactedSize
8842 result.info = info
8843
8844 proc newVkBindAccelerationStructureMemoryInfoKHR*(sType: VkStructureType, pNext: pointer = nil, accelerationStructure: VkAccelerationStructureKHR, memory: VkDeviceMemory, memoryOffset: VkDeviceSize, deviceIndexCount: uint32, pDeviceIndices: ptr uint32): VkBindAccelerationStructureMemoryInfoKHR =
8845 result.sType = sType
8846 result.pNext = pNext
8847 result.accelerationStructure = accelerationStructure
8848 result.memory = memory
8849 result.memoryOffset = memoryOffset
8850 result.deviceIndexCount = deviceIndexCount
8851 result.pDeviceIndices = pDeviceIndices
8852
8853 proc newVkWriteDescriptorSetAccelerationStructureKHR*(sType: VkStructureType, pNext: pointer = nil, accelerationStructureCount: uint32, pAccelerationStructures: ptr VkAccelerationStructureKHR): VkWriteDescriptorSetAccelerationStructureKHR =
8854 result.sType = sType
8855 result.pNext = pNext
8856 result.accelerationStructureCount = accelerationStructureCount
8857 result.pAccelerationStructures = pAccelerationStructures
8858
8859 proc newVkAccelerationStructureMemoryRequirementsInfoKHR*(sType: VkStructureType, pNext: pointer = nil, `type`: VkAccelerationStructureMemoryRequirementsTypeKHR, buildType: VkAccelerationStructureBuildTypeKHR, accelerationStructure: VkAccelerationStructureKHR): VkAccelerationStructureMemoryRequirementsInfoKHR =
8860 result.sType = sType
8861 result.pNext = pNext
8862 result.`type` = `type`
8863 result.buildType = buildType
8864 result.accelerationStructure = accelerationStructure
8865
8866 proc newVkAccelerationStructureMemoryRequirementsInfoNV*(sType: VkStructureType, pNext: pointer = nil, `type`: VkAccelerationStructureMemoryRequirementsTypeNV, accelerationStructure: VkAccelerationStructureNV): VkAccelerationStructureMemoryRequirementsInfoNV =
8867 result.sType = sType
8868 result.pNext = pNext
8869 result.`type` = `type`
8870 result.accelerationStructure = accelerationStructure
8871
8872 proc newVkPhysicalDeviceRayTracingFeaturesKHR*(sType: VkStructureType, pNext: pointer = nil, rayTracing: VkBool32, rayTracingShaderGroupHandleCaptureReplay: VkBool32, rayTracingShaderGroupHandleCaptureReplayMixed: VkBool32, rayTracingAccelerationStructureCaptureReplay: VkBool32, rayTracingIndirectTraceRays: VkBool32, rayTracingIndirectAccelerationStructureBuild: VkBool32, rayTracingHostAccelerationStructureCommands: VkBool32, rayQuery: VkBool32, rayTracingPrimitiveCulling: VkBool32): VkPhysicalDeviceRayTracingFeaturesKHR =
8873 result.sType = sType
8874 result.pNext = pNext
8875 result.rayTracing = rayTracing
8876 result.rayTracingShaderGroupHandleCaptureReplay = rayTracingShaderGroupHandleCaptureReplay
8877 result.rayTracingShaderGroupHandleCaptureReplayMixed = rayTracingShaderGroupHandleCaptureReplayMixed
8878 result.rayTracingAccelerationStructureCaptureReplay = rayTracingAccelerationStructureCaptureReplay
8879 result.rayTracingIndirectTraceRays = rayTracingIndirectTraceRays
8880 result.rayTracingIndirectAccelerationStructureBuild = rayTracingIndirectAccelerationStructureBuild
8881 result.rayTracingHostAccelerationStructureCommands = rayTracingHostAccelerationStructureCommands
8882 result.rayQuery = rayQuery
8883 result.rayTracingPrimitiveCulling = rayTracingPrimitiveCulling
8884
8885 proc newVkPhysicalDeviceRayTracingPropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, shaderGroupHandleSize: uint32, maxRecursionDepth: uint32, maxShaderGroupStride: uint32, shaderGroupBaseAlignment: uint32, maxGeometryCount: uint64, maxInstanceCount: uint64, maxPrimitiveCount: uint64, maxDescriptorSetAccelerationStructures: uint32, shaderGroupHandleCaptureReplaySize: uint32): VkPhysicalDeviceRayTracingPropertiesKHR =
8886 result.sType = sType
8887 result.pNext = pNext
8888 result.shaderGroupHandleSize = shaderGroupHandleSize
8889 result.maxRecursionDepth = maxRecursionDepth
8890 result.maxShaderGroupStride = maxShaderGroupStride
8891 result.shaderGroupBaseAlignment = shaderGroupBaseAlignment
8892 result.maxGeometryCount = maxGeometryCount
8893 result.maxInstanceCount = maxInstanceCount
8894 result.maxPrimitiveCount = maxPrimitiveCount
8895 result.maxDescriptorSetAccelerationStructures = maxDescriptorSetAccelerationStructures
8896 result.shaderGroupHandleCaptureReplaySize = shaderGroupHandleCaptureReplaySize
8897
8898 proc newVkPhysicalDeviceRayTracingPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, shaderGroupHandleSize: uint32, maxRecursionDepth: uint32, maxShaderGroupStride: uint32, shaderGroupBaseAlignment: uint32, maxGeometryCount: uint64, maxInstanceCount: uint64, maxTriangleCount: uint64, maxDescriptorSetAccelerationStructures: uint32): VkPhysicalDeviceRayTracingPropertiesNV =
8899 result.sType = sType
8900 result.pNext = pNext
8901 result.shaderGroupHandleSize = shaderGroupHandleSize
8902 result.maxRecursionDepth = maxRecursionDepth
8903 result.maxShaderGroupStride = maxShaderGroupStride
8904 result.shaderGroupBaseAlignment = shaderGroupBaseAlignment
8905 result.maxGeometryCount = maxGeometryCount
8906 result.maxInstanceCount = maxInstanceCount
8907 result.maxTriangleCount = maxTriangleCount
8908 result.maxDescriptorSetAccelerationStructures = maxDescriptorSetAccelerationStructures
8909
8910 proc newVkStridedBufferRegionKHR*(buffer: VkBuffer, offset: VkDeviceSize, stride: VkDeviceSize, size: VkDeviceSize): VkStridedBufferRegionKHR =
8911 result.buffer = buffer
8912 result.offset = offset
8913 result.stride = stride
8914 result.size = size
8915
8916 proc newVkTraceRaysIndirectCommandKHR*(width: uint32, height: uint32, depth: uint32): VkTraceRaysIndirectCommandKHR =
8917 result.width = width
8918 result.height = height
8919 result.depth = depth
8920
8921 proc newVkDrmFormatModifierPropertiesListEXT*(sType: VkStructureType, pNext: pointer = nil, drmFormatModifierCount: uint32, pDrmFormatModifierProperties: ptr VkDrmFormatModifierPropertiesEXT): VkDrmFormatModifierPropertiesListEXT =
8922 result.sType = sType
8923 result.pNext = pNext
8924 result.drmFormatModifierCount = drmFormatModifierCount
8925 result.pDrmFormatModifierProperties = pDrmFormatModifierProperties
8926
8927 proc newVkDrmFormatModifierPropertiesEXT*(drmFormatModifier: uint64, drmFormatModifierPlaneCount: uint32, drmFormatModifierTilingFeatures: VkFormatFeatureFlags): VkDrmFormatModifierPropertiesEXT =
8928 result.drmFormatModifier = drmFormatModifier
8929 result.drmFormatModifierPlaneCount = drmFormatModifierPlaneCount
8930 result.drmFormatModifierTilingFeatures = drmFormatModifierTilingFeatures
8931
8932 proc newVkPhysicalDeviceImageDrmFormatModifierInfoEXT*(sType: VkStructureType, pNext: pointer = nil, drmFormatModifier: uint64, sharingMode: VkSharingMode, queueFamilyIndexCount: uint32, pQueueFamilyIndices: ptr uint32): VkPhysicalDeviceImageDrmFormatModifierInfoEXT =
8933 result.sType = sType
8934 result.pNext = pNext
8935 result.drmFormatModifier = drmFormatModifier
8936 result.sharingMode = sharingMode
8937 result.queueFamilyIndexCount = queueFamilyIndexCount
8938 result.pQueueFamilyIndices = pQueueFamilyIndices
8939
8940 proc newVkImageDrmFormatModifierListCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, drmFormatModifierCount: uint32, pDrmFormatModifiers: ptr uint64): VkImageDrmFormatModifierListCreateInfoEXT =
8941 result.sType = sType
8942 result.pNext = pNext
8943 result.drmFormatModifierCount = drmFormatModifierCount
8944 result.pDrmFormatModifiers = pDrmFormatModifiers
8945
8946 proc newVkImageDrmFormatModifierExplicitCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, drmFormatModifier: uint64, drmFormatModifierPlaneCount: uint32, pPlaneLayouts: ptr VkSubresourceLayout): VkImageDrmFormatModifierExplicitCreateInfoEXT =
8947 result.sType = sType
8948 result.pNext = pNext
8949 result.drmFormatModifier = drmFormatModifier
8950 result.drmFormatModifierPlaneCount = drmFormatModifierPlaneCount
8951 result.pPlaneLayouts = pPlaneLayouts
8952
8953 proc newVkImageDrmFormatModifierPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, drmFormatModifier: uint64): VkImageDrmFormatModifierPropertiesEXT =
8954 result.sType = sType
8955 result.pNext = pNext
8956 result.drmFormatModifier = drmFormatModifier
8957
8958 proc newVkImageStencilUsageCreateInfo*(sType: VkStructureType, pNext: pointer = nil, stencilUsage: VkImageUsageFlags): VkImageStencilUsageCreateInfo =
8959 result.sType = sType
8960 result.pNext = pNext
8961 result.stencilUsage = stencilUsage
8962
8963 proc newVkDeviceMemoryOverallocationCreateInfoAMD*(sType: VkStructureType, pNext: pointer = nil, overallocationBehavior: VkMemoryOverallocationBehaviorAMD): VkDeviceMemoryOverallocationCreateInfoAMD =
8964 result.sType = sType
8965 result.pNext = pNext
8966 result.overallocationBehavior = overallocationBehavior
8967
8968 proc newVkPhysicalDeviceFragmentDensityMapFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, fragmentDensityMap: VkBool32, fragmentDensityMapDynamic: VkBool32, fragmentDensityMapNonSubsampledImages: VkBool32): VkPhysicalDeviceFragmentDensityMapFeaturesEXT =
8969 result.sType = sType
8970 result.pNext = pNext
8971 result.fragmentDensityMap = fragmentDensityMap
8972 result.fragmentDensityMapDynamic = fragmentDensityMapDynamic
8973 result.fragmentDensityMapNonSubsampledImages = fragmentDensityMapNonSubsampledImages
8974
8975 proc newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, fragmentDensityMapDeferred: VkBool32): VkPhysicalDeviceFragmentDensityMap2FeaturesEXT =
8976 result.sType = sType
8977 result.pNext = pNext
8978 result.fragmentDensityMapDeferred = fragmentDensityMapDeferred
8979
8980 proc newVkPhysicalDeviceFragmentDensityMapPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, minFragmentDensityTexelSize: VkExtent2D, maxFragmentDensityTexelSize: VkExtent2D, fragmentDensityInvocations: VkBool32): VkPhysicalDeviceFragmentDensityMapPropertiesEXT =
8981 result.sType = sType
8982 result.pNext = pNext
8983 result.minFragmentDensityTexelSize = minFragmentDensityTexelSize
8984 result.maxFragmentDensityTexelSize = maxFragmentDensityTexelSize
8985 result.fragmentDensityInvocations = fragmentDensityInvocations
8986
8987 proc newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, subsampledLoads: VkBool32, subsampledCoarseReconstructionEarlyAccess: VkBool32, maxSubsampledArrayLayers: uint32, maxDescriptorSetSubsampledSamplers: uint32): VkPhysicalDeviceFragmentDensityMap2PropertiesEXT =
8988 result.sType = sType
8989 result.pNext = pNext
8990 result.subsampledLoads = subsampledLoads
8991 result.subsampledCoarseReconstructionEarlyAccess = subsampledCoarseReconstructionEarlyAccess
8992 result.maxSubsampledArrayLayers = maxSubsampledArrayLayers
8993 result.maxDescriptorSetSubsampledSamplers = maxDescriptorSetSubsampledSamplers
8994
8995 proc newVkRenderPassFragmentDensityMapCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, fragmentDensityMapAttachment: VkAttachmentReference): VkRenderPassFragmentDensityMapCreateInfoEXT =
8996 result.sType = sType
8997 result.pNext = pNext
8998 result.fragmentDensityMapAttachment = fragmentDensityMapAttachment
8999
9000 proc newVkPhysicalDeviceScalarBlockLayoutFeatures*(sType: VkStructureType, pNext: pointer = nil, scalarBlockLayout: VkBool32): VkPhysicalDeviceScalarBlockLayoutFeatures =
9001 result.sType = sType
9002 result.pNext = pNext
9003 result.scalarBlockLayout = scalarBlockLayout
9004
9005 proc newVkSurfaceProtectedCapabilitiesKHR*(sType: VkStructureType, pNext: pointer = nil, supportsProtected: VkBool32): VkSurfaceProtectedCapabilitiesKHR =
9006 result.sType = sType
9007 result.pNext = pNext
9008 result.supportsProtected = supportsProtected
9009
9010 proc newVkPhysicalDeviceUniformBufferStandardLayoutFeatures*(sType: VkStructureType, pNext: pointer = nil, uniformBufferStandardLayout: VkBool32): VkPhysicalDeviceUniformBufferStandardLayoutFeatures =
9011 result.sType = sType
9012 result.pNext = pNext
9013 result.uniformBufferStandardLayout = uniformBufferStandardLayout
9014
9015 proc newVkPhysicalDeviceDepthClipEnableFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, depthClipEnable: VkBool32): VkPhysicalDeviceDepthClipEnableFeaturesEXT =
9016 result.sType = sType
9017 result.pNext = pNext
9018 result.depthClipEnable = depthClipEnable
9019
9020 proc newVkPipelineRasterizationDepthClipStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineRasterizationDepthClipStateCreateFlagsEXT = 0.VkPipelineRasterizationDepthClipStateCreateFlagsEXT, depthClipEnable: VkBool32): VkPipelineRasterizationDepthClipStateCreateInfoEXT =
9021 result.sType = sType
9022 result.pNext = pNext
9023 result.flags = flags
9024 result.depthClipEnable = depthClipEnable
9025
9026 proc newVkPhysicalDeviceMemoryBudgetPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, heapBudget: array[VK_MAX_MEMORY_HEAPS, VkDeviceSize], heapUsage: array[VK_MAX_MEMORY_HEAPS, VkDeviceSize]): VkPhysicalDeviceMemoryBudgetPropertiesEXT =
9027 result.sType = sType
9028 result.pNext = pNext
9029 result.heapBudget = heapBudget
9030 result.heapUsage = heapUsage
9031
9032 proc newVkPhysicalDeviceMemoryPriorityFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, memoryPriority: VkBool32): VkPhysicalDeviceMemoryPriorityFeaturesEXT =
9033 result.sType = sType
9034 result.pNext = pNext
9035 result.memoryPriority = memoryPriority
9036
9037 proc newVkMemoryPriorityAllocateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, priority: float32): VkMemoryPriorityAllocateInfoEXT =
9038 result.sType = sType
9039 result.pNext = pNext
9040 result.priority = priority
9041
9042 proc newVkPhysicalDeviceBufferDeviceAddressFeatures*(sType: VkStructureType, pNext: pointer = nil, bufferDeviceAddress: VkBool32, bufferDeviceAddressCaptureReplay: VkBool32, bufferDeviceAddressMultiDevice: VkBool32): VkPhysicalDeviceBufferDeviceAddressFeatures =
9043 result.sType = sType
9044 result.pNext = pNext
9045 result.bufferDeviceAddress = bufferDeviceAddress
9046 result.bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay
9047 result.bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice
9048
9049 proc newVkPhysicalDeviceBufferDeviceAddressFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, bufferDeviceAddress: VkBool32, bufferDeviceAddressCaptureReplay: VkBool32, bufferDeviceAddressMultiDevice: VkBool32): VkPhysicalDeviceBufferDeviceAddressFeaturesEXT =
9050 result.sType = sType
9051 result.pNext = pNext
9052 result.bufferDeviceAddress = bufferDeviceAddress
9053 result.bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay
9054 result.bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice
9055
9056 proc newVkBufferDeviceAddressInfo*(sType: VkStructureType, pNext: pointer = nil, buffer: VkBuffer): VkBufferDeviceAddressInfo =
9057 result.sType = sType
9058 result.pNext = pNext
9059 result.buffer = buffer
9060
9061 proc newVkBufferOpaqueCaptureAddressCreateInfo*(sType: VkStructureType, pNext: pointer = nil, opaqueCaptureAddress: uint64): VkBufferOpaqueCaptureAddressCreateInfo =
9062 result.sType = sType
9063 result.pNext = pNext
9064 result.opaqueCaptureAddress = opaqueCaptureAddress
9065
9066 proc newVkBufferDeviceAddressCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, deviceAddress: VkDeviceAddress): VkBufferDeviceAddressCreateInfoEXT =
9067 result.sType = sType
9068 result.pNext = pNext
9069 result.deviceAddress = deviceAddress
9070
9071 proc newVkPhysicalDeviceImageViewImageFormatInfoEXT*(sType: VkStructureType, pNext: pointer = nil, imageViewType: VkImageViewType): VkPhysicalDeviceImageViewImageFormatInfoEXT =
9072 result.sType = sType
9073 result.pNext = pNext
9074 result.imageViewType = imageViewType
9075
9076 proc newVkFilterCubicImageViewImageFormatPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, filterCubic: VkBool32, filterCubicMinmax: VkBool32): VkFilterCubicImageViewImageFormatPropertiesEXT =
9077 result.sType = sType
9078 result.pNext = pNext
9079 result.filterCubic = filterCubic
9080 result.filterCubicMinmax = filterCubicMinmax
9081
9082 proc newVkPhysicalDeviceImagelessFramebufferFeatures*(sType: VkStructureType, pNext: pointer = nil, imagelessFramebuffer: VkBool32): VkPhysicalDeviceImagelessFramebufferFeatures =
9083 result.sType = sType
9084 result.pNext = pNext
9085 result.imagelessFramebuffer = imagelessFramebuffer
9086
9087 proc newVkFramebufferAttachmentsCreateInfo*(sType: VkStructureType, pNext: pointer = nil, attachmentImageInfoCount: uint32, pAttachmentImageInfos: ptr VkFramebufferAttachmentImageInfo): VkFramebufferAttachmentsCreateInfo =
9088 result.sType = sType
9089 result.pNext = pNext
9090 result.attachmentImageInfoCount = attachmentImageInfoCount
9091 result.pAttachmentImageInfos = pAttachmentImageInfos
9092
9093 proc newVkFramebufferAttachmentImageInfo*(sType: VkStructureType, pNext: pointer = nil, flags: VkImageCreateFlags = 0.VkImageCreateFlags, usage: VkImageUsageFlags, width: uint32, height: uint32, layerCount: uint32, viewFormatCount: uint32, pViewFormats: ptr VkFormat): VkFramebufferAttachmentImageInfo =
9094 result.sType = sType
9095 result.pNext = pNext
9096 result.flags = flags
9097 result.usage = usage
9098 result.width = width
9099 result.height = height
9100 result.layerCount = layerCount
9101 result.viewFormatCount = viewFormatCount
9102 result.pViewFormats = pViewFormats
9103
9104 proc newVkRenderPassAttachmentBeginInfo*(sType: VkStructureType, pNext: pointer = nil, attachmentCount: uint32, pAttachments: ptr VkImageView): VkRenderPassAttachmentBeginInfo =
9105 result.sType = sType
9106 result.pNext = pNext
9107 result.attachmentCount = attachmentCount
9108 result.pAttachments = pAttachments
9109
9110 proc newVkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, textureCompressionASTC_HDR: VkBool32): VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT =
9111 result.sType = sType
9112 result.pNext = pNext
9113 result.textureCompressionASTC_HDR = textureCompressionASTC_HDR
9114
9115 proc newVkPhysicalDeviceCooperativeMatrixFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, cooperativeMatrix: VkBool32, cooperativeMatrixRobustBufferAccess: VkBool32): VkPhysicalDeviceCooperativeMatrixFeaturesNV =
9116 result.sType = sType
9117 result.pNext = pNext
9118 result.cooperativeMatrix = cooperativeMatrix
9119 result.cooperativeMatrixRobustBufferAccess = cooperativeMatrixRobustBufferAccess
9120
9121 proc newVkPhysicalDeviceCooperativeMatrixPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, cooperativeMatrixSupportedStages: VkShaderStageFlags): VkPhysicalDeviceCooperativeMatrixPropertiesNV =
9122 result.sType = sType
9123 result.pNext = pNext
9124 result.cooperativeMatrixSupportedStages = cooperativeMatrixSupportedStages
9125
9126 proc newVkCooperativeMatrixPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, MSize: uint32, NSize: uint32, KSize: uint32, AType: VkComponentTypeNV, BType: VkComponentTypeNV, CType: VkComponentTypeNV, DType: VkComponentTypeNV, scope: VkScopeNV): VkCooperativeMatrixPropertiesNV =
9127 result.sType = sType
9128 result.pNext = pNext
9129 result.MSize = MSize
9130 result.NSize = NSize
9131 result.KSize = KSize
9132 result.AType = AType
9133 result.BType = BType
9134 result.CType = CType
9135 result.DType = DType
9136 result.scope = scope
9137
9138 proc newVkPhysicalDeviceYcbcrImageArraysFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, ycbcrImageArrays: VkBool32): VkPhysicalDeviceYcbcrImageArraysFeaturesEXT =
9139 result.sType = sType
9140 result.pNext = pNext
9141 result.ycbcrImageArrays = ycbcrImageArrays
9142
9143 proc newVkImageViewHandleInfoNVX*(sType: VkStructureType, pNext: pointer = nil, imageView: VkImageView, descriptorType: VkDescriptorType, sampler: VkSampler): VkImageViewHandleInfoNVX =
9144 result.sType = sType
9145 result.pNext = pNext
9146 result.imageView = imageView
9147 result.descriptorType = descriptorType
9148 result.sampler = sampler
9149
9150 proc newVkImageViewAddressPropertiesNVX*(sType: VkStructureType, pNext: pointer = nil, deviceAddress: VkDeviceAddress, size: VkDeviceSize): VkImageViewAddressPropertiesNVX =
9151 result.sType = sType
9152 result.pNext = pNext
9153 result.deviceAddress = deviceAddress
9154 result.size = size
9155
9156 proc newVkPresentFrameTokenGGP*(sType: VkStructureType, pNext: pointer = nil, frameToken: GgpFrameToken): VkPresentFrameTokenGGP =
9157 result.sType = sType
9158 result.pNext = pNext
9159 result.frameToken = frameToken
9160
9161 proc newVkPipelineCreationFeedbackEXT*(flags: VkPipelineCreationFeedbackFlagsEXT = 0.VkPipelineCreationFeedbackFlagsEXT, duration: uint64): VkPipelineCreationFeedbackEXT =
9162 result.flags = flags
9163 result.duration = duration
9164
9165 proc newVkPipelineCreationFeedbackCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, pPipelineCreationFeedback: ptr VkPipelineCreationFeedbackEXT, pipelineStageCreationFeedbackCount: uint32, pPipelineStageCreationFeedbacks: ptr ptr VkPipelineCreationFeedbackEXT): VkPipelineCreationFeedbackCreateInfoEXT =
9166 result.sType = sType
9167 result.pNext = pNext
9168 result.pPipelineCreationFeedback = pPipelineCreationFeedback
9169 result.pipelineStageCreationFeedbackCount = pipelineStageCreationFeedbackCount
9170 result.pPipelineStageCreationFeedbacks = pPipelineStageCreationFeedbacks
9171
9172 proc newVkSurfaceFullScreenExclusiveInfoEXT*(sType: VkStructureType, pNext: pointer = nil, fullScreenExclusive: VkFullScreenExclusiveEXT): VkSurfaceFullScreenExclusiveInfoEXT =
9173 result.sType = sType
9174 result.pNext = pNext
9175 result.fullScreenExclusive = fullScreenExclusive
9176
9177 proc newVkSurfaceFullScreenExclusiveWin32InfoEXT*(sType: VkStructureType, pNext: pointer = nil, hmonitor: HMONITOR): VkSurfaceFullScreenExclusiveWin32InfoEXT =
9178 result.sType = sType
9179 result.pNext = pNext
9180 result.hmonitor = hmonitor
9181
9182 proc newVkSurfaceCapabilitiesFullScreenExclusiveEXT*(sType: VkStructureType, pNext: pointer = nil, fullScreenExclusiveSupported: VkBool32): VkSurfaceCapabilitiesFullScreenExclusiveEXT =
9183 result.sType = sType
9184 result.pNext = pNext
9185 result.fullScreenExclusiveSupported = fullScreenExclusiveSupported
9186
9187 proc newVkPhysicalDevicePerformanceQueryFeaturesKHR*(sType: VkStructureType, pNext: pointer = nil, performanceCounterQueryPools: VkBool32, performanceCounterMultipleQueryPools: VkBool32): VkPhysicalDevicePerformanceQueryFeaturesKHR =
9188 result.sType = sType
9189 result.pNext = pNext
9190 result.performanceCounterQueryPools = performanceCounterQueryPools
9191 result.performanceCounterMultipleQueryPools = performanceCounterMultipleQueryPools
9192
9193 proc newVkPhysicalDevicePerformanceQueryPropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, allowCommandBufferQueryCopies: VkBool32): VkPhysicalDevicePerformanceQueryPropertiesKHR =
9194 result.sType = sType
9195 result.pNext = pNext
9196 result.allowCommandBufferQueryCopies = allowCommandBufferQueryCopies
9197
9198 proc newVkPerformanceCounterKHR*(sType: VkStructureType, pNext: pointer = nil, unit: VkPerformanceCounterUnitKHR, scope: VkPerformanceCounterScopeKHR, storage: VkPerformanceCounterStorageKHR, uuid: array[VK_UUID_SIZE, uint8]): VkPerformanceCounterKHR =
9199 result.sType = sType
9200 result.pNext = pNext
9201 result.unit = unit
9202 result.scope = scope
9203 result.storage = storage
9204 result.uuid = uuid
9205
9206 proc newVkPerformanceCounterDescriptionKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkPerformanceCounterDescriptionFlagsKHR = 0.VkPerformanceCounterDescriptionFlagsKHR, name: array[VK_MAX_DESCRIPTION_SIZE, char], category: array[VK_MAX_DESCRIPTION_SIZE, char], description: array[VK_MAX_DESCRIPTION_SIZE, char]): VkPerformanceCounterDescriptionKHR =
9207 result.sType = sType
9208 result.pNext = pNext
9209 result.flags = flags
9210 result.name = name
9211 result.category = category
9212 result.description = description
9213
9214 proc newVkQueryPoolPerformanceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, queueFamilyIndex: uint32, counterIndexCount: uint32, pCounterIndices: ptr uint32): VkQueryPoolPerformanceCreateInfoKHR =
9215 result.sType = sType
9216 result.pNext = pNext
9217 result.queueFamilyIndex = queueFamilyIndex
9218 result.counterIndexCount = counterIndexCount
9219 result.pCounterIndices = pCounterIndices
9220
9221 proc newVkAcquireProfilingLockInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkAcquireProfilingLockFlagsKHR = 0.VkAcquireProfilingLockFlagsKHR, timeout: uint64): VkAcquireProfilingLockInfoKHR =
9222 result.sType = sType
9223 result.pNext = pNext
9224 result.flags = flags
9225 result.timeout = timeout
9226
9227 proc newVkPerformanceQuerySubmitInfoKHR*(sType: VkStructureType, pNext: pointer = nil, counterPassIndex: uint32): VkPerformanceQuerySubmitInfoKHR =
9228 result.sType = sType
9229 result.pNext = pNext
9230 result.counterPassIndex = counterPassIndex
9231
9232 proc newVkHeadlessSurfaceCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkHeadlessSurfaceCreateFlagsEXT = 0.VkHeadlessSurfaceCreateFlagsEXT): VkHeadlessSurfaceCreateInfoEXT =
9233 result.sType = sType
9234 result.pNext = pNext
9235 result.flags = flags
9236
9237 proc newVkPhysicalDeviceCoverageReductionModeFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, coverageReductionMode: VkBool32): VkPhysicalDeviceCoverageReductionModeFeaturesNV =
9238 result.sType = sType
9239 result.pNext = pNext
9240 result.coverageReductionMode = coverageReductionMode
9241
9242 proc newVkPipelineCoverageReductionStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineCoverageReductionStateCreateFlagsNV = 0.VkPipelineCoverageReductionStateCreateFlagsNV, coverageReductionMode: VkCoverageReductionModeNV): VkPipelineCoverageReductionStateCreateInfoNV =
9243 result.sType = sType
9244 result.pNext = pNext
9245 result.flags = flags
9246 result.coverageReductionMode = coverageReductionMode
9247
9248 proc newVkFramebufferMixedSamplesCombinationNV*(sType: VkStructureType, pNext: pointer = nil, coverageReductionMode: VkCoverageReductionModeNV, rasterizationSamples: VkSampleCountFlagBits, depthStencilSamples: VkSampleCountFlags, colorSamples: VkSampleCountFlags): VkFramebufferMixedSamplesCombinationNV =
9249 result.sType = sType
9250 result.pNext = pNext
9251 result.coverageReductionMode = coverageReductionMode
9252 result.rasterizationSamples = rasterizationSamples
9253 result.depthStencilSamples = depthStencilSamples
9254 result.colorSamples = colorSamples
9255
9256 proc newVkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL*(sType: VkStructureType, pNext: pointer = nil, shaderIntegerFunctions2: VkBool32): VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL =
9257 result.sType = sType
9258 result.pNext = pNext
9259 result.shaderIntegerFunctions2 = shaderIntegerFunctions2
9260
9261 proc newVkPerformanceValueINTEL*(`type`: VkPerformanceValueTypeINTEL, data: VkPerformanceValueDataINTEL): VkPerformanceValueINTEL =
9262 result.`type` = `type`
9263 result.data = data
9264
9265 proc newVkInitializePerformanceApiInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, pUserData: pointer = nil): VkInitializePerformanceApiInfoINTEL =
9266 result.sType = sType
9267 result.pNext = pNext
9268 result.pUserData = pUserData
9269
9270 proc newVkQueryPoolPerformanceQueryCreateInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, performanceCountersSampling: VkQueryPoolSamplingModeINTEL): VkQueryPoolPerformanceQueryCreateInfoINTEL =
9271 result.sType = sType
9272 result.pNext = pNext
9273 result.performanceCountersSampling = performanceCountersSampling
9274
9275 proc newVkPerformanceMarkerInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, marker: uint64): VkPerformanceMarkerInfoINTEL =
9276 result.sType = sType
9277 result.pNext = pNext
9278 result.marker = marker
9279
9280 proc newVkPerformanceStreamMarkerInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, marker: uint32): VkPerformanceStreamMarkerInfoINTEL =
9281 result.sType = sType
9282 result.pNext = pNext
9283 result.marker = marker
9284
9285 proc newVkPerformanceOverrideInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, `type`: VkPerformanceOverrideTypeINTEL, enable: VkBool32, parameter: uint64): VkPerformanceOverrideInfoINTEL =
9286 result.sType = sType
9287 result.pNext = pNext
9288 result.`type` = `type`
9289 result.enable = enable
9290 result.parameter = parameter
9291
9292 proc newVkPerformanceConfigurationAcquireInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, `type`: VkPerformanceConfigurationTypeINTEL): VkPerformanceConfigurationAcquireInfoINTEL =
9293 result.sType = sType
9294 result.pNext = pNext
9295 result.`type` = `type`
9296
9297 proc newVkPhysicalDeviceShaderClockFeaturesKHR*(sType: VkStructureType, pNext: pointer = nil, shaderSubgroupClock: VkBool32, shaderDeviceClock: VkBool32): VkPhysicalDeviceShaderClockFeaturesKHR =
9298 result.sType = sType
9299 result.pNext = pNext
9300 result.shaderSubgroupClock = shaderSubgroupClock
9301 result.shaderDeviceClock = shaderDeviceClock
9302
9303 proc newVkPhysicalDeviceIndexTypeUint8FeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, indexTypeUint8: VkBool32): VkPhysicalDeviceIndexTypeUint8FeaturesEXT =
9304 result.sType = sType
9305 result.pNext = pNext
9306 result.indexTypeUint8 = indexTypeUint8
9307
9308 proc newVkPhysicalDeviceShaderSMBuiltinsPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, shaderSMCount: uint32, shaderWarpsPerSM: uint32): VkPhysicalDeviceShaderSMBuiltinsPropertiesNV =
9309 result.sType = sType
9310 result.pNext = pNext
9311 result.shaderSMCount = shaderSMCount
9312 result.shaderWarpsPerSM = shaderWarpsPerSM
9313
9314 proc newVkPhysicalDeviceShaderSMBuiltinsFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, shaderSMBuiltins: VkBool32): VkPhysicalDeviceShaderSMBuiltinsFeaturesNV =
9315 result.sType = sType
9316 result.pNext = pNext
9317 result.shaderSMBuiltins = shaderSMBuiltins
9318
9319 proc newVkPhysicalDeviceFragmentShaderInterlockFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, fragmentShaderSampleInterlock: VkBool32, fragmentShaderPixelInterlock: VkBool32, fragmentShaderShadingRateInterlock: VkBool32): VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT =
9320 result.sType = sType
9321 result.pNext = pNext
9322 result.fragmentShaderSampleInterlock = fragmentShaderSampleInterlock
9323 result.fragmentShaderPixelInterlock = fragmentShaderPixelInterlock
9324 result.fragmentShaderShadingRateInterlock = fragmentShaderShadingRateInterlock
9325
9326 proc newVkPhysicalDeviceSeparateDepthStencilLayoutsFeatures*(sType: VkStructureType, pNext: pointer = nil, separateDepthStencilLayouts: VkBool32): VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures =
9327 result.sType = sType
9328 result.pNext = pNext
9329 result.separateDepthStencilLayouts = separateDepthStencilLayouts
9330
9331 proc newVkAttachmentReferenceStencilLayout*(sType: VkStructureType, pNext: pointer = nil, stencilLayout: VkImageLayout): VkAttachmentReferenceStencilLayout =
9332 result.sType = sType
9333 result.pNext = pNext
9334 result.stencilLayout = stencilLayout
9335
9336 proc newVkAttachmentDescriptionStencilLayout*(sType: VkStructureType, pNext: pointer = nil, stencilInitialLayout: VkImageLayout, stencilFinalLayout: VkImageLayout): VkAttachmentDescriptionStencilLayout =
9337 result.sType = sType
9338 result.pNext = pNext
9339 result.stencilInitialLayout = stencilInitialLayout
9340 result.stencilFinalLayout = stencilFinalLayout
9341
9342 proc newVkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR*(sType: VkStructureType, pNext: pointer = nil, pipelineExecutableInfo: VkBool32): VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR =
9343 result.sType = sType
9344 result.pNext = pNext
9345 result.pipelineExecutableInfo = pipelineExecutableInfo
9346
9347 proc newVkPipelineInfoKHR*(sType: VkStructureType, pNext: pointer = nil, pipeline: VkPipeline): VkPipelineInfoKHR =
9348 result.sType = sType
9349 result.pNext = pNext
9350 result.pipeline = pipeline
9351
9352 proc newVkPipelineExecutablePropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, stages: VkShaderStageFlags, name: array[VK_MAX_DESCRIPTION_SIZE, char], description: array[VK_MAX_DESCRIPTION_SIZE, char], subgroupSize: uint32): VkPipelineExecutablePropertiesKHR =
9353 result.sType = sType
9354 result.pNext = pNext
9355 result.stages = stages
9356 result.name = name
9357 result.description = description
9358 result.subgroupSize = subgroupSize
9359
9360 proc newVkPipelineExecutableInfoKHR*(sType: VkStructureType, pNext: pointer = nil, pipeline: VkPipeline, executableIndex: uint32): VkPipelineExecutableInfoKHR =
9361 result.sType = sType
9362 result.pNext = pNext
9363 result.pipeline = pipeline
9364 result.executableIndex = executableIndex
9365
9366 proc newVkPipelineExecutableStatisticKHR*(sType: VkStructureType, pNext: pointer = nil, name: array[VK_MAX_DESCRIPTION_SIZE, char], description: array[VK_MAX_DESCRIPTION_SIZE, char], format: VkPipelineExecutableStatisticFormatKHR, value: VkPipelineExecutableStatisticValueKHR): VkPipelineExecutableStatisticKHR =
9367 result.sType = sType
9368 result.pNext = pNext
9369 result.name = name
9370 result.description = description
9371 result.format = format
9372 result.value = value
9373
9374 proc newVkPipelineExecutableInternalRepresentationKHR*(sType: VkStructureType, pNext: pointer = nil, name: array[VK_MAX_DESCRIPTION_SIZE, char], description: array[VK_MAX_DESCRIPTION_SIZE, char], isText: VkBool32, dataSize: uint, pData: pointer = nil): VkPipelineExecutableInternalRepresentationKHR =
9375 result.sType = sType
9376 result.pNext = pNext
9377 result.name = name
9378 result.description = description
9379 result.isText = isText
9380 result.dataSize = dataSize
9381 result.pData = pData
9382
9383 proc newVkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, shaderDemoteToHelperInvocation: VkBool32): VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT =
9384 result.sType = sType
9385 result.pNext = pNext
9386 result.shaderDemoteToHelperInvocation = shaderDemoteToHelperInvocation
9387
9388 proc newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, texelBufferAlignment: VkBool32): VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT =
9389 result.sType = sType
9390 result.pNext = pNext
9391 result.texelBufferAlignment = texelBufferAlignment
9392
9393 proc newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, storageTexelBufferOffsetAlignmentBytes: VkDeviceSize, storageTexelBufferOffsetSingleTexelAlignment: VkBool32, uniformTexelBufferOffsetAlignmentBytes: VkDeviceSize, uniformTexelBufferOffsetSingleTexelAlignment: VkBool32): VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT =
9394 result.sType = sType
9395 result.pNext = pNext
9396 result.storageTexelBufferOffsetAlignmentBytes = storageTexelBufferOffsetAlignmentBytes
9397 result.storageTexelBufferOffsetSingleTexelAlignment = storageTexelBufferOffsetSingleTexelAlignment
9398 result.uniformTexelBufferOffsetAlignmentBytes = uniformTexelBufferOffsetAlignmentBytes
9399 result.uniformTexelBufferOffsetSingleTexelAlignment = uniformTexelBufferOffsetSingleTexelAlignment
9400
9401 proc newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, subgroupSizeControl: VkBool32, computeFullSubgroups: VkBool32): VkPhysicalDeviceSubgroupSizeControlFeaturesEXT =
9402 result.sType = sType
9403 result.pNext = pNext
9404 result.subgroupSizeControl = subgroupSizeControl
9405 result.computeFullSubgroups = computeFullSubgroups
9406
9407 proc newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, minSubgroupSize: uint32, maxSubgroupSize: uint32, maxComputeWorkgroupSubgroups: uint32, requiredSubgroupSizeStages: VkShaderStageFlags): VkPhysicalDeviceSubgroupSizeControlPropertiesEXT =
9408 result.sType = sType
9409 result.pNext = pNext
9410 result.minSubgroupSize = minSubgroupSize
9411 result.maxSubgroupSize = maxSubgroupSize
9412 result.maxComputeWorkgroupSubgroups = maxComputeWorkgroupSubgroups
9413 result.requiredSubgroupSizeStages = requiredSubgroupSizeStages
9414
9415 proc newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, requiredSubgroupSize: uint32): VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT =
9416 result.sType = sType
9417 result.pNext = pNext
9418 result.requiredSubgroupSize = requiredSubgroupSize
9419
9420 proc newVkMemoryOpaqueCaptureAddressAllocateInfo*(sType: VkStructureType, pNext: pointer = nil, opaqueCaptureAddress: uint64): VkMemoryOpaqueCaptureAddressAllocateInfo =
9421 result.sType = sType
9422 result.pNext = pNext
9423 result.opaqueCaptureAddress = opaqueCaptureAddress
9424
9425 proc newVkDeviceMemoryOpaqueCaptureAddressInfo*(sType: VkStructureType, pNext: pointer = nil, memory: VkDeviceMemory): VkDeviceMemoryOpaqueCaptureAddressInfo =
9426 result.sType = sType
9427 result.pNext = pNext
9428 result.memory = memory
9429
9430 proc newVkPhysicalDeviceLineRasterizationFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, rectangularLines: VkBool32, bresenhamLines: VkBool32, smoothLines: VkBool32, stippledRectangularLines: VkBool32, stippledBresenhamLines: VkBool32, stippledSmoothLines: VkBool32): VkPhysicalDeviceLineRasterizationFeaturesEXT =
9431 result.sType = sType
9432 result.pNext = pNext
9433 result.rectangularLines = rectangularLines
9434 result.bresenhamLines = bresenhamLines
9435 result.smoothLines = smoothLines
9436 result.stippledRectangularLines = stippledRectangularLines
9437 result.stippledBresenhamLines = stippledBresenhamLines
9438 result.stippledSmoothLines = stippledSmoothLines
9439
9440 proc newVkPhysicalDeviceLineRasterizationPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, lineSubPixelPrecisionBits: uint32): VkPhysicalDeviceLineRasterizationPropertiesEXT =
9441 result.sType = sType
9442 result.pNext = pNext
9443 result.lineSubPixelPrecisionBits = lineSubPixelPrecisionBits
9444
9445 proc newVkPipelineRasterizationLineStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, lineRasterizationMode: VkLineRasterizationModeEXT, stippledLineEnable: VkBool32, lineStippleFactor: uint32, lineStipplePattern: uint16): VkPipelineRasterizationLineStateCreateInfoEXT =
9446 result.sType = sType
9447 result.pNext = pNext
9448 result.lineRasterizationMode = lineRasterizationMode
9449 result.stippledLineEnable = stippledLineEnable
9450 result.lineStippleFactor = lineStippleFactor
9451 result.lineStipplePattern = lineStipplePattern
9452
9453 proc newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, pipelineCreationCacheControl: VkBool32): VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT =
9454 result.sType = sType
9455 result.pNext = pNext
9456 result.pipelineCreationCacheControl = pipelineCreationCacheControl
9457
9458 proc newVkPhysicalDeviceVulkan11Features*(sType: VkStructureType, pNext: pointer = nil, storageBuffer16BitAccess: VkBool32, uniformAndStorageBuffer16BitAccess: VkBool32, storagePushConstant16: VkBool32, storageInputOutput16: VkBool32, multiview: VkBool32, multiviewGeometryShader: VkBool32, multiviewTessellationShader: VkBool32, variablePointersStorageBuffer: VkBool32, variablePointers: VkBool32, protectedMemory: VkBool32, samplerYcbcrConversion: VkBool32, shaderDrawParameters: VkBool32): VkPhysicalDeviceVulkan11Features =
9459 result.sType = sType
9460 result.pNext = pNext
9461 result.storageBuffer16BitAccess = storageBuffer16BitAccess
9462 result.uniformAndStorageBuffer16BitAccess = uniformAndStorageBuffer16BitAccess
9463 result.storagePushConstant16 = storagePushConstant16
9464 result.storageInputOutput16 = storageInputOutput16
9465 result.multiview = multiview
9466 result.multiviewGeometryShader = multiviewGeometryShader
9467 result.multiviewTessellationShader = multiviewTessellationShader
9468 result.variablePointersStorageBuffer = variablePointersStorageBuffer
9469 result.variablePointers = variablePointers
9470 result.protectedMemory = protectedMemory
9471 result.samplerYcbcrConversion = samplerYcbcrConversion
9472 result.shaderDrawParameters = shaderDrawParameters
9473
9474 proc newVkPhysicalDeviceVulkan11Properties*(sType: VkStructureType, pNext: pointer = nil, deviceUUID: array[VK_UUID_SIZE, uint8], driverUUID: array[VK_UUID_SIZE, uint8], deviceLUID: array[VK_LUID_SIZE, uint8], deviceNodeMask: uint32, deviceLUIDValid: VkBool32, subgroupSize: uint32, subgroupSupportedStages: VkShaderStageFlags, subgroupSupportedOperations: VkSubgroupFeatureFlags, subgroupQuadOperationsInAllStages: VkBool32, pointClippingBehavior: VkPointClippingBehavior, maxMultiviewViewCount: uint32, maxMultiviewInstanceIndex: uint32, protectedNoFault: VkBool32, maxPerSetDescriptors: uint32, maxMemoryAllocationSize: VkDeviceSize): VkPhysicalDeviceVulkan11Properties =
9475 result.sType = sType
9476 result.pNext = pNext
9477 result.deviceUUID = deviceUUID
9478 result.driverUUID = driverUUID
9479 result.deviceLUID = deviceLUID
9480 result.deviceNodeMask = deviceNodeMask
9481 result.deviceLUIDValid = deviceLUIDValid
9482 result.subgroupSize = subgroupSize
9483 result.subgroupSupportedStages = subgroupSupportedStages
9484 result.subgroupSupportedOperations = subgroupSupportedOperations
9485 result.subgroupQuadOperationsInAllStages = subgroupQuadOperationsInAllStages
9486 result.pointClippingBehavior = pointClippingBehavior
9487 result.maxMultiviewViewCount = maxMultiviewViewCount
9488 result.maxMultiviewInstanceIndex = maxMultiviewInstanceIndex
9489 result.protectedNoFault = protectedNoFault
9490 result.maxPerSetDescriptors = maxPerSetDescriptors
9491 result.maxMemoryAllocationSize = maxMemoryAllocationSize
9492
9493 proc newVkPhysicalDeviceVulkan12Features*(sType: VkStructureType, pNext: pointer = nil, samplerMirrorClampToEdge: VkBool32, drawIndirectCount: VkBool32, storageBuffer8BitAccess: VkBool32, uniformAndStorageBuffer8BitAccess: VkBool32, storagePushConstant8: VkBool32, shaderBufferInt64Atomics: VkBool32, shaderSharedInt64Atomics: VkBool32, shaderFloat16: VkBool32, shaderInt8: VkBool32, descriptorIndexing: VkBool32, shaderInputAttachmentArrayDynamicIndexing: VkBool32, shaderUniformTexelBufferArrayDynamicIndexing: VkBool32, shaderStorageTexelBufferArrayDynamicIndexing: VkBool32, shaderUniformBufferArrayNonUniformIndexing: VkBool32, shaderSampledImageArrayNonUniformIndexing: VkBool32, shaderStorageBufferArrayNonUniformIndexing: VkBool32, shaderStorageImageArrayNonUniformIndexing: VkBool32, shaderInputAttachmentArrayNonUniformIndexing: VkBool32, shaderUniformTexelBufferArrayNonUniformIndexing: VkBool32, shaderStorageTexelBufferArrayNonUniformIndexing: VkBool32, descriptorBindingUniformBufferUpdateAfterBind: VkBool32, descriptorBindingSampledImageUpdateAfterBind: VkBool32, descriptorBindingStorageImageUpdateAfterBind: VkBool32, descriptorBindingStorageBufferUpdateAfterBind: VkBool32, descriptorBindingUniformTexelBufferUpdateAfterBind: VkBool32, descriptorBindingStorageTexelBufferUpdateAfterBind: VkBool32, descriptorBindingUpdateUnusedWhilePending: VkBool32, descriptorBindingPartiallyBound: VkBool32, descriptorBindingVariableDescriptorCount: VkBool32, runtimeDescriptorArray: VkBool32, samplerFilterMinmax: VkBool32, scalarBlockLayout: VkBool32, imagelessFramebuffer: VkBool32, uniformBufferStandardLayout: VkBool32, shaderSubgroupExtendedTypes: VkBool32, separateDepthStencilLayouts: VkBool32, hostQueryReset: VkBool32, timelineSemaphore: VkBool32, bufferDeviceAddress: VkBool32, bufferDeviceAddressCaptureReplay: VkBool32, bufferDeviceAddressMultiDevice: VkBool32, vulkanMemoryModel: VkBool32, vulkanMemoryModelDeviceScope: VkBool32, vulkanMemoryModelAvailabilityVisibilityChains: VkBool32, shaderOutputViewportIndex: VkBool32, shaderOutputLayer: VkBool32, subgroupBroadcastDynamicId: VkBool32): VkPhysicalDeviceVulkan12Features =
9494 result.sType = sType
9495 result.pNext = pNext
9496 result.samplerMirrorClampToEdge = samplerMirrorClampToEdge
9497 result.drawIndirectCount = drawIndirectCount
9498 result.storageBuffer8BitAccess = storageBuffer8BitAccess
9499 result.uniformAndStorageBuffer8BitAccess = uniformAndStorageBuffer8BitAccess
9500 result.storagePushConstant8 = storagePushConstant8
9501 result.shaderBufferInt64Atomics = shaderBufferInt64Atomics
9502 result.shaderSharedInt64Atomics = shaderSharedInt64Atomics
9503 result.shaderFloat16 = shaderFloat16
9504 result.shaderInt8 = shaderInt8
9505 result.descriptorIndexing = descriptorIndexing
9506 result.shaderInputAttachmentArrayDynamicIndexing = shaderInputAttachmentArrayDynamicIndexing
9507 result.shaderUniformTexelBufferArrayDynamicIndexing = shaderUniformTexelBufferArrayDynamicIndexing
9508 result.shaderStorageTexelBufferArrayDynamicIndexing = shaderStorageTexelBufferArrayDynamicIndexing
9509 result.shaderUniformBufferArrayNonUniformIndexing = shaderUniformBufferArrayNonUniformIndexing
9510 result.shaderSampledImageArrayNonUniformIndexing = shaderSampledImageArrayNonUniformIndexing
9511 result.shaderStorageBufferArrayNonUniformIndexing = shaderStorageBufferArrayNonUniformIndexing
9512 result.shaderStorageImageArrayNonUniformIndexing = shaderStorageImageArrayNonUniformIndexing
9513 result.shaderInputAttachmentArrayNonUniformIndexing = shaderInputAttachmentArrayNonUniformIndexing
9514 result.shaderUniformTexelBufferArrayNonUniformIndexing = shaderUniformTexelBufferArrayNonUniformIndexing
9515 result.shaderStorageTexelBufferArrayNonUniformIndexing = shaderStorageTexelBufferArrayNonUniformIndexing
9516 result.descriptorBindingUniformBufferUpdateAfterBind = descriptorBindingUniformBufferUpdateAfterBind
9517 result.descriptorBindingSampledImageUpdateAfterBind = descriptorBindingSampledImageUpdateAfterBind
9518 result.descriptorBindingStorageImageUpdateAfterBind = descriptorBindingStorageImageUpdateAfterBind
9519 result.descriptorBindingStorageBufferUpdateAfterBind = descriptorBindingStorageBufferUpdateAfterBind
9520 result.descriptorBindingUniformTexelBufferUpdateAfterBind = descriptorBindingUniformTexelBufferUpdateAfterBind
9521 result.descriptorBindingStorageTexelBufferUpdateAfterBind = descriptorBindingStorageTexelBufferUpdateAfterBind
9522 result.descriptorBindingUpdateUnusedWhilePending = descriptorBindingUpdateUnusedWhilePending
9523 result.descriptorBindingPartiallyBound = descriptorBindingPartiallyBound
9524 result.descriptorBindingVariableDescriptorCount = descriptorBindingVariableDescriptorCount
9525 result.runtimeDescriptorArray = runtimeDescriptorArray
9526 result.samplerFilterMinmax = samplerFilterMinmax
9527 result.scalarBlockLayout = scalarBlockLayout
9528 result.imagelessFramebuffer = imagelessFramebuffer
9529 result.uniformBufferStandardLayout = uniformBufferStandardLayout
9530 result.shaderSubgroupExtendedTypes = shaderSubgroupExtendedTypes
9531 result.separateDepthStencilLayouts = separateDepthStencilLayouts
9532 result.hostQueryReset = hostQueryReset
9533 result.timelineSemaphore = timelineSemaphore
9534 result.bufferDeviceAddress = bufferDeviceAddress
9535 result.bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay
9536 result.bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice
9537 result.vulkanMemoryModel = vulkanMemoryModel
9538 result.vulkanMemoryModelDeviceScope = vulkanMemoryModelDeviceScope
9539 result.vulkanMemoryModelAvailabilityVisibilityChains = vulkanMemoryModelAvailabilityVisibilityChains
9540 result.shaderOutputViewportIndex = shaderOutputViewportIndex
9541 result.shaderOutputLayer = shaderOutputLayer
9542 result.subgroupBroadcastDynamicId = subgroupBroadcastDynamicId
9543
9544 proc newVkPhysicalDeviceVulkan12Properties*(sType: VkStructureType, pNext: pointer = nil, driverID: VkDriverId, driverName: array[VK_MAX_DRIVER_NAME_SIZE, char], driverInfo: array[VK_MAX_DRIVER_INFO_SIZE, char], conformanceVersion: VkConformanceVersion, denormBehaviorIndependence: VkShaderFloatControlsIndependence, roundingModeIndependence: VkShaderFloatControlsIndependence, shaderSignedZeroInfNanPreserveFloat16: VkBool32, shaderSignedZeroInfNanPreserveFloat32: VkBool32, shaderSignedZeroInfNanPreserveFloat64: VkBool32, shaderDenormPreserveFloat16: VkBool32, shaderDenormPreserveFloat32: VkBool32, shaderDenormPreserveFloat64: VkBool32, shaderDenormFlushToZeroFloat16: VkBool32, shaderDenormFlushToZeroFloat32: VkBool32, shaderDenormFlushToZeroFloat64: VkBool32, shaderRoundingModeRTEFloat16: VkBool32, shaderRoundingModeRTEFloat32: VkBool32, shaderRoundingModeRTEFloat64: VkBool32, shaderRoundingModeRTZFloat16: VkBool32, shaderRoundingModeRTZFloat32: VkBool32, shaderRoundingModeRTZFloat64: VkBool32, maxUpdateAfterBindDescriptorsInAllPools: uint32, shaderUniformBufferArrayNonUniformIndexingNative: VkBool32, shaderSampledImageArrayNonUniformIndexingNative: VkBool32, shaderStorageBufferArrayNonUniformIndexingNative: VkBool32, shaderStorageImageArrayNonUniformIndexingNative: VkBool32, shaderInputAttachmentArrayNonUniformIndexingNative: VkBool32, robustBufferAccessUpdateAfterBind: VkBool32, quadDivergentImplicitLod: VkBool32, maxPerStageDescriptorUpdateAfterBindSamplers: uint32, maxPerStageDescriptorUpdateAfterBindUniformBuffers: uint32, maxPerStageDescriptorUpdateAfterBindStorageBuffers: uint32, maxPerStageDescriptorUpdateAfterBindSampledImages: uint32, maxPerStageDescriptorUpdateAfterBindStorageImages: uint32, maxPerStageDescriptorUpdateAfterBindInputAttachments: uint32, maxPerStageUpdateAfterBindResources: uint32, maxDescriptorSetUpdateAfterBindSamplers: uint32, maxDescriptorSetUpdateAfterBindUniformBuffers: uint32, maxDescriptorSetUpdateAfterBindUniformBuffersDynamic: uint32, maxDescriptorSetUpdateAfterBindStorageBuffers: uint32, maxDescriptorSetUpdateAfterBindStorageBuffersDynamic: uint32, maxDescriptorSetUpdateAfterBindSampledImages: uint32, maxDescriptorSetUpdateAfterBindStorageImages: uint32, maxDescriptorSetUpdateAfterBindInputAttachments: uint32, supportedDepthResolveModes: VkResolveModeFlags, supportedStencilResolveModes: VkResolveModeFlags, independentResolveNone: VkBool32, independentResolve: VkBool32, filterMinmaxSingleComponentFormats: VkBool32, filterMinmaxImageComponentMapping: VkBool32, maxTimelineSemaphoreValueDifference: uint64, framebufferIntegerColorSampleCounts: VkSampleCountFlags): VkPhysicalDeviceVulkan12Properties =
9545 result.sType = sType
9546 result.pNext = pNext
9547 result.driverID = driverID
9548 result.driverName = driverName
9549 result.driverInfo = driverInfo
9550 result.conformanceVersion = conformanceVersion
9551 result.denormBehaviorIndependence = denormBehaviorIndependence
9552 result.roundingModeIndependence = roundingModeIndependence
9553 result.shaderSignedZeroInfNanPreserveFloat16 = shaderSignedZeroInfNanPreserveFloat16
9554 result.shaderSignedZeroInfNanPreserveFloat32 = shaderSignedZeroInfNanPreserveFloat32
9555 result.shaderSignedZeroInfNanPreserveFloat64 = shaderSignedZeroInfNanPreserveFloat64
9556 result.shaderDenormPreserveFloat16 = shaderDenormPreserveFloat16
9557 result.shaderDenormPreserveFloat32 = shaderDenormPreserveFloat32
9558 result.shaderDenormPreserveFloat64 = shaderDenormPreserveFloat64
9559 result.shaderDenormFlushToZeroFloat16 = shaderDenormFlushToZeroFloat16
9560 result.shaderDenormFlushToZeroFloat32 = shaderDenormFlushToZeroFloat32
9561 result.shaderDenormFlushToZeroFloat64 = shaderDenormFlushToZeroFloat64
9562 result.shaderRoundingModeRTEFloat16 = shaderRoundingModeRTEFloat16
9563 result.shaderRoundingModeRTEFloat32 = shaderRoundingModeRTEFloat32
9564 result.shaderRoundingModeRTEFloat64 = shaderRoundingModeRTEFloat64
9565 result.shaderRoundingModeRTZFloat16 = shaderRoundingModeRTZFloat16
9566 result.shaderRoundingModeRTZFloat32 = shaderRoundingModeRTZFloat32
9567 result.shaderRoundingModeRTZFloat64 = shaderRoundingModeRTZFloat64
9568 result.maxUpdateAfterBindDescriptorsInAllPools = maxUpdateAfterBindDescriptorsInAllPools
9569 result.shaderUniformBufferArrayNonUniformIndexingNative = shaderUniformBufferArrayNonUniformIndexingNative
9570 result.shaderSampledImageArrayNonUniformIndexingNative = shaderSampledImageArrayNonUniformIndexingNative
9571 result.shaderStorageBufferArrayNonUniformIndexingNative = shaderStorageBufferArrayNonUniformIndexingNative
9572 result.shaderStorageImageArrayNonUniformIndexingNative = shaderStorageImageArrayNonUniformIndexingNative
9573 result.shaderInputAttachmentArrayNonUniformIndexingNative = shaderInputAttachmentArrayNonUniformIndexingNative
9574 result.robustBufferAccessUpdateAfterBind = robustBufferAccessUpdateAfterBind
9575 result.quadDivergentImplicitLod = quadDivergentImplicitLod
9576 result.maxPerStageDescriptorUpdateAfterBindSamplers = maxPerStageDescriptorUpdateAfterBindSamplers
9577 result.maxPerStageDescriptorUpdateAfterBindUniformBuffers = maxPerStageDescriptorUpdateAfterBindUniformBuffers
9578 result.maxPerStageDescriptorUpdateAfterBindStorageBuffers = maxPerStageDescriptorUpdateAfterBindStorageBuffers
9579 result.maxPerStageDescriptorUpdateAfterBindSampledImages = maxPerStageDescriptorUpdateAfterBindSampledImages
9580 result.maxPerStageDescriptorUpdateAfterBindStorageImages = maxPerStageDescriptorUpdateAfterBindStorageImages
9581 result.maxPerStageDescriptorUpdateAfterBindInputAttachments = maxPerStageDescriptorUpdateAfterBindInputAttachments
9582 result.maxPerStageUpdateAfterBindResources = maxPerStageUpdateAfterBindResources
9583 result.maxDescriptorSetUpdateAfterBindSamplers = maxDescriptorSetUpdateAfterBindSamplers
9584 result.maxDescriptorSetUpdateAfterBindUniformBuffers = maxDescriptorSetUpdateAfterBindUniformBuffers
9585 result.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = maxDescriptorSetUpdateAfterBindUniformBuffersDynamic
9586 result.maxDescriptorSetUpdateAfterBindStorageBuffers = maxDescriptorSetUpdateAfterBindStorageBuffers
9587 result.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = maxDescriptorSetUpdateAfterBindStorageBuffersDynamic
9588 result.maxDescriptorSetUpdateAfterBindSampledImages = maxDescriptorSetUpdateAfterBindSampledImages
9589 result.maxDescriptorSetUpdateAfterBindStorageImages = maxDescriptorSetUpdateAfterBindStorageImages
9590 result.maxDescriptorSetUpdateAfterBindInputAttachments = maxDescriptorSetUpdateAfterBindInputAttachments
9591 result.supportedDepthResolveModes = supportedDepthResolveModes
9592 result.supportedStencilResolveModes = supportedStencilResolveModes
9593 result.independentResolveNone = independentResolveNone
9594 result.independentResolve = independentResolve
9595 result.filterMinmaxSingleComponentFormats = filterMinmaxSingleComponentFormats
9596 result.filterMinmaxImageComponentMapping = filterMinmaxImageComponentMapping
9597 result.maxTimelineSemaphoreValueDifference = maxTimelineSemaphoreValueDifference
9598 result.framebufferIntegerColorSampleCounts = framebufferIntegerColorSampleCounts
9599
9600 proc newVkPipelineCompilerControlCreateInfoAMD*(sType: VkStructureType, pNext: pointer = nil, compilerControlFlags: VkPipelineCompilerControlFlagsAMD): VkPipelineCompilerControlCreateInfoAMD =
9601 result.sType = sType
9602 result.pNext = pNext
9603 result.compilerControlFlags = compilerControlFlags
9604
9605 proc newVkPhysicalDeviceCoherentMemoryFeaturesAMD*(sType: VkStructureType, pNext: pointer = nil, deviceCoherentMemory: VkBool32): VkPhysicalDeviceCoherentMemoryFeaturesAMD =
9606 result.sType = sType
9607 result.pNext = pNext
9608 result.deviceCoherentMemory = deviceCoherentMemory
9609
9610 proc newVkPhysicalDeviceToolPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, name: array[VK_MAX_EXTENSION_NAME_SIZE, char], version: array[VK_MAX_EXTENSION_NAME_SIZE, char], purposes: VkToolPurposeFlagsEXT, description: array[VK_MAX_DESCRIPTION_SIZE, char], layer: array[VK_MAX_EXTENSION_NAME_SIZE, char]): VkPhysicalDeviceToolPropertiesEXT =
9611 result.sType = sType
9612 result.pNext = pNext
9613 result.name = name
9614 result.version = version
9615 result.purposes = purposes
9616 result.description = description
9617 result.layer = layer
9618
9619 proc newVkSamplerCustomBorderColorCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, customBorderColor: VkClearColorValue, format: VkFormat): VkSamplerCustomBorderColorCreateInfoEXT =
9620 result.sType = sType
9621 result.pNext = pNext
9622 result.customBorderColor = customBorderColor
9623 result.format = format
9624
9625 proc newVkPhysicalDeviceCustomBorderColorPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxCustomBorderColorSamplers: uint32): VkPhysicalDeviceCustomBorderColorPropertiesEXT =
9626 result.sType = sType
9627 result.pNext = pNext
9628 result.maxCustomBorderColorSamplers = maxCustomBorderColorSamplers
9629
9630 proc newVkPhysicalDeviceCustomBorderColorFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, customBorderColors: VkBool32, customBorderColorWithoutFormat: VkBool32): VkPhysicalDeviceCustomBorderColorFeaturesEXT =
9631 result.sType = sType
9632 result.pNext = pNext
9633 result.customBorderColors = customBorderColors
9634 result.customBorderColorWithoutFormat = customBorderColorWithoutFormat
9635
9636 proc newVkAccelerationStructureGeometryTrianglesDataKHR*(sType: VkStructureType, pNext: pointer = nil, vertexFormat: VkFormat, vertexData: VkDeviceOrHostAddressConstKHR, vertexStride: VkDeviceSize, indexType: VkIndexType, indexData: VkDeviceOrHostAddressConstKHR, transformData: VkDeviceOrHostAddressConstKHR): VkAccelerationStructureGeometryTrianglesDataKHR =
9637 result.sType = sType
9638 result.pNext = pNext
9639 result.vertexFormat = vertexFormat
9640 result.vertexData = vertexData
9641 result.vertexStride = vertexStride
9642 result.indexType = indexType
9643 result.indexData = indexData
9644 result.transformData = transformData
9645
9646 proc newVkAccelerationStructureGeometryAabbsDataKHR*(sType: VkStructureType, pNext: pointer = nil, data: VkDeviceOrHostAddressConstKHR, stride: VkDeviceSize): VkAccelerationStructureGeometryAabbsDataKHR =
9647 result.sType = sType
9648 result.pNext = pNext
9649 result.data = data
9650 result.stride = stride
9651
9652 proc newVkAccelerationStructureGeometryInstancesDataKHR*(sType: VkStructureType, pNext: pointer = nil, arrayOfPointers: VkBool32, data: VkDeviceOrHostAddressConstKHR): VkAccelerationStructureGeometryInstancesDataKHR =
9653 result.sType = sType
9654 result.pNext = pNext
9655 result.arrayOfPointers = arrayOfPointers
9656 result.data = data
9657
9658 proc newVkAccelerationStructureGeometryKHR*(sType: VkStructureType, pNext: pointer = nil, geometryType: VkGeometryTypeKHR, geometry: VkAccelerationStructureGeometryDataKHR, flags: VkGeometryFlagsKHR = 0.VkGeometryFlagsKHR): VkAccelerationStructureGeometryKHR =
9659 result.sType = sType
9660 result.pNext = pNext
9661 result.geometryType = geometryType
9662 result.geometry = geometry
9663 result.flags = flags
9664
9665 proc newVkAccelerationStructureBuildGeometryInfoKHR*(sType: VkStructureType, pNext: pointer = nil, `type`: VkAccelerationStructureTypeKHR, flags: VkBuildAccelerationStructureFlagsKHR = 0.VkBuildAccelerationStructureFlagsKHR, update: VkBool32, srcAccelerationStructure: VkAccelerationStructureKHR, dstAccelerationStructure: VkAccelerationStructureKHR, geometryArrayOfPointers: VkBool32, geometryCount: uint32, ppGeometries: ptr ptr VkAccelerationStructureGeometryKHR, scratchData: VkDeviceOrHostAddressKHR): VkAccelerationStructureBuildGeometryInfoKHR =
9666 result.sType = sType
9667 result.pNext = pNext
9668 result.`type` = `type`
9669 result.flags = flags
9670 result.update = update
9671 result.srcAccelerationStructure = srcAccelerationStructure
9672 result.dstAccelerationStructure = dstAccelerationStructure
9673 result.geometryArrayOfPointers = geometryArrayOfPointers
9674 result.geometryCount = geometryCount
9675 result.ppGeometries = ppGeometries
9676 result.scratchData = scratchData
9677
9678 proc newVkAccelerationStructureBuildOffsetInfoKHR*(primitiveCount: uint32, primitiveOffset: uint32, firstVertex: uint32, transformOffset: uint32): VkAccelerationStructureBuildOffsetInfoKHR =
9679 result.primitiveCount = primitiveCount
9680 result.primitiveOffset = primitiveOffset
9681 result.firstVertex = firstVertex
9682 result.transformOffset = transformOffset
9683
9684 proc newVkAccelerationStructureCreateGeometryTypeInfoKHR*(sType: VkStructureType, pNext: pointer = nil, geometryType: VkGeometryTypeKHR, maxPrimitiveCount: uint32, indexType: VkIndexType, maxVertexCount: uint32, vertexFormat: VkFormat, allowsTransforms: VkBool32): VkAccelerationStructureCreateGeometryTypeInfoKHR =
9685 result.sType = sType
9686 result.pNext = pNext
9687 result.geometryType = geometryType
9688 result.maxPrimitiveCount = maxPrimitiveCount
9689 result.indexType = indexType
9690 result.maxVertexCount = maxVertexCount
9691 result.vertexFormat = vertexFormat
9692 result.allowsTransforms = allowsTransforms
9693
9694 proc newVkAccelerationStructureCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, compactedSize: VkDeviceSize, `type`: VkAccelerationStructureTypeKHR, flags: VkBuildAccelerationStructureFlagsKHR = 0.VkBuildAccelerationStructureFlagsKHR, maxGeometryCount: uint32, pGeometryInfos: ptr VkAccelerationStructureCreateGeometryTypeInfoKHR, deviceAddress: VkDeviceAddress): VkAccelerationStructureCreateInfoKHR =
9695 result.sType = sType
9696 result.pNext = pNext
9697 result.compactedSize = compactedSize
9698 result.`type` = `type`
9699 result.flags = flags
9700 result.maxGeometryCount = maxGeometryCount
9701 result.pGeometryInfos = pGeometryInfos
9702 result.deviceAddress = deviceAddress
9703
9704 proc newVkAabbPositionsKHR*(minX: float32, minY: float32, minZ: float32, maxX: float32, maxY: float32, maxZ: float32): VkAabbPositionsKHR =
9705 result.minX = minX
9706 result.minY = minY
9707 result.minZ = minZ
9708 result.maxX = maxX
9709 result.maxY = maxY
9710 result.maxZ = maxZ
9711
9712 proc newVkTransformMatrixKHR*(matrix: array[3, float32]): VkTransformMatrixKHR =
9713 result.matrix = matrix
9714
9715 proc newVkAccelerationStructureInstanceKHR*(transform: VkTransformMatrixKHR, instanceCustomIndex: uint32, mask: uint32, instanceShaderBindingTableRecordOffset: uint32, flags: VkGeometryInstanceFlagsKHR = 0.VkGeometryInstanceFlagsKHR, accelerationStructureReference: uint64): VkAccelerationStructureInstanceKHR =
9716 result.transform = transform
9717 result.instanceCustomIndex = instanceCustomIndex
9718 result.mask = mask
9719 result.instanceShaderBindingTableRecordOffset = instanceShaderBindingTableRecordOffset
9720 result.flags = flags
9721 result.accelerationStructureReference = accelerationStructureReference
9722
9723 proc newVkAccelerationStructureDeviceAddressInfoKHR*(sType: VkStructureType, pNext: pointer = nil, accelerationStructure: VkAccelerationStructureKHR): VkAccelerationStructureDeviceAddressInfoKHR =
9724 result.sType = sType
9725 result.pNext = pNext
9726 result.accelerationStructure = accelerationStructure
9727
9728 proc newVkAccelerationStructureVersionKHR*(sType: VkStructureType, pNext: pointer = nil, versionData: ptr uint8): VkAccelerationStructureVersionKHR =
9729 result.sType = sType
9730 result.pNext = pNext
9731 result.versionData = versionData
9732
9733 proc newVkCopyAccelerationStructureInfoKHR*(sType: VkStructureType, pNext: pointer = nil, src: VkAccelerationStructureKHR, dst: VkAccelerationStructureKHR, mode: VkCopyAccelerationStructureModeKHR): VkCopyAccelerationStructureInfoKHR =
9734 result.sType = sType
9735 result.pNext = pNext
9736 result.src = src
9737 result.dst = dst
9738 result.mode = mode
9739
9740 proc newVkCopyAccelerationStructureToMemoryInfoKHR*(sType: VkStructureType, pNext: pointer = nil, src: VkAccelerationStructureKHR, dst: VkDeviceOrHostAddressKHR, mode: VkCopyAccelerationStructureModeKHR): VkCopyAccelerationStructureToMemoryInfoKHR =
9741 result.sType = sType
9742 result.pNext = pNext
9743 result.src = src
9744 result.dst = dst
9745 result.mode = mode
9746
9747 proc newVkCopyMemoryToAccelerationStructureInfoKHR*(sType: VkStructureType, pNext: pointer = nil, src: VkDeviceOrHostAddressConstKHR, dst: VkAccelerationStructureKHR, mode: VkCopyAccelerationStructureModeKHR): VkCopyMemoryToAccelerationStructureInfoKHR =
9748 result.sType = sType
9749 result.pNext = pNext
9750 result.src = src
9751 result.dst = dst
9752 result.mode = mode
9753
9754 proc newVkRayTracingPipelineInterfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, maxPayloadSize: uint32, maxAttributeSize: uint32, maxCallableSize: uint32): VkRayTracingPipelineInterfaceCreateInfoKHR =
9755 result.sType = sType
9756 result.pNext = pNext
9757 result.maxPayloadSize = maxPayloadSize
9758 result.maxAttributeSize = maxAttributeSize
9759 result.maxCallableSize = maxCallableSize
9760
9761 proc newVkDeferredOperationInfoKHR*(sType: VkStructureType, pNext: pointer = nil, operationHandle: VkDeferredOperationKHR): VkDeferredOperationInfoKHR =
9762 result.sType = sType
9763 result.pNext = pNext
9764 result.operationHandle = operationHandle
9765
9766 proc newVkPipelineLibraryCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, libraryCount: uint32, pLibraries: ptr VkPipeline): VkPipelineLibraryCreateInfoKHR =
9767 result.sType = sType
9768 result.pNext = pNext
9769 result.libraryCount = libraryCount
9770 result.pLibraries = pLibraries
9771
9772 proc newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, extendedDynamicState: VkBool32): VkPhysicalDeviceExtendedDynamicStateFeaturesEXT =
9773 result.sType = sType
9774 result.pNext = pNext
9775 result.extendedDynamicState = extendedDynamicState
9776
9777 proc newVkRenderPassTransformBeginInfoQCOM*(sType: VkStructureType, pNext: pointer = nil, transform: VkSurfaceTransformFlagBitsKHR): VkRenderPassTransformBeginInfoQCOM =
9778 result.sType = sType
9779 result.pNext = pNext
9780 result.transform = transform
9781
9782 proc newVkCommandBufferInheritanceRenderPassTransformInfoQCOM*(sType: VkStructureType, pNext: pointer = nil, transform: VkSurfaceTransformFlagBitsKHR, renderArea: VkRect2D): VkCommandBufferInheritanceRenderPassTransformInfoQCOM =
9783 result.sType = sType
9784 result.pNext = pNext
9785 result.transform = transform
9786 result.renderArea = renderArea
9787
9788 proc newVkPhysicalDeviceDiagnosticsConfigFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, diagnosticsConfig: VkBool32): VkPhysicalDeviceDiagnosticsConfigFeaturesNV =
9789 result.sType = sType
9790 result.pNext = pNext
9791 result.diagnosticsConfig = diagnosticsConfig
9792
9793 proc newVkDeviceDiagnosticsConfigCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkDeviceDiagnosticsConfigFlagsNV = 0.VkDeviceDiagnosticsConfigFlagsNV): VkDeviceDiagnosticsConfigCreateInfoNV =
9794 result.sType = sType
9795 result.pNext = pNext
9796 result.flags = flags
9797
9798 proc newVkPhysicalDeviceRobustness2FeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, robustBufferAccess2: VkBool32, robustImageAccess2: VkBool32, nullDescriptor: VkBool32): VkPhysicalDeviceRobustness2FeaturesEXT =
9799 result.sType = sType
9800 result.pNext = pNext
9801 result.robustBufferAccess2 = robustBufferAccess2
9802 result.robustImageAccess2 = robustImageAccess2
9803 result.nullDescriptor = nullDescriptor
9804
9805 proc newVkPhysicalDeviceRobustness2PropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, robustStorageBufferAccessSizeAlignment: VkDeviceSize, robustUniformBufferAccessSizeAlignment: VkDeviceSize): VkPhysicalDeviceRobustness2PropertiesEXT =
9806 result.sType = sType
9807 result.pNext = pNext
9808 result.robustStorageBufferAccessSizeAlignment = robustStorageBufferAccessSizeAlignment
9809 result.robustUniformBufferAccessSizeAlignment = robustUniformBufferAccessSizeAlignment
9810
9811 proc newVkPhysicalDeviceImageRobustnessFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, robustImageAccess: VkBool32): VkPhysicalDeviceImageRobustnessFeaturesEXT =
9812 result.sType = sType
9813 result.pNext = pNext
9814 result.robustImageAccess = robustImageAccess
9815
9816 proc newVkPhysicalDevice4444FormatsFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, formatA4R4G4B4: VkBool32, formatA4B4G4R4: VkBool32): VkPhysicalDevice4444FormatsFeaturesEXT =
9817 result.sType = sType
9818 result.pNext = pNext
9819 result.formatA4R4G4B4 = formatA4R4G4B4
9820 result.formatA4B4G4R4 = formatA4B4G4R4
9821
9822 # Procs
9823 var
9824 vkCreateInstance*: proc(pCreateInfo: ptr VkInstanceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pInstance: ptr VkInstance ): VkResult {.stdcall.}
9825 vkDestroyInstance*: proc(instance: VkInstance, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9826 vkEnumeratePhysicalDevices*: proc(instance: VkInstance, pPhysicalDeviceCount: ptr uint32 , pPhysicalDevices: ptr VkPhysicalDevice ): VkResult {.stdcall.}
9827 vkGetDeviceProcAddr*: proc(device: VkDevice, pName: cstring ): PFN_vkVoidFunction {.stdcall.}
9828 vkGetInstanceProcAddr*: proc(instance: VkInstance, pName: cstring ): PFN_vkVoidFunction {.stdcall.}
9829 vkGetPhysicalDeviceProperties*: proc(physicalDevice: VkPhysicalDevice, pProperties: ptr VkPhysicalDeviceProperties ): void {.stdcall.}
9830 vkGetPhysicalDeviceQueueFamilyProperties*: proc(physicalDevice: VkPhysicalDevice, pQueueFamilyPropertyCount: ptr uint32 , pQueueFamilyProperties: ptr VkQueueFamilyProperties ): void {.stdcall.}
9831 vkGetPhysicalDeviceMemoryProperties*: proc(physicalDevice: VkPhysicalDevice, pMemoryProperties: ptr VkPhysicalDeviceMemoryProperties ): void {.stdcall.}
9832 vkGetPhysicalDeviceFeatures*: proc(physicalDevice: VkPhysicalDevice, pFeatures: ptr VkPhysicalDeviceFeatures ): void {.stdcall.}
9833 vkGetPhysicalDeviceFormatProperties*: proc(physicalDevice: VkPhysicalDevice, format: VkFormat, pFormatProperties: ptr VkFormatProperties ): void {.stdcall.}
9834 vkGetPhysicalDeviceImageFormatProperties*: proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, tiling: VkImageTiling, usage: VkImageUsageFlags, flags: VkImageCreateFlags, pImageFormatProperties: ptr VkImageFormatProperties ): VkResult {.stdcall.}
9835 vkCreateDevice*: proc(physicalDevice: VkPhysicalDevice, pCreateInfo: ptr VkDeviceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDevice: ptr VkDevice ): VkResult {.stdcall.}
9836 vkDestroyDevice*: proc(device: VkDevice, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9837 vkEnumerateInstanceVersion*: proc(pApiVersion: ptr uint32 ): VkResult {.stdcall.}
9838 vkEnumerateInstanceLayerProperties*: proc(pPropertyCount: ptr uint32 , pProperties: ptr VkLayerProperties ): VkResult {.stdcall.}
9839 vkEnumerateInstanceExtensionProperties*: proc(pLayerName: cstring , pPropertyCount: ptr uint32 , pProperties: ptr VkExtensionProperties ): VkResult {.stdcall.}
9840 vkEnumerateDeviceLayerProperties*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkLayerProperties ): VkResult {.stdcall.}
9841 vkEnumerateDeviceExtensionProperties*: proc(physicalDevice: VkPhysicalDevice, pLayerName: cstring , pPropertyCount: ptr uint32 , pProperties: ptr VkExtensionProperties ): VkResult {.stdcall.}
9842 vkGetDeviceQueue*: proc(device: VkDevice, queueFamilyIndex: uint32, queueIndex: uint32, pQueue: ptr VkQueue ): void {.stdcall.}
9843 vkQueueSubmit*: proc(queue: VkQueue, submitCount: uint32, pSubmits: ptr VkSubmitInfo , fence: VkFence): VkResult {.stdcall.}
9844 vkQueueWaitIdle*: proc(queue: VkQueue): VkResult {.stdcall.}
9845 vkDeviceWaitIdle*: proc(device: VkDevice): VkResult {.stdcall.}
9846 vkAllocateMemory*: proc(device: VkDevice, pAllocateInfo: ptr VkMemoryAllocateInfo , pAllocator: ptr VkAllocationCallbacks , pMemory: ptr VkDeviceMemory ): VkResult {.stdcall.}
9847 vkFreeMemory*: proc(device: VkDevice, memory: VkDeviceMemory, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9848 vkMapMemory*: proc(device: VkDevice, memory: VkDeviceMemory, offset: VkDeviceSize, size: VkDeviceSize, flags: VkMemoryMapFlags, ppData: ptr pointer ): VkResult {.stdcall.}
9849 vkUnmapMemory*: proc(device: VkDevice, memory: VkDeviceMemory): void {.stdcall.}
9850 vkFlushMappedMemoryRanges*: proc(device: VkDevice, memoryRangeCount: uint32, pMemoryRanges: ptr VkMappedMemoryRange ): VkResult {.stdcall.}
9851 vkInvalidateMappedMemoryRanges*: proc(device: VkDevice, memoryRangeCount: uint32, pMemoryRanges: ptr VkMappedMemoryRange ): VkResult {.stdcall.}
9852 vkGetDeviceMemoryCommitment*: proc(device: VkDevice, memory: VkDeviceMemory, pCommittedMemoryInBytes: ptr VkDeviceSize ): void {.stdcall.}
9853 vkGetBufferMemoryRequirements*: proc(device: VkDevice, buffer: VkBuffer, pMemoryRequirements: ptr VkMemoryRequirements ): void {.stdcall.}
9854 vkBindBufferMemory*: proc(device: VkDevice, buffer: VkBuffer, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkResult {.stdcall.}
9855 vkGetImageMemoryRequirements*: proc(device: VkDevice, image: VkImage, pMemoryRequirements: ptr VkMemoryRequirements ): void {.stdcall.}
9856 vkBindImageMemory*: proc(device: VkDevice, image: VkImage, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkResult {.stdcall.}
9857 vkGetImageSparseMemoryRequirements*: proc(device: VkDevice, image: VkImage, pSparseMemoryRequirementCount: ptr uint32 , pSparseMemoryRequirements: ptr VkSparseImageMemoryRequirements ): void {.stdcall.}
9858 vkGetPhysicalDeviceSparseImageFormatProperties*: proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, samples: VkSampleCountFlagBits, usage: VkImageUsageFlags, tiling: VkImageTiling, pPropertyCount: ptr uint32 , pProperties: ptr VkSparseImageFormatProperties ): void {.stdcall.}
9859 vkQueueBindSparse*: proc(queue: VkQueue, bindInfoCount: uint32, pBindInfo: ptr VkBindSparseInfo , fence: VkFence): VkResult {.stdcall.}
9860 vkCreateFence*: proc(device: VkDevice, pCreateInfo: ptr VkFenceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}
9861 vkDestroyFence*: proc(device: VkDevice, fence: VkFence, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9862 vkResetFences*: proc(device: VkDevice, fenceCount: uint32, pFences: ptr VkFence ): VkResult {.stdcall.}
9863 vkGetFenceStatus*: proc(device: VkDevice, fence: VkFence): VkResult {.stdcall.}
9864 vkWaitForFences*: proc(device: VkDevice, fenceCount: uint32, pFences: ptr VkFence , waitAll: VkBool32, timeout: uint64): VkResult {.stdcall.}
9865 vkCreateSemaphore*: proc(device: VkDevice, pCreateInfo: ptr VkSemaphoreCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSemaphore: ptr VkSemaphore ): VkResult {.stdcall.}
9866 vkDestroySemaphore*: proc(device: VkDevice, semaphore: VkSemaphore, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9867 vkCreateEvent*: proc(device: VkDevice, pCreateInfo: ptr VkEventCreateInfo , pAllocator: ptr VkAllocationCallbacks , pEvent: ptr VkEvent ): VkResult {.stdcall.}
9868 vkDestroyEvent*: proc(device: VkDevice, event: VkEvent, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9869 vkGetEventStatus*: proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}
9870 vkSetEvent*: proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}
9871 vkResetEvent*: proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}
9872 vkCreateQueryPool*: proc(device: VkDevice, pCreateInfo: ptr VkQueryPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pQueryPool: ptr VkQueryPool ): VkResult {.stdcall.}
9873 vkDestroyQueryPool*: proc(device: VkDevice, queryPool: VkQueryPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9874 vkGetQueryPoolResults*: proc(device: VkDevice, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32, dataSize: uint, pData: pointer , stride: VkDeviceSize, flags: VkQueryResultFlags): VkResult {.stdcall.}
9875 vkResetQueryPool*: proc(device: VkDevice, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32): void {.stdcall.}
9876 vkCreateBuffer*: proc(device: VkDevice, pCreateInfo: ptr VkBufferCreateInfo , pAllocator: ptr VkAllocationCallbacks , pBuffer: ptr VkBuffer ): VkResult {.stdcall.}
9877 vkDestroyBuffer*: proc(device: VkDevice, buffer: VkBuffer, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9878 vkCreateBufferView*: proc(device: VkDevice, pCreateInfo: ptr VkBufferViewCreateInfo , pAllocator: ptr VkAllocationCallbacks , pView: ptr VkBufferView ): VkResult {.stdcall.}
9879 vkDestroyBufferView*: proc(device: VkDevice, bufferView: VkBufferView, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9880 vkCreateImage*: proc(device: VkDevice, pCreateInfo: ptr VkImageCreateInfo , pAllocator: ptr VkAllocationCallbacks , pImage: ptr VkImage ): VkResult {.stdcall.}
9881 vkDestroyImage*: proc(device: VkDevice, image: VkImage, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9882 vkGetImageSubresourceLayout*: proc(device: VkDevice, image: VkImage, pSubresource: ptr VkImageSubresource , pLayout: ptr VkSubresourceLayout ): void {.stdcall.}
9883 vkCreateImageView*: proc(device: VkDevice, pCreateInfo: ptr VkImageViewCreateInfo , pAllocator: ptr VkAllocationCallbacks , pView: ptr VkImageView ): VkResult {.stdcall.}
9884 vkDestroyImageView*: proc(device: VkDevice, imageView: VkImageView, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9885 vkCreateShaderModule*: proc(device: VkDevice, pCreateInfo: ptr VkShaderModuleCreateInfo , pAllocator: ptr VkAllocationCallbacks , pShaderModule: ptr VkShaderModule ): VkResult {.stdcall.}
9886 vkDestroyShaderModule*: proc(device: VkDevice, shaderModule: VkShaderModule, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9887 vkCreatePipelineCache*: proc(device: VkDevice, pCreateInfo: ptr VkPipelineCacheCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelineCache: ptr VkPipelineCache ): VkResult {.stdcall.}
9888 vkDestroyPipelineCache*: proc(device: VkDevice, pipelineCache: VkPipelineCache, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9889 vkGetPipelineCacheData*: proc(device: VkDevice, pipelineCache: VkPipelineCache, pDataSize: ptr uint , pData: pointer ): VkResult {.stdcall.}
9890 vkMergePipelineCaches*: proc(device: VkDevice, dstCache: VkPipelineCache, srcCacheCount: uint32, pSrcCaches: ptr VkPipelineCache ): VkResult {.stdcall.}
9891 vkCreateGraphicsPipelines*: proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkGraphicsPipelineCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}
9892 vkCreateComputePipelines*: proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkComputePipelineCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}
9893 vkDestroyPipeline*: proc(device: VkDevice, pipeline: VkPipeline, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9894 vkCreatePipelineLayout*: proc(device: VkDevice, pCreateInfo: ptr VkPipelineLayoutCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelineLayout: ptr VkPipelineLayout ): VkResult {.stdcall.}
9895 vkDestroyPipelineLayout*: proc(device: VkDevice, pipelineLayout: VkPipelineLayout, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9896 vkCreateSampler*: proc(device: VkDevice, pCreateInfo: ptr VkSamplerCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSampler: ptr VkSampler ): VkResult {.stdcall.}
9897 vkDestroySampler*: proc(device: VkDevice, sampler: VkSampler, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9898 vkCreateDescriptorSetLayout*: proc(device: VkDevice, pCreateInfo: ptr VkDescriptorSetLayoutCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSetLayout: ptr VkDescriptorSetLayout ): VkResult {.stdcall.}
9899 vkDestroyDescriptorSetLayout*: proc(device: VkDevice, descriptorSetLayout: VkDescriptorSetLayout, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9900 vkCreateDescriptorPool*: proc(device: VkDevice, pCreateInfo: ptr VkDescriptorPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDescriptorPool: ptr VkDescriptorPool ): VkResult {.stdcall.}
9901 vkDestroyDescriptorPool*: proc(device: VkDevice, descriptorPool: VkDescriptorPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9902 vkResetDescriptorPool*: proc(device: VkDevice, descriptorPool: VkDescriptorPool, flags: VkDescriptorPoolResetFlags): VkResult {.stdcall.}
9903 vkAllocateDescriptorSets*: proc(device: VkDevice, pAllocateInfo: ptr VkDescriptorSetAllocateInfo , pDescriptorSets: ptr VkDescriptorSet ): VkResult {.stdcall.}
9904 vkFreeDescriptorSets*: proc(device: VkDevice, descriptorPool: VkDescriptorPool, descriptorSetCount: uint32, pDescriptorSets: ptr VkDescriptorSet ): VkResult {.stdcall.}
9905 vkUpdateDescriptorSets*: proc(device: VkDevice, descriptorWriteCount: uint32, pDescriptorWrites: ptr VkWriteDescriptorSet , descriptorCopyCount: uint32, pDescriptorCopies: ptr VkCopyDescriptorSet ): void {.stdcall.}
9906 vkCreateFramebuffer*: proc(device: VkDevice, pCreateInfo: ptr VkFramebufferCreateInfo , pAllocator: ptr VkAllocationCallbacks , pFramebuffer: ptr VkFramebuffer ): VkResult {.stdcall.}
9907 vkDestroyFramebuffer*: proc(device: VkDevice, framebuffer: VkFramebuffer, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9908 vkCreateRenderPass*: proc(device: VkDevice, pCreateInfo: ptr VkRenderPassCreateInfo , pAllocator: ptr VkAllocationCallbacks , pRenderPass: ptr VkRenderPass ): VkResult {.stdcall.}
9909 vkDestroyRenderPass*: proc(device: VkDevice, renderPass: VkRenderPass, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9910 vkGetRenderAreaGranularity*: proc(device: VkDevice, renderPass: VkRenderPass, pGranularity: ptr VkExtent2D ): void {.stdcall.}
9911 vkCreateCommandPool*: proc(device: VkDevice, pCreateInfo: ptr VkCommandPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pCommandPool: ptr VkCommandPool ): VkResult {.stdcall.}
9912 vkDestroyCommandPool*: proc(device: VkDevice, commandPool: VkCommandPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9913 vkResetCommandPool*: proc(device: VkDevice, commandPool: VkCommandPool, flags: VkCommandPoolResetFlags): VkResult {.stdcall.}
9914 vkAllocateCommandBuffers*: proc(device: VkDevice, pAllocateInfo: ptr VkCommandBufferAllocateInfo , pCommandBuffers: ptr VkCommandBuffer ): VkResult {.stdcall.}
9915 vkFreeCommandBuffers*: proc(device: VkDevice, commandPool: VkCommandPool, commandBufferCount: uint32, pCommandBuffers: ptr VkCommandBuffer ): void {.stdcall.}
9916 vkBeginCommandBuffer*: proc(commandBuffer: VkCommandBuffer, pBeginInfo: ptr VkCommandBufferBeginInfo ): VkResult {.stdcall.}
9917 vkEndCommandBuffer*: proc(commandBuffer: VkCommandBuffer): VkResult {.stdcall.}
9918 vkResetCommandBuffer*: proc(commandBuffer: VkCommandBuffer, flags: VkCommandBufferResetFlags): VkResult {.stdcall.}
9919 vkCmdBindPipeline*: proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline): void {.stdcall.}
9920 vkCmdSetViewport*: proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pViewports: ptr VkViewport ): void {.stdcall.}
9921 vkCmdSetScissor*: proc(commandBuffer: VkCommandBuffer, firstScissor: uint32, scissorCount: uint32, pScissors: ptr VkRect2D ): void {.stdcall.}
9922 vkCmdSetLineWidth*: proc(commandBuffer: VkCommandBuffer, lineWidth: float32): void {.stdcall.}
9923 vkCmdSetDepthBias*: proc(commandBuffer: VkCommandBuffer, depthBiasConstantFactor: float32, depthBiasClamp: float32, depthBiasSlopeFactor: float32): void {.stdcall.}
9924 vkCmdSetBlendConstants*: proc(commandBuffer: VkCommandBuffer, blendConstants: array[4, float32]): void {.stdcall.}
9925 vkCmdSetDepthBounds*: proc(commandBuffer: VkCommandBuffer, minDepthBounds: float32, maxDepthBounds: float32): void {.stdcall.}
9926 vkCmdSetStencilCompareMask*: proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, compareMask: uint32): void {.stdcall.}
9927 vkCmdSetStencilWriteMask*: proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, writeMask: uint32): void {.stdcall.}
9928 vkCmdSetStencilReference*: proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, reference: uint32): void {.stdcall.}
9929 vkCmdBindDescriptorSets*: proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, layout: VkPipelineLayout, firstSet: uint32, descriptorSetCount: uint32, pDescriptorSets: ptr VkDescriptorSet , dynamicOffsetCount: uint32, pDynamicOffsets: ptr uint32 ): void {.stdcall.}
9930 vkCmdBindIndexBuffer*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, indexType: VkIndexType): void {.stdcall.}
9931 vkCmdBindVertexBuffers*: proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize ): void {.stdcall.}
9932 vkCmdDraw*: proc(commandBuffer: VkCommandBuffer, vertexCount: uint32, instanceCount: uint32, firstVertex: uint32, firstInstance: uint32): void {.stdcall.}
9933 vkCmdDrawIndexed*: proc(commandBuffer: VkCommandBuffer, indexCount: uint32, instanceCount: uint32, firstIndex: uint32, vertexOffset: int32, firstInstance: uint32): void {.stdcall.}
9934 vkCmdDrawIndirect*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}
9935 vkCmdDrawIndexedIndirect*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}
9936 vkCmdDispatch*: proc(commandBuffer: VkCommandBuffer, groupCountX: uint32, groupCountY: uint32, groupCountZ: uint32): void {.stdcall.}
9937 vkCmdDispatchIndirect*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize): void {.stdcall.}
9938 vkCmdCopyBuffer*: proc(commandBuffer: VkCommandBuffer, srcBuffer: VkBuffer, dstBuffer: VkBuffer, regionCount: uint32, pRegions: ptr VkBufferCopy ): void {.stdcall.}
9939 vkCmdCopyImage*: proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageCopy ): void {.stdcall.}
9940 vkCmdBlitImage*: proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageBlit , filter: VkFilter): void {.stdcall.}
9941 vkCmdCopyBufferToImage*: proc(commandBuffer: VkCommandBuffer, srcBuffer: VkBuffer, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkBufferImageCopy ): void {.stdcall.}
9942 vkCmdCopyImageToBuffer*: proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstBuffer: VkBuffer, regionCount: uint32, pRegions: ptr VkBufferImageCopy ): void {.stdcall.}
9943 vkCmdUpdateBuffer*: proc(commandBuffer: VkCommandBuffer, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, dataSize: VkDeviceSize, pData: pointer ): void {.stdcall.}
9944 vkCmdFillBuffer*: proc(commandBuffer: VkCommandBuffer, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, size: VkDeviceSize, data: uint32): void {.stdcall.}
9945 vkCmdClearColorImage*: proc(commandBuffer: VkCommandBuffer, image: VkImage, imageLayout: VkImageLayout, pColor: ptr VkClearColorValue , rangeCount: uint32, pRanges: ptr VkImageSubresourceRange ): void {.stdcall.}
9946 vkCmdClearDepthStencilImage*: proc(commandBuffer: VkCommandBuffer, image: VkImage, imageLayout: VkImageLayout, pDepthStencil: ptr VkClearDepthStencilValue , rangeCount: uint32, pRanges: ptr VkImageSubresourceRange ): void {.stdcall.}
9947 vkCmdClearAttachments*: proc(commandBuffer: VkCommandBuffer, attachmentCount: uint32, pAttachments: ptr VkClearAttachment , rectCount: uint32, pRects: ptr VkClearRect ): void {.stdcall.}
9948 vkCmdResolveImage*: proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageResolve ): void {.stdcall.}
9949 vkCmdSetEvent*: proc(commandBuffer: VkCommandBuffer, event: VkEvent, stageMask: VkPipelineStageFlags): void {.stdcall.}
9950 vkCmdResetEvent*: proc(commandBuffer: VkCommandBuffer, event: VkEvent, stageMask: VkPipelineStageFlags): void {.stdcall.}
9951 vkCmdWaitEvents*: proc(commandBuffer: VkCommandBuffer, eventCount: uint32, pEvents: ptr VkEvent , srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, memoryBarrierCount: uint32, pMemoryBarriers: ptr VkMemoryBarrier , bufferMemoryBarrierCount: uint32, pBufferMemoryBarriers: ptr VkBufferMemoryBarrier , imageMemoryBarrierCount: uint32, pImageMemoryBarriers: ptr VkImageMemoryBarrier ): void {.stdcall.}
9952 vkCmdPipelineBarrier*: proc(commandBuffer: VkCommandBuffer, srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, dependencyFlags: VkDependencyFlags, memoryBarrierCount: uint32, pMemoryBarriers: ptr VkMemoryBarrier , bufferMemoryBarrierCount: uint32, pBufferMemoryBarriers: ptr VkBufferMemoryBarrier , imageMemoryBarrierCount: uint32, pImageMemoryBarriers: ptr VkImageMemoryBarrier ): void {.stdcall.}
9953 vkCmdBeginQuery*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, flags: VkQueryControlFlags): void {.stdcall.}
9954 vkCmdEndQuery*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32): void {.stdcall.}
9955 vkCmdBeginConditionalRenderingEXT*: proc(commandBuffer: VkCommandBuffer, pConditionalRenderingBegin: ptr VkConditionalRenderingBeginInfoEXT ): void {.stdcall.}
9956 vkCmdEndConditionalRenderingEXT*: proc(commandBuffer: VkCommandBuffer): void {.stdcall.}
9957 vkCmdResetQueryPool*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32): void {.stdcall.}
9958 vkCmdWriteTimestamp*: proc(commandBuffer: VkCommandBuffer, pipelineStage: VkPipelineStageFlagBits, queryPool: VkQueryPool, query: uint32): void {.stdcall.}
9959 vkCmdCopyQueryPoolResults*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, stride: VkDeviceSize, flags: VkQueryResultFlags): void {.stdcall.}
9960 vkCmdPushConstants*: proc(commandBuffer: VkCommandBuffer, layout: VkPipelineLayout, stageFlags: VkShaderStageFlags, offset: uint32, size: uint32, pValues: pointer ): void {.stdcall.}
9961 vkCmdBeginRenderPass*: proc(commandBuffer: VkCommandBuffer, pRenderPassBegin: ptr VkRenderPassBeginInfo , contents: VkSubpassContents): void {.stdcall.}
9962 vkCmdNextSubpass*: proc(commandBuffer: VkCommandBuffer, contents: VkSubpassContents): void {.stdcall.}
9963 vkCmdEndRenderPass*: proc(commandBuffer: VkCommandBuffer): void {.stdcall.}
9964 vkCmdExecuteCommands*: proc(commandBuffer: VkCommandBuffer, commandBufferCount: uint32, pCommandBuffers: ptr VkCommandBuffer ): void {.stdcall.}
9965 vkCreateAndroidSurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkAndroidSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9966 vkGetPhysicalDeviceDisplayPropertiesKHR*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPropertiesKHR ): VkResult {.stdcall.}
9967 vkGetPhysicalDeviceDisplayPlanePropertiesKHR*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPlanePropertiesKHR ): VkResult {.stdcall.}
9968 vkGetDisplayPlaneSupportedDisplaysKHR*: proc(physicalDevice: VkPhysicalDevice, planeIndex: uint32, pDisplayCount: ptr uint32 , pDisplays: ptr VkDisplayKHR ): VkResult {.stdcall.}
9969 vkGetDisplayModePropertiesKHR*: proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayModePropertiesKHR ): VkResult {.stdcall.}
9970 vkCreateDisplayModeKHR*: proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pCreateInfo: ptr VkDisplayModeCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pMode: ptr VkDisplayModeKHR ): VkResult {.stdcall.}
9971 vkGetDisplayPlaneCapabilitiesKHR*: proc(physicalDevice: VkPhysicalDevice, mode: VkDisplayModeKHR, planeIndex: uint32, pCapabilities: ptr VkDisplayPlaneCapabilitiesKHR ): VkResult {.stdcall.}
9972 vkCreateDisplayPlaneSurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkDisplaySurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9973 vkCreateSharedSwapchainsKHR*: proc(device: VkDevice, swapchainCount: uint32, pCreateInfos: ptr VkSwapchainCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSwapchains: ptr VkSwapchainKHR ): VkResult {.stdcall.}
9974 vkDestroySurfaceKHR*: proc(instance: VkInstance, surface: VkSurfaceKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9975 vkGetPhysicalDeviceSurfaceSupportKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, surface: VkSurfaceKHR, pSupported: ptr VkBool32 ): VkResult {.stdcall.}
9976 vkGetPhysicalDeviceSurfaceCapabilitiesKHR*: proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceCapabilities: ptr VkSurfaceCapabilitiesKHR ): VkResult {.stdcall.}
9977 vkGetPhysicalDeviceSurfaceFormatsKHR*: proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceFormatCount: ptr uint32 , pSurfaceFormats: ptr VkSurfaceFormatKHR ): VkResult {.stdcall.}
9978 vkGetPhysicalDeviceSurfacePresentModesKHR*: proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pPresentModeCount: ptr uint32 , pPresentModes: ptr VkPresentModeKHR ): VkResult {.stdcall.}
9979 vkCreateSwapchainKHR*: proc(device: VkDevice, pCreateInfo: ptr VkSwapchainCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSwapchain: ptr VkSwapchainKHR ): VkResult {.stdcall.}
9980 vkDestroySwapchainKHR*: proc(device: VkDevice, swapchain: VkSwapchainKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9981 vkGetSwapchainImagesKHR*: proc(device: VkDevice, swapchain: VkSwapchainKHR, pSwapchainImageCount: ptr uint32 , pSwapchainImages: ptr VkImage ): VkResult {.stdcall.}
9982 vkAcquireNextImageKHR*: proc(device: VkDevice, swapchain: VkSwapchainKHR, timeout: uint64, semaphore: VkSemaphore, fence: VkFence, pImageIndex: ptr uint32 ): VkResult {.stdcall.}
9983 vkQueuePresentKHR*: proc(queue: VkQueue, pPresentInfo: ptr VkPresentInfoKHR ): VkResult {.stdcall.}
9984 vkCreateViSurfaceNN*: proc(instance: VkInstance, pCreateInfo: ptr VkViSurfaceCreateInfoNN , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9985 vkCreateWaylandSurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkWaylandSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9986 vkGetPhysicalDeviceWaylandPresentationSupportKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, display: ptr wl_display ): VkBool32 {.stdcall.}
9987 vkCreateWin32SurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkWin32SurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9988 vkGetPhysicalDeviceWin32PresentationSupportKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32): VkBool32 {.stdcall.}
9989 vkCreateXlibSurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkXlibSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9990 vkGetPhysicalDeviceXlibPresentationSupportKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, dpy: ptr Display , visualID: VisualID): VkBool32 {.stdcall.}
9991 vkCreateXcbSurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkXcbSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9992 vkGetPhysicalDeviceXcbPresentationSupportKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, connection: ptr xcb_connection_t , visual_id: xcb_visualid_t): VkBool32 {.stdcall.}
9993 vkCreateDirectFBSurfaceEXT*: proc(instance: VkInstance, pCreateInfo: ptr VkDirectFBSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9994 vkGetPhysicalDeviceDirectFBPresentationSupportEXT*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, dfb: ptr IDirectFB ): VkBool32 {.stdcall.}
9995 vkCreateImagePipeSurfaceFUCHSIA*: proc(instance: VkInstance, pCreateInfo: ptr VkImagePipeSurfaceCreateInfoFUCHSIA , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9996 vkCreateStreamDescriptorSurfaceGGP*: proc(instance: VkInstance, pCreateInfo: ptr VkStreamDescriptorSurfaceCreateInfoGGP , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9997 vkCreateDebugReportCallbackEXT*: proc(instance: VkInstance, pCreateInfo: ptr VkDebugReportCallbackCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pCallback: ptr VkDebugReportCallbackEXT ): VkResult {.stdcall.}
9998 vkDestroyDebugReportCallbackEXT*: proc(instance: VkInstance, callback: VkDebugReportCallbackEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9999 vkDebugReportMessageEXT*: proc(instance: VkInstance, flags: VkDebugReportFlagsEXT, objectType: VkDebugReportObjectTypeEXT, `object`: uint64, location: uint, messageCode: int32, pLayerPrefix: cstring , pMessage: cstring ): void {.stdcall.}
10000 vkDebugMarkerSetObjectNameEXT*: proc(device: VkDevice, pNameInfo: ptr VkDebugMarkerObjectNameInfoEXT ): VkResult {.stdcall.}
10001 vkDebugMarkerSetObjectTagEXT*: proc(device: VkDevice, pTagInfo: ptr VkDebugMarkerObjectTagInfoEXT ): VkResult {.stdcall.}
10002 vkCmdDebugMarkerBeginEXT*: proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkDebugMarkerMarkerInfoEXT ): void {.stdcall.}
10003 vkCmdDebugMarkerEndEXT*: proc(commandBuffer: VkCommandBuffer): void {.stdcall.}
10004 vkCmdDebugMarkerInsertEXT*: proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkDebugMarkerMarkerInfoEXT ): void {.stdcall.}
10005 vkGetPhysicalDeviceExternalImageFormatPropertiesNV*: proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, tiling: VkImageTiling, usage: VkImageUsageFlags, flags: VkImageCreateFlags, externalHandleType: VkExternalMemoryHandleTypeFlagsNV, pExternalImageFormatProperties: ptr VkExternalImageFormatPropertiesNV ): VkResult {.stdcall.}
10006 vkGetMemoryWin32HandleNV*: proc(device: VkDevice, memory: VkDeviceMemory, handleType: VkExternalMemoryHandleTypeFlagsNV, pHandle: ptr HANDLE ): VkResult {.stdcall.}
10007 vkCmdExecuteGeneratedCommandsNV*: proc(commandBuffer: VkCommandBuffer, isPreprocessed: VkBool32, pGeneratedCommandsInfo: ptr VkGeneratedCommandsInfoNV ): void {.stdcall.}
10008 vkCmdPreprocessGeneratedCommandsNV*: proc(commandBuffer: VkCommandBuffer, pGeneratedCommandsInfo: ptr VkGeneratedCommandsInfoNV ): void {.stdcall.}
10009 vkCmdBindPipelineShaderGroupNV*: proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline, groupIndex: uint32): void {.stdcall.}
10010 vkGetGeneratedCommandsMemoryRequirementsNV*: proc(device: VkDevice, pInfo: ptr VkGeneratedCommandsMemoryRequirementsInfoNV , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}
10011 vkCreateIndirectCommandsLayoutNV*: proc(device: VkDevice, pCreateInfo: ptr VkIndirectCommandsLayoutCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pIndirectCommandsLayout: ptr VkIndirectCommandsLayoutNV ): VkResult {.stdcall.}
10012 vkDestroyIndirectCommandsLayoutNV*: proc(device: VkDevice, indirectCommandsLayout: VkIndirectCommandsLayoutNV, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10013 vkGetPhysicalDeviceFeatures2*: proc(physicalDevice: VkPhysicalDevice, pFeatures: ptr VkPhysicalDeviceFeatures2 ): void {.stdcall.}
10014 vkGetPhysicalDeviceProperties2*: proc(physicalDevice: VkPhysicalDevice, pProperties: ptr VkPhysicalDeviceProperties2 ): void {.stdcall.}
10015 vkGetPhysicalDeviceFormatProperties2*: proc(physicalDevice: VkPhysicalDevice, format: VkFormat, pFormatProperties: ptr VkFormatProperties2 ): void {.stdcall.}
10016 vkGetPhysicalDeviceImageFormatProperties2*: proc(physicalDevice: VkPhysicalDevice, pImageFormatInfo: ptr VkPhysicalDeviceImageFormatInfo2 , pImageFormatProperties: ptr VkImageFormatProperties2 ): VkResult {.stdcall.}
10017 vkGetPhysicalDeviceQueueFamilyProperties2*: proc(physicalDevice: VkPhysicalDevice, pQueueFamilyPropertyCount: ptr uint32 , pQueueFamilyProperties: ptr VkQueueFamilyProperties2 ): void {.stdcall.}
10018 vkGetPhysicalDeviceMemoryProperties2*: proc(physicalDevice: VkPhysicalDevice, pMemoryProperties: ptr VkPhysicalDeviceMemoryProperties2 ): void {.stdcall.}
10019 vkGetPhysicalDeviceSparseImageFormatProperties2*: proc(physicalDevice: VkPhysicalDevice, pFormatInfo: ptr VkPhysicalDeviceSparseImageFormatInfo2 , pPropertyCount: ptr uint32 , pProperties: ptr VkSparseImageFormatProperties2 ): void {.stdcall.}
10020 vkCmdPushDescriptorSetKHR*: proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, layout: VkPipelineLayout, set: uint32, descriptorWriteCount: uint32, pDescriptorWrites: ptr VkWriteDescriptorSet ): void {.stdcall.}
10021 vkTrimCommandPool*: proc(device: VkDevice, commandPool: VkCommandPool, flags: VkCommandPoolTrimFlags): void {.stdcall.}
10022 vkGetPhysicalDeviceExternalBufferProperties*: proc(physicalDevice: VkPhysicalDevice, pExternalBufferInfo: ptr VkPhysicalDeviceExternalBufferInfo , pExternalBufferProperties: ptr VkExternalBufferProperties ): void {.stdcall.}
10023 vkGetMemoryWin32HandleKHR*: proc(device: VkDevice, pGetWin32HandleInfo: ptr VkMemoryGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}
10024 vkGetMemoryWin32HandlePropertiesKHR*: proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, handle: HANDLE, pMemoryWin32HandleProperties: ptr VkMemoryWin32HandlePropertiesKHR ): VkResult {.stdcall.}
10025 vkGetMemoryFdKHR*: proc(device: VkDevice, pGetFdInfo: ptr VkMemoryGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}
10026 vkGetMemoryFdPropertiesKHR*: proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, fd: int, pMemoryFdProperties: ptr VkMemoryFdPropertiesKHR ): VkResult {.stdcall.}
10027 vkGetPhysicalDeviceExternalSemaphoreProperties*: proc(physicalDevice: VkPhysicalDevice, pExternalSemaphoreInfo: ptr VkPhysicalDeviceExternalSemaphoreInfo , pExternalSemaphoreProperties: ptr VkExternalSemaphoreProperties ): void {.stdcall.}
10028 vkGetSemaphoreWin32HandleKHR*: proc(device: VkDevice, pGetWin32HandleInfo: ptr VkSemaphoreGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}
10029 vkImportSemaphoreWin32HandleKHR*: proc(device: VkDevice, pImportSemaphoreWin32HandleInfo: ptr VkImportSemaphoreWin32HandleInfoKHR ): VkResult {.stdcall.}
10030 vkGetSemaphoreFdKHR*: proc(device: VkDevice, pGetFdInfo: ptr VkSemaphoreGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}
10031 vkImportSemaphoreFdKHR*: proc(device: VkDevice, pImportSemaphoreFdInfo: ptr VkImportSemaphoreFdInfoKHR ): VkResult {.stdcall.}
10032 vkGetPhysicalDeviceExternalFenceProperties*: proc(physicalDevice: VkPhysicalDevice, pExternalFenceInfo: ptr VkPhysicalDeviceExternalFenceInfo , pExternalFenceProperties: ptr VkExternalFenceProperties ): void {.stdcall.}
10033 vkGetFenceWin32HandleKHR*: proc(device: VkDevice, pGetWin32HandleInfo: ptr VkFenceGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}
10034 vkImportFenceWin32HandleKHR*: proc(device: VkDevice, pImportFenceWin32HandleInfo: ptr VkImportFenceWin32HandleInfoKHR ): VkResult {.stdcall.}
10035 vkGetFenceFdKHR*: proc(device: VkDevice, pGetFdInfo: ptr VkFenceGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}
10036 vkImportFenceFdKHR*: proc(device: VkDevice, pImportFenceFdInfo: ptr VkImportFenceFdInfoKHR ): VkResult {.stdcall.}
10037 vkReleaseDisplayEXT*: proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR): VkResult {.stdcall.}
10038 vkAcquireXlibDisplayEXT*: proc(physicalDevice: VkPhysicalDevice, dpy: ptr Display , display: VkDisplayKHR): VkResult {.stdcall.}
10039 vkGetRandROutputDisplayEXT*: proc(physicalDevice: VkPhysicalDevice, dpy: ptr Display , rrOutput: RROutput, pDisplay: ptr VkDisplayKHR ): VkResult {.stdcall.}
10040 vkDisplayPowerControlEXT*: proc(device: VkDevice, display: VkDisplayKHR, pDisplayPowerInfo: ptr VkDisplayPowerInfoEXT ): VkResult {.stdcall.}
10041 vkRegisterDeviceEventEXT*: proc(device: VkDevice, pDeviceEventInfo: ptr VkDeviceEventInfoEXT , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}
10042 vkRegisterDisplayEventEXT*: proc(device: VkDevice, display: VkDisplayKHR, pDisplayEventInfo: ptr VkDisplayEventInfoEXT , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}
10043 vkGetSwapchainCounterEXT*: proc(device: VkDevice, swapchain: VkSwapchainKHR, counter: VkSurfaceCounterFlagBitsEXT, pCounterValue: ptr uint64 ): VkResult {.stdcall.}
10044 vkGetPhysicalDeviceSurfaceCapabilities2EXT*: proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceCapabilities: ptr VkSurfaceCapabilities2EXT ): VkResult {.stdcall.}
10045 vkEnumeratePhysicalDeviceGroups*: proc(instance: VkInstance, pPhysicalDeviceGroupCount: ptr uint32 , pPhysicalDeviceGroupProperties: ptr VkPhysicalDeviceGroupProperties ): VkResult {.stdcall.}
10046 vkGetDeviceGroupPeerMemoryFeatures*: proc(device: VkDevice, heapIndex: uint32, localDeviceIndex: uint32, remoteDeviceIndex: uint32, pPeerMemoryFeatures: ptr VkPeerMemoryFeatureFlags ): void {.stdcall.}
10047 vkBindBufferMemory2*: proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindBufferMemoryInfo ): VkResult {.stdcall.}
10048 vkBindImageMemory2*: proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindImageMemoryInfo ): VkResult {.stdcall.}
10049 vkCmdSetDeviceMask*: proc(commandBuffer: VkCommandBuffer, deviceMask: uint32): void {.stdcall.}
10050 vkGetDeviceGroupPresentCapabilitiesKHR*: proc(device: VkDevice, pDeviceGroupPresentCapabilities: ptr VkDeviceGroupPresentCapabilitiesKHR ): VkResult {.stdcall.}
10051 vkGetDeviceGroupSurfacePresentModesKHR*: proc(device: VkDevice, surface: VkSurfaceKHR, pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}
10052 vkAcquireNextImage2KHR*: proc(device: VkDevice, pAcquireInfo: ptr VkAcquireNextImageInfoKHR , pImageIndex: ptr uint32 ): VkResult {.stdcall.}
10053 vkCmdDispatchBase*: proc(commandBuffer: VkCommandBuffer, baseGroupX: uint32, baseGroupY: uint32, baseGroupZ: uint32, groupCountX: uint32, groupCountY: uint32, groupCountZ: uint32): void {.stdcall.}
10054 vkGetPhysicalDevicePresentRectanglesKHR*: proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pRectCount: ptr uint32 , pRects: ptr VkRect2D ): VkResult {.stdcall.}
10055 vkCreateDescriptorUpdateTemplate*: proc(device: VkDevice, pCreateInfo: ptr VkDescriptorUpdateTemplateCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDescriptorUpdateTemplate: ptr VkDescriptorUpdateTemplate ): VkResult {.stdcall.}
10056 vkDestroyDescriptorUpdateTemplate*: proc(device: VkDevice, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10057 vkUpdateDescriptorSetWithTemplate*: proc(device: VkDevice, descriptorSet: VkDescriptorSet, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, pData: pointer ): void {.stdcall.}
10058 vkCmdPushDescriptorSetWithTemplateKHR*: proc(commandBuffer: VkCommandBuffer, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, layout: VkPipelineLayout, set: uint32, pData: pointer ): void {.stdcall.}
10059 vkSetHdrMetadataEXT*: proc(device: VkDevice, swapchainCount: uint32, pSwapchains: ptr VkSwapchainKHR , pMetadata: ptr VkHdrMetadataEXT ): void {.stdcall.}
10060 vkGetSwapchainStatusKHR*: proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}
10061 vkGetRefreshCycleDurationGOOGLE*: proc(device: VkDevice, swapchain: VkSwapchainKHR, pDisplayTimingProperties: ptr VkRefreshCycleDurationGOOGLE ): VkResult {.stdcall.}
10062 vkGetPastPresentationTimingGOOGLE*: proc(device: VkDevice, swapchain: VkSwapchainKHR, pPresentationTimingCount: ptr uint32 , pPresentationTimings: ptr VkPastPresentationTimingGOOGLE ): VkResult {.stdcall.}
10063 vkCreateIOSSurfaceMVK*: proc(instance: VkInstance, pCreateInfo: ptr VkIOSSurfaceCreateInfoMVK , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10064 vkCreateMacOSSurfaceMVK*: proc(instance: VkInstance, pCreateInfo: ptr VkMacOSSurfaceCreateInfoMVK , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10065 vkCreateMetalSurfaceEXT*: proc(instance: VkInstance, pCreateInfo: ptr VkMetalSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10066 vkCmdSetViewportWScalingNV*: proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pViewportWScalings: ptr VkViewportWScalingNV ): void {.stdcall.}
10067 vkCmdSetDiscardRectangleEXT*: proc(commandBuffer: VkCommandBuffer, firstDiscardRectangle: uint32, discardRectangleCount: uint32, pDiscardRectangles: ptr VkRect2D ): void {.stdcall.}
10068 vkCmdSetSampleLocationsEXT*: proc(commandBuffer: VkCommandBuffer, pSampleLocationsInfo: ptr VkSampleLocationsInfoEXT ): void {.stdcall.}
10069 vkGetPhysicalDeviceMultisamplePropertiesEXT*: proc(physicalDevice: VkPhysicalDevice, samples: VkSampleCountFlagBits, pMultisampleProperties: ptr VkMultisamplePropertiesEXT ): void {.stdcall.}
10070 vkGetPhysicalDeviceSurfaceCapabilities2KHR*: proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pSurfaceCapabilities: ptr VkSurfaceCapabilities2KHR ): VkResult {.stdcall.}
10071 vkGetPhysicalDeviceSurfaceFormats2KHR*: proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pSurfaceFormatCount: ptr uint32 , pSurfaceFormats: ptr VkSurfaceFormat2KHR ): VkResult {.stdcall.}
10072 vkGetPhysicalDeviceDisplayProperties2KHR*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayProperties2KHR ): VkResult {.stdcall.}
10073 vkGetPhysicalDeviceDisplayPlaneProperties2KHR*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPlaneProperties2KHR ): VkResult {.stdcall.}
10074 vkGetDisplayModeProperties2KHR*: proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayModeProperties2KHR ): VkResult {.stdcall.}
10075 vkGetDisplayPlaneCapabilities2KHR*: proc(physicalDevice: VkPhysicalDevice, pDisplayPlaneInfo: ptr VkDisplayPlaneInfo2KHR , pCapabilities: ptr VkDisplayPlaneCapabilities2KHR ): VkResult {.stdcall.}
10076 vkGetBufferMemoryRequirements2*: proc(device: VkDevice, pInfo: ptr VkBufferMemoryRequirementsInfo2 , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}
10077 vkGetImageMemoryRequirements2*: proc(device: VkDevice, pInfo: ptr VkImageMemoryRequirementsInfo2 , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}
10078 vkGetImageSparseMemoryRequirements2*: proc(device: VkDevice, pInfo: ptr VkImageSparseMemoryRequirementsInfo2 , pSparseMemoryRequirementCount: ptr uint32 , pSparseMemoryRequirements: ptr VkSparseImageMemoryRequirements2 ): void {.stdcall.}
10079 vkCreateSamplerYcbcrConversion*: proc(device: VkDevice, pCreateInfo: ptr VkSamplerYcbcrConversionCreateInfo , pAllocator: ptr VkAllocationCallbacks , pYcbcrConversion: ptr VkSamplerYcbcrConversion ): VkResult {.stdcall.}
10080 vkDestroySamplerYcbcrConversion*: proc(device: VkDevice, ycbcrConversion: VkSamplerYcbcrConversion, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10081 vkGetDeviceQueue2*: proc(device: VkDevice, pQueueInfo: ptr VkDeviceQueueInfo2 , pQueue: ptr VkQueue ): void {.stdcall.}
10082 vkCreateValidationCacheEXT*: proc(device: VkDevice, pCreateInfo: ptr VkValidationCacheCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pValidationCache: ptr VkValidationCacheEXT ): VkResult {.stdcall.}
10083 vkDestroyValidationCacheEXT*: proc(device: VkDevice, validationCache: VkValidationCacheEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10084 vkGetValidationCacheDataEXT*: proc(device: VkDevice, validationCache: VkValidationCacheEXT, pDataSize: ptr uint , pData: pointer ): VkResult {.stdcall.}
10085 vkMergeValidationCachesEXT*: proc(device: VkDevice, dstCache: VkValidationCacheEXT, srcCacheCount: uint32, pSrcCaches: ptr VkValidationCacheEXT ): VkResult {.stdcall.}
10086 vkGetDescriptorSetLayoutSupport*: proc(device: VkDevice, pCreateInfo: ptr VkDescriptorSetLayoutCreateInfo , pSupport: ptr VkDescriptorSetLayoutSupport ): void {.stdcall.}
10087 vkGetSwapchainGrallocUsageANDROID*: proc(device: VkDevice, format: VkFormat, imageUsage: VkImageUsageFlags, grallocUsage: ptr int ): VkResult {.stdcall.}
10088 vkGetSwapchainGrallocUsage2ANDROID*: proc(device: VkDevice, format: VkFormat, imageUsage: VkImageUsageFlags, swapchainImageUsage: VkSwapchainImageUsageFlagsANDROID, grallocConsumerUsage: ptr uint64 , grallocProducerUsage: ptr uint64 ): VkResult {.stdcall.}
10089 vkAcquireImageANDROID*: proc(device: VkDevice, image: VkImage, nativeFenceFd: int, semaphore: VkSemaphore, fence: VkFence): VkResult {.stdcall.}
10090 vkQueueSignalReleaseImageANDROID*: proc(queue: VkQueue, waitSemaphoreCount: uint32, pWaitSemaphores: ptr VkSemaphore , image: VkImage, pNativeFenceFd: ptr int ): VkResult {.stdcall.}
10091 vkGetShaderInfoAMD*: proc(device: VkDevice, pipeline: VkPipeline, shaderStage: VkShaderStageFlagBits, infoType: VkShaderInfoTypeAMD, pInfoSize: ptr uint , pInfo: pointer ): VkResult {.stdcall.}
10092 vkSetLocalDimmingAMD*: proc(device: VkDevice, swapChain: VkSwapchainKHR, localDimmingEnable: VkBool32): void {.stdcall.}
10093 vkGetPhysicalDeviceCalibrateableTimeDomainsEXT*: proc(physicalDevice: VkPhysicalDevice, pTimeDomainCount: ptr uint32 , pTimeDomains: ptr VkTimeDomainEXT ): VkResult {.stdcall.}
10094 vkGetCalibratedTimestampsEXT*: proc(device: VkDevice, timestampCount: uint32, pTimestampInfos: ptr VkCalibratedTimestampInfoEXT , pTimestamps: ptr uint64 , pMaxDeviation: ptr uint64 ): VkResult {.stdcall.}
10095 vkSetDebugUtilsObjectNameEXT*: proc(device: VkDevice, pNameInfo: ptr VkDebugUtilsObjectNameInfoEXT ): VkResult {.stdcall.}
10096 vkSetDebugUtilsObjectTagEXT*: proc(device: VkDevice, pTagInfo: ptr VkDebugUtilsObjectTagInfoEXT ): VkResult {.stdcall.}
10097 vkQueueBeginDebugUtilsLabelEXT*: proc(queue: VkQueue, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}
10098 vkQueueEndDebugUtilsLabelEXT*: proc(queue: VkQueue): void {.stdcall.}
10099 vkQueueInsertDebugUtilsLabelEXT*: proc(queue: VkQueue, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}
10100 vkCmdBeginDebugUtilsLabelEXT*: proc(commandBuffer: VkCommandBuffer, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}
10101 vkCmdEndDebugUtilsLabelEXT*: proc(commandBuffer: VkCommandBuffer): void {.stdcall.}
10102 vkCmdInsertDebugUtilsLabelEXT*: proc(commandBuffer: VkCommandBuffer, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}
10103 vkCreateDebugUtilsMessengerEXT*: proc(instance: VkInstance, pCreateInfo: ptr VkDebugUtilsMessengerCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pMessenger: ptr VkDebugUtilsMessengerEXT ): VkResult {.stdcall.}
10104 vkDestroyDebugUtilsMessengerEXT*: proc(instance: VkInstance, messenger: VkDebugUtilsMessengerEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10105 vkSubmitDebugUtilsMessageEXT*: proc(instance: VkInstance, messageSeverity: VkDebugUtilsMessageSeverityFlagBitsEXT, messageTypes: VkDebugUtilsMessageTypeFlagsEXT, pCallbackData: ptr VkDebugUtilsMessengerCallbackDataEXT ): void {.stdcall.}
10106 vkGetMemoryHostPointerPropertiesEXT*: proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, pHostPointer: pointer , pMemoryHostPointerProperties: ptr VkMemoryHostPointerPropertiesEXT ): VkResult {.stdcall.}
10107 vkCmdWriteBufferMarkerAMD*: proc(commandBuffer: VkCommandBuffer, pipelineStage: VkPipelineStageFlagBits, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, marker: uint32): void {.stdcall.}
10108 vkCreateRenderPass2*: proc(device: VkDevice, pCreateInfo: ptr VkRenderPassCreateInfo2 , pAllocator: ptr VkAllocationCallbacks , pRenderPass: ptr VkRenderPass ): VkResult {.stdcall.}
10109 vkCmdBeginRenderPass2*: proc(commandBuffer: VkCommandBuffer, pRenderPassBegin: ptr VkRenderPassBeginInfo , pSubpassBeginInfo: ptr VkSubpassBeginInfo ): void {.stdcall.}
10110 vkCmdNextSubpass2*: proc(commandBuffer: VkCommandBuffer, pSubpassBeginInfo: ptr VkSubpassBeginInfo , pSubpassEndInfo: ptr VkSubpassEndInfo ): void {.stdcall.}
10111 vkCmdEndRenderPass2*: proc(commandBuffer: VkCommandBuffer, pSubpassEndInfo: ptr VkSubpassEndInfo ): void {.stdcall.}
10112 vkGetSemaphoreCounterValue*: proc(device: VkDevice, semaphore: VkSemaphore, pValue: ptr uint64 ): VkResult {.stdcall.}
10113 vkWaitSemaphores*: proc(device: VkDevice, pWaitInfo: ptr VkSemaphoreWaitInfo , timeout: uint64): VkResult {.stdcall.}
10114 vkSignalSemaphore*: proc(device: VkDevice, pSignalInfo: ptr VkSemaphoreSignalInfo ): VkResult {.stdcall.}
10115 vkGetAndroidHardwareBufferPropertiesANDROID*: proc(device: VkDevice, buffer: ptr AHardwareBuffer , pProperties: ptr VkAndroidHardwareBufferPropertiesANDROID ): VkResult {.stdcall.}
10116 vkGetMemoryAndroidHardwareBufferANDROID*: proc(device: VkDevice, pInfo: ptr VkMemoryGetAndroidHardwareBufferInfoANDROID , pBuffer: ptr ptr AHardwareBuffer ): VkResult {.stdcall.}
10117 vkCmdDrawIndirectCount*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}
10118 vkCmdDrawIndexedIndirectCount*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}
10119 vkCmdSetCheckpointNV*: proc(commandBuffer: VkCommandBuffer, pCheckpointMarker: pointer ): void {.stdcall.}
10120 vkGetQueueCheckpointDataNV*: proc(queue: VkQueue, pCheckpointDataCount: ptr uint32 , pCheckpointData: ptr VkCheckpointDataNV ): void {.stdcall.}
10121 vkCmdBindTransformFeedbackBuffersEXT*: proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize , pSizes: ptr VkDeviceSize ): void {.stdcall.}
10122 vkCmdBeginTransformFeedbackEXT*: proc(commandBuffer: VkCommandBuffer, firstCounterBuffer: uint32, counterBufferCount: uint32, pCounterBuffers: ptr VkBuffer , pCounterBufferOffsets: ptr VkDeviceSize ): void {.stdcall.}
10123 vkCmdEndTransformFeedbackEXT*: proc(commandBuffer: VkCommandBuffer, firstCounterBuffer: uint32, counterBufferCount: uint32, pCounterBuffers: ptr VkBuffer , pCounterBufferOffsets: ptr VkDeviceSize ): void {.stdcall.}
10124 vkCmdBeginQueryIndexedEXT*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, flags: VkQueryControlFlags, index: uint32): void {.stdcall.}
10125 vkCmdEndQueryIndexedEXT*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, index: uint32): void {.stdcall.}
10126 vkCmdDrawIndirectByteCountEXT*: proc(commandBuffer: VkCommandBuffer, instanceCount: uint32, firstInstance: uint32, counterBuffer: VkBuffer, counterBufferOffset: VkDeviceSize, counterOffset: uint32, vertexStride: uint32): void {.stdcall.}
10127 vkCmdSetExclusiveScissorNV*: proc(commandBuffer: VkCommandBuffer, firstExclusiveScissor: uint32, exclusiveScissorCount: uint32, pExclusiveScissors: ptr VkRect2D ): void {.stdcall.}
10128 vkCmdBindShadingRateImageNV*: proc(commandBuffer: VkCommandBuffer, imageView: VkImageView, imageLayout: VkImageLayout): void {.stdcall.}
10129 vkCmdSetViewportShadingRatePaletteNV*: proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pShadingRatePalettes: ptr VkShadingRatePaletteNV ): void {.stdcall.}
10130 vkCmdSetCoarseSampleOrderNV*: proc(commandBuffer: VkCommandBuffer, sampleOrderType: VkCoarseSampleOrderTypeNV, customSampleOrderCount: uint32, pCustomSampleOrders: ptr VkCoarseSampleOrderCustomNV ): void {.stdcall.}
10131 vkCmdDrawMeshTasksNV*: proc(commandBuffer: VkCommandBuffer, taskCount: uint32, firstTask: uint32): void {.stdcall.}
10132 vkCmdDrawMeshTasksIndirectNV*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}
10133 vkCmdDrawMeshTasksIndirectCountNV*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}
10134 vkCompileDeferredNV*: proc(device: VkDevice, pipeline: VkPipeline, shader: uint32): VkResult {.stdcall.}
10135 vkCreateAccelerationStructureNV*: proc(device: VkDevice, pCreateInfo: ptr VkAccelerationStructureCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pAccelerationStructure: ptr VkAccelerationStructureNV ): VkResult {.stdcall.}
10136 vkDestroyAccelerationStructureKHR*: proc(device: VkDevice, accelerationStructure: VkAccelerationStructureKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10137 vkGetAccelerationStructureMemoryRequirementsKHR*: proc(device: VkDevice, pInfo: ptr VkAccelerationStructureMemoryRequirementsInfoKHR , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}
10138 vkGetAccelerationStructureMemoryRequirementsNV*: proc(device: VkDevice, pInfo: ptr VkAccelerationStructureMemoryRequirementsInfoNV , pMemoryRequirements: ptr VkMemoryRequirements2KHR ): void {.stdcall.}
10139 vkBindAccelerationStructureMemoryKHR*: proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindAccelerationStructureMemoryInfoKHR ): VkResult {.stdcall.}
10140 vkCmdCopyAccelerationStructureNV*: proc(commandBuffer: VkCommandBuffer, dst: VkAccelerationStructureKHR, src: VkAccelerationStructureKHR, mode: VkCopyAccelerationStructureModeKHR): void {.stdcall.}
10141 vkCmdCopyAccelerationStructureKHR*: proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyAccelerationStructureInfoKHR ): void {.stdcall.}
10142 vkCopyAccelerationStructureKHR*: proc(device: VkDevice, pInfo: ptr VkCopyAccelerationStructureInfoKHR ): VkResult {.stdcall.}
10143 vkCmdCopyAccelerationStructureToMemoryKHR*: proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyAccelerationStructureToMemoryInfoKHR ): void {.stdcall.}
10144 vkCopyAccelerationStructureToMemoryKHR*: proc(device: VkDevice, pInfo: ptr VkCopyAccelerationStructureToMemoryInfoKHR ): VkResult {.stdcall.}
10145 vkCmdCopyMemoryToAccelerationStructureKHR*: proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyMemoryToAccelerationStructureInfoKHR ): void {.stdcall.}
10146 vkCopyMemoryToAccelerationStructureKHR*: proc(device: VkDevice, pInfo: ptr VkCopyMemoryToAccelerationStructureInfoKHR ): VkResult {.stdcall.}
10147 vkCmdWriteAccelerationStructuresPropertiesKHR*: proc(commandBuffer: VkCommandBuffer, accelerationStructureCount: uint32, pAccelerationStructures: ptr VkAccelerationStructureKHR , queryType: VkQueryType, queryPool: VkQueryPool, firstQuery: uint32): void {.stdcall.}
10148 vkCmdBuildAccelerationStructureNV*: proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkAccelerationStructureInfoNV , instanceData: VkBuffer, instanceOffset: VkDeviceSize, update: VkBool32, dst: VkAccelerationStructureKHR, src: VkAccelerationStructureKHR, scratch: VkBuffer, scratchOffset: VkDeviceSize): void {.stdcall.}
10149 vkWriteAccelerationStructuresPropertiesKHR*: proc(device: VkDevice, accelerationStructureCount: uint32, pAccelerationStructures: ptr VkAccelerationStructureKHR , queryType: VkQueryType, dataSize: uint, pData: pointer , stride: uint): VkResult {.stdcall.}
10150 vkCmdTraceRaysKHR*: proc(commandBuffer: VkCommandBuffer, pRaygenShaderBindingTable: ptr VkStridedBufferRegionKHR , pMissShaderBindingTable: ptr VkStridedBufferRegionKHR , pHitShaderBindingTable: ptr VkStridedBufferRegionKHR , pCallableShaderBindingTable: ptr VkStridedBufferRegionKHR , width: uint32, height: uint32, depth: uint32): void {.stdcall.}
10151 vkCmdTraceRaysNV*: proc(commandBuffer: VkCommandBuffer, raygenShaderBindingTableBuffer: VkBuffer, raygenShaderBindingOffset: VkDeviceSize, missShaderBindingTableBuffer: VkBuffer, missShaderBindingOffset: VkDeviceSize, missShaderBindingStride: VkDeviceSize, hitShaderBindingTableBuffer: VkBuffer, hitShaderBindingOffset: VkDeviceSize, hitShaderBindingStride: VkDeviceSize, callableShaderBindingTableBuffer: VkBuffer, callableShaderBindingOffset: VkDeviceSize, callableShaderBindingStride: VkDeviceSize, width: uint32, height: uint32, depth: uint32): void {.stdcall.}
10152 vkGetRayTracingShaderGroupHandlesKHR*: proc(device: VkDevice, pipeline: VkPipeline, firstGroup: uint32, groupCount: uint32, dataSize: uint, pData: pointer ): VkResult {.stdcall.}
10153 vkGetRayTracingCaptureReplayShaderGroupHandlesKHR*: proc(device: VkDevice, pipeline: VkPipeline, firstGroup: uint32, groupCount: uint32, dataSize: uint, pData: pointer ): VkResult {.stdcall.}
10154 vkGetAccelerationStructureHandleNV*: proc(device: VkDevice, accelerationStructure: VkAccelerationStructureKHR, dataSize: uint, pData: pointer ): VkResult {.stdcall.}
10155 vkCreateRayTracingPipelinesNV*: proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkRayTracingPipelineCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}
10156 vkCreateRayTracingPipelinesKHR*: proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkRayTracingPipelineCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}
10157 vkGetPhysicalDeviceCooperativeMatrixPropertiesNV*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkCooperativeMatrixPropertiesNV ): VkResult {.stdcall.}
10158 vkCmdTraceRaysIndirectKHR*: proc(commandBuffer: VkCommandBuffer, pRaygenShaderBindingTable: ptr VkStridedBufferRegionKHR , pMissShaderBindingTable: ptr VkStridedBufferRegionKHR , pHitShaderBindingTable: ptr VkStridedBufferRegionKHR , pCallableShaderBindingTable: ptr VkStridedBufferRegionKHR , buffer: VkBuffer, offset: VkDeviceSize): void {.stdcall.}
10159 vkGetDeviceAccelerationStructureCompatibilityKHR*: proc(device: VkDevice, version: ptr VkAccelerationStructureVersionKHR ): VkResult {.stdcall.}
10160 vkGetImageViewHandleNVX*: proc(device: VkDevice, pInfo: ptr VkImageViewHandleInfoNVX ): uint32 {.stdcall.}
10161 vkGetImageViewAddressNVX*: proc(device: VkDevice, imageView: VkImageView, pProperties: ptr VkImageViewAddressPropertiesNVX ): VkResult {.stdcall.}
10162 vkGetPhysicalDeviceSurfacePresentModes2EXT*: proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pPresentModeCount: ptr uint32 , pPresentModes: ptr VkPresentModeKHR ): VkResult {.stdcall.}
10163 vkGetDeviceGroupSurfacePresentModes2EXT*: proc(device: VkDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}
10164 vkAcquireFullScreenExclusiveModeEXT*: proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}
10165 vkReleaseFullScreenExclusiveModeEXT*: proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}
10166 vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, pCounterCount: ptr uint32 , pCounters: ptr VkPerformanceCounterKHR , pCounterDescriptions: ptr VkPerformanceCounterDescriptionKHR ): VkResult {.stdcall.}
10167 vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR*: proc(physicalDevice: VkPhysicalDevice, pPerformanceQueryCreateInfo: ptr VkQueryPoolPerformanceCreateInfoKHR , pNumPasses: ptr uint32 ): void {.stdcall.}
10168 vkAcquireProfilingLockKHR*: proc(device: VkDevice, pInfo: ptr VkAcquireProfilingLockInfoKHR ): VkResult {.stdcall.}
10169 vkReleaseProfilingLockKHR*: proc(device: VkDevice): void {.stdcall.}
10170 vkGetImageDrmFormatModifierPropertiesEXT*: proc(device: VkDevice, image: VkImage, pProperties: ptr VkImageDrmFormatModifierPropertiesEXT ): VkResult {.stdcall.}
10171 vkGetBufferOpaqueCaptureAddress*: proc(device: VkDevice, pInfo: ptr VkBufferDeviceAddressInfo ): uint64 {.stdcall.}
10172 vkGetBufferDeviceAddress*: proc(device: VkDevice, pInfo: ptr VkBufferDeviceAddressInfo ): VkDeviceAddress {.stdcall.}
10173 vkCreateHeadlessSurfaceEXT*: proc(instance: VkInstance, pCreateInfo: ptr VkHeadlessSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10174 vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV*: proc(physicalDevice: VkPhysicalDevice, pCombinationCount: ptr uint32 , pCombinations: ptr VkFramebufferMixedSamplesCombinationNV ): VkResult {.stdcall.}
10175 vkInitializePerformanceApiINTEL*: proc(device: VkDevice, pInitializeInfo: ptr VkInitializePerformanceApiInfoINTEL ): VkResult {.stdcall.}
10176 vkUninitializePerformanceApiINTEL*: proc(device: VkDevice): void {.stdcall.}
10177 vkCmdSetPerformanceMarkerINTEL*: proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkPerformanceMarkerInfoINTEL ): VkResult {.stdcall.}
10178 vkCmdSetPerformanceStreamMarkerINTEL*: proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkPerformanceStreamMarkerInfoINTEL ): VkResult {.stdcall.}
10179 vkCmdSetPerformanceOverrideINTEL*: proc(commandBuffer: VkCommandBuffer, pOverrideInfo: ptr VkPerformanceOverrideInfoINTEL ): VkResult {.stdcall.}
10180 vkAcquirePerformanceConfigurationINTEL*: proc(device: VkDevice, pAcquireInfo: ptr VkPerformanceConfigurationAcquireInfoINTEL , pConfiguration: ptr VkPerformanceConfigurationINTEL ): VkResult {.stdcall.}
10181 vkReleasePerformanceConfigurationINTEL*: proc(device: VkDevice, configuration: VkPerformanceConfigurationINTEL): VkResult {.stdcall.}
10182 vkQueueSetPerformanceConfigurationINTEL*: proc(queue: VkQueue, configuration: VkPerformanceConfigurationINTEL): VkResult {.stdcall.}
10183 vkGetPerformanceParameterINTEL*: proc(device: VkDevice, parameter: VkPerformanceParameterTypeINTEL, pValue: ptr VkPerformanceValueINTEL ): VkResult {.stdcall.}
10184 vkGetDeviceMemoryOpaqueCaptureAddress*: proc(device: VkDevice, pInfo: ptr VkDeviceMemoryOpaqueCaptureAddressInfo ): uint64 {.stdcall.}
10185 vkGetPipelineExecutablePropertiesKHR*: proc(device: VkDevice, pPipelineInfo: ptr VkPipelineInfoKHR , pExecutableCount: ptr uint32 , pProperties: ptr VkPipelineExecutablePropertiesKHR ): VkResult {.stdcall.}
10186 vkGetPipelineExecutableStatisticsKHR*: proc(device: VkDevice, pExecutableInfo: ptr VkPipelineExecutableInfoKHR , pStatisticCount: ptr uint32 , pStatistics: ptr VkPipelineExecutableStatisticKHR ): VkResult {.stdcall.}
10187 vkGetPipelineExecutableInternalRepresentationsKHR*: proc(device: VkDevice, pExecutableInfo: ptr VkPipelineExecutableInfoKHR , pInternalRepresentationCount: ptr uint32 , pInternalRepresentations: ptr VkPipelineExecutableInternalRepresentationKHR ): VkResult {.stdcall.}
10188 vkCmdSetLineStippleEXT*: proc(commandBuffer: VkCommandBuffer, lineStippleFactor: uint32, lineStipplePattern: uint16): void {.stdcall.}
10189 vkGetPhysicalDeviceToolPropertiesEXT*: proc(physicalDevice: VkPhysicalDevice, pToolCount: ptr uint32 , pToolProperties: ptr VkPhysicalDeviceToolPropertiesEXT ): VkResult {.stdcall.}
10190 vkCreateAccelerationStructureKHR*: proc(device: VkDevice, pCreateInfo: ptr VkAccelerationStructureCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pAccelerationStructure: ptr VkAccelerationStructureKHR ): VkResult {.stdcall.}
10191 vkCmdBuildAccelerationStructureKHR*: proc(commandBuffer: VkCommandBuffer, infoCount: uint32, pInfos: ptr VkAccelerationStructureBuildGeometryInfoKHR , ppOffsetInfos: ptr ptr VkAccelerationStructureBuildOffsetInfoKHR ): void {.stdcall.}
10192 vkCmdBuildAccelerationStructureIndirectKHR*: proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkAccelerationStructureBuildGeometryInfoKHR , indirectBuffer: VkBuffer, indirectOffset: VkDeviceSize, indirectStride: uint32): void {.stdcall.}
10193 vkBuildAccelerationStructureKHR*: proc(device: VkDevice, infoCount: uint32, pInfos: ptr VkAccelerationStructureBuildGeometryInfoKHR , ppOffsetInfos: ptr ptr VkAccelerationStructureBuildOffsetInfoKHR ): VkResult {.stdcall.}
10194 vkGetAccelerationStructureDeviceAddressKHR*: proc(device: VkDevice, pInfo: ptr VkAccelerationStructureDeviceAddressInfoKHR ): VkDeviceAddress {.stdcall.}
10195 vkCreateDeferredOperationKHR*: proc(device: VkDevice, pAllocator: ptr VkAllocationCallbacks , pDeferredOperation: ptr VkDeferredOperationKHR ): VkResult {.stdcall.}
10196 vkDestroyDeferredOperationKHR*: proc(device: VkDevice, operation: VkDeferredOperationKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10197 vkGetDeferredOperationMaxConcurrencyKHR*: proc(device: VkDevice, operation: VkDeferredOperationKHR): uint32 {.stdcall.}
10198 vkGetDeferredOperationResultKHR*: proc(device: VkDevice, operation: VkDeferredOperationKHR): VkResult {.stdcall.}
10199 vkDeferredOperationJoinKHR*: proc(device: VkDevice, operation: VkDeferredOperationKHR): VkResult {.stdcall.}
10200 vkCmdSetCullModeEXT*: proc(commandBuffer: VkCommandBuffer, cullMode: VkCullModeFlags): void {.stdcall.}
10201 vkCmdSetFrontFaceEXT*: proc(commandBuffer: VkCommandBuffer, frontFace: VkFrontFace): void {.stdcall.}
10202 vkCmdSetPrimitiveTopologyEXT*: proc(commandBuffer: VkCommandBuffer, primitiveTopology: VkPrimitiveTopology): void {.stdcall.}
10203 vkCmdSetViewportWithCountEXT*: proc(commandBuffer: VkCommandBuffer, viewportCount: uint32, pViewports: ptr VkViewport ): void {.stdcall.}
10204 vkCmdSetScissorWithCountEXT*: proc(commandBuffer: VkCommandBuffer, scissorCount: uint32, pScissors: ptr VkRect2D ): void {.stdcall.}
10205 vkCmdBindVertexBuffers2EXT*: proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize , pSizes: ptr VkDeviceSize , pStrides: ptr VkDeviceSize ): void {.stdcall.}
10206 vkCmdSetDepthTestEnableEXT*: proc(commandBuffer: VkCommandBuffer, depthTestEnable: VkBool32): void {.stdcall.}
10207 vkCmdSetDepthWriteEnableEXT*: proc(commandBuffer: VkCommandBuffer, depthWriteEnable: VkBool32): void {.stdcall.}
10208 vkCmdSetDepthCompareOpEXT*: proc(commandBuffer: VkCommandBuffer, depthCompareOp: VkCompareOp): void {.stdcall.}
10209 vkCmdSetDepthBoundsTestEnableEXT*: proc(commandBuffer: VkCommandBuffer, depthBoundsTestEnable: VkBool32): void {.stdcall.}
10210 vkCmdSetStencilTestEnableEXT*: proc(commandBuffer: VkCommandBuffer, stencilTestEnable: VkBool32): void {.stdcall.}
10211 vkCmdSetStencilOpEXT*: proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, failOp: VkStencilOp, passOp: VkStencilOp, depthFailOp: VkStencilOp, compareOp: VkCompareOp): void {.stdcall.}
10212 vkCreatePrivateDataSlotEXT*: proc(device: VkDevice, pCreateInfo: ptr VkPrivateDataSlotCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pPrivateDataSlot: ptr VkPrivateDataSlotEXT ): VkResult {.stdcall.}
10213 vkDestroyPrivateDataSlotEXT*: proc(device: VkDevice, privateDataSlot: VkPrivateDataSlotEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10214 vkSetPrivateDataEXT*: proc(device: VkDevice, objectType: VkObjectType, objectHandle: uint64, privateDataSlot: VkPrivateDataSlotEXT, data: uint64): VkResult {.stdcall.}
10215 vkGetPrivateDataEXT*: proc(device: VkDevice, objectType: VkObjectType, objectHandle: uint64, privateDataSlot: VkPrivateDataSlotEXT, pData: ptr uint64 ): void {.stdcall.}
10216
10217 # Vulkan 1_0
10218 proc vkLoad1_0*() =
10219 vkCreateInstance = cast[proc(pCreateInfo: ptr VkInstanceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pInstance: ptr VkInstance ): VkResult {.stdcall.}](vkGetProc("vkCreateInstance"))
10220 vkDestroyInstance = cast[proc(instance: VkInstance, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyInstance"))
10221 vkEnumeratePhysicalDevices = cast[proc(instance: VkInstance, pPhysicalDeviceCount: ptr uint32 , pPhysicalDevices: ptr VkPhysicalDevice ): VkResult {.stdcall.}](vkGetProc("vkEnumeratePhysicalDevices"))
10222 vkGetPhysicalDeviceFeatures = cast[proc(physicalDevice: VkPhysicalDevice, pFeatures: ptr VkPhysicalDeviceFeatures ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceFeatures"))
10223 vkGetPhysicalDeviceFormatProperties = cast[proc(physicalDevice: VkPhysicalDevice, format: VkFormat, pFormatProperties: ptr VkFormatProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceFormatProperties"))
10224 vkGetPhysicalDeviceImageFormatProperties = cast[proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, tiling: VkImageTiling, usage: VkImageUsageFlags, flags: VkImageCreateFlags, pImageFormatProperties: ptr VkImageFormatProperties ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceImageFormatProperties"))
10225 vkGetPhysicalDeviceProperties = cast[proc(physicalDevice: VkPhysicalDevice, pProperties: ptr VkPhysicalDeviceProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceProperties"))
10226 vkGetPhysicalDeviceQueueFamilyProperties = cast[proc(physicalDevice: VkPhysicalDevice, pQueueFamilyPropertyCount: ptr uint32 , pQueueFamilyProperties: ptr VkQueueFamilyProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceQueueFamilyProperties"))
10227 vkGetPhysicalDeviceMemoryProperties = cast[proc(physicalDevice: VkPhysicalDevice, pMemoryProperties: ptr VkPhysicalDeviceMemoryProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceMemoryProperties"))
10228 vkGetInstanceProcAddr = cast[proc(instance: VkInstance, pName: cstring ): PFN_vkVoidFunction {.stdcall.}](vkGetProc("vkGetInstanceProcAddr"))
10229 vkGetDeviceProcAddr = cast[proc(device: VkDevice, pName: cstring ): PFN_vkVoidFunction {.stdcall.}](vkGetProc("vkGetDeviceProcAddr"))
10230 vkCreateDevice = cast[proc(physicalDevice: VkPhysicalDevice, pCreateInfo: ptr VkDeviceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDevice: ptr VkDevice ): VkResult {.stdcall.}](vkGetProc("vkCreateDevice"))
10231 vkDestroyDevice = cast[proc(device: VkDevice, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDevice"))
10232 vkEnumerateInstanceExtensionProperties = cast[proc(pLayerName: cstring , pPropertyCount: ptr uint32 , pProperties: ptr VkExtensionProperties ): VkResult {.stdcall.}](vkGetProc("vkEnumerateInstanceExtensionProperties"))
10233 vkEnumerateDeviceExtensionProperties = cast[proc(physicalDevice: VkPhysicalDevice, pLayerName: cstring , pPropertyCount: ptr uint32 , pProperties: ptr VkExtensionProperties ): VkResult {.stdcall.}](vkGetProc("vkEnumerateDeviceExtensionProperties"))
10234 vkEnumerateInstanceLayerProperties = cast[proc(pPropertyCount: ptr uint32 , pProperties: ptr VkLayerProperties ): VkResult {.stdcall.}](vkGetProc("vkEnumerateInstanceLayerProperties"))
10235 vkEnumerateDeviceLayerProperties = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkLayerProperties ): VkResult {.stdcall.}](vkGetProc("vkEnumerateDeviceLayerProperties"))
10236 vkGetDeviceQueue = cast[proc(device: VkDevice, queueFamilyIndex: uint32, queueIndex: uint32, pQueue: ptr VkQueue ): void {.stdcall.}](vkGetProc("vkGetDeviceQueue"))
10237 vkQueueSubmit = cast[proc(queue: VkQueue, submitCount: uint32, pSubmits: ptr VkSubmitInfo , fence: VkFence): VkResult {.stdcall.}](vkGetProc("vkQueueSubmit"))
10238 vkQueueWaitIdle = cast[proc(queue: VkQueue): VkResult {.stdcall.}](vkGetProc("vkQueueWaitIdle"))
10239 vkDeviceWaitIdle = cast[proc(device: VkDevice): VkResult {.stdcall.}](vkGetProc("vkDeviceWaitIdle"))
10240 vkAllocateMemory = cast[proc(device: VkDevice, pAllocateInfo: ptr VkMemoryAllocateInfo , pAllocator: ptr VkAllocationCallbacks , pMemory: ptr VkDeviceMemory ): VkResult {.stdcall.}](vkGetProc("vkAllocateMemory"))
10241 vkFreeMemory = cast[proc(device: VkDevice, memory: VkDeviceMemory, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkFreeMemory"))
10242 vkMapMemory = cast[proc(device: VkDevice, memory: VkDeviceMemory, offset: VkDeviceSize, size: VkDeviceSize, flags: VkMemoryMapFlags, ppData: ptr pointer ): VkResult {.stdcall.}](vkGetProc("vkMapMemory"))
10243 vkUnmapMemory = cast[proc(device: VkDevice, memory: VkDeviceMemory): void {.stdcall.}](vkGetProc("vkUnmapMemory"))
10244 vkFlushMappedMemoryRanges = cast[proc(device: VkDevice, memoryRangeCount: uint32, pMemoryRanges: ptr VkMappedMemoryRange ): VkResult {.stdcall.}](vkGetProc("vkFlushMappedMemoryRanges"))
10245 vkInvalidateMappedMemoryRanges = cast[proc(device: VkDevice, memoryRangeCount: uint32, pMemoryRanges: ptr VkMappedMemoryRange ): VkResult {.stdcall.}](vkGetProc("vkInvalidateMappedMemoryRanges"))
10246 vkGetDeviceMemoryCommitment = cast[proc(device: VkDevice, memory: VkDeviceMemory, pCommittedMemoryInBytes: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkGetDeviceMemoryCommitment"))
10247 vkBindBufferMemory = cast[proc(device: VkDevice, buffer: VkBuffer, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkResult {.stdcall.}](vkGetProc("vkBindBufferMemory"))
10248 vkBindImageMemory = cast[proc(device: VkDevice, image: VkImage, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkResult {.stdcall.}](vkGetProc("vkBindImageMemory"))
10249 vkGetBufferMemoryRequirements = cast[proc(device: VkDevice, buffer: VkBuffer, pMemoryRequirements: ptr VkMemoryRequirements ): void {.stdcall.}](vkGetProc("vkGetBufferMemoryRequirements"))
10250 vkGetImageMemoryRequirements = cast[proc(device: VkDevice, image: VkImage, pMemoryRequirements: ptr VkMemoryRequirements ): void {.stdcall.}](vkGetProc("vkGetImageMemoryRequirements"))
10251 vkGetImageSparseMemoryRequirements = cast[proc(device: VkDevice, image: VkImage, pSparseMemoryRequirementCount: ptr uint32 , pSparseMemoryRequirements: ptr VkSparseImageMemoryRequirements ): void {.stdcall.}](vkGetProc("vkGetImageSparseMemoryRequirements"))
10252 vkGetPhysicalDeviceSparseImageFormatProperties = cast[proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, samples: VkSampleCountFlagBits, usage: VkImageUsageFlags, tiling: VkImageTiling, pPropertyCount: ptr uint32 , pProperties: ptr VkSparseImageFormatProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSparseImageFormatProperties"))
10253 vkQueueBindSparse = cast[proc(queue: VkQueue, bindInfoCount: uint32, pBindInfo: ptr VkBindSparseInfo , fence: VkFence): VkResult {.stdcall.}](vkGetProc("vkQueueBindSparse"))
10254 vkCreateFence = cast[proc(device: VkDevice, pCreateInfo: ptr VkFenceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}](vkGetProc("vkCreateFence"))
10255 vkDestroyFence = cast[proc(device: VkDevice, fence: VkFence, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyFence"))
10256 vkResetFences = cast[proc(device: VkDevice, fenceCount: uint32, pFences: ptr VkFence ): VkResult {.stdcall.}](vkGetProc("vkResetFences"))
10257 vkGetFenceStatus = cast[proc(device: VkDevice, fence: VkFence): VkResult {.stdcall.}](vkGetProc("vkGetFenceStatus"))
10258 vkWaitForFences = cast[proc(device: VkDevice, fenceCount: uint32, pFences: ptr VkFence , waitAll: VkBool32, timeout: uint64): VkResult {.stdcall.}](vkGetProc("vkWaitForFences"))
10259 vkCreateSemaphore = cast[proc(device: VkDevice, pCreateInfo: ptr VkSemaphoreCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSemaphore: ptr VkSemaphore ): VkResult {.stdcall.}](vkGetProc("vkCreateSemaphore"))
10260 vkDestroySemaphore = cast[proc(device: VkDevice, semaphore: VkSemaphore, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroySemaphore"))
10261 vkCreateEvent = cast[proc(device: VkDevice, pCreateInfo: ptr VkEventCreateInfo , pAllocator: ptr VkAllocationCallbacks , pEvent: ptr VkEvent ): VkResult {.stdcall.}](vkGetProc("vkCreateEvent"))
10262 vkDestroyEvent = cast[proc(device: VkDevice, event: VkEvent, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyEvent"))
10263 vkGetEventStatus = cast[proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}](vkGetProc("vkGetEventStatus"))
10264 vkSetEvent = cast[proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}](vkGetProc("vkSetEvent"))
10265 vkResetEvent = cast[proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}](vkGetProc("vkResetEvent"))
10266 vkCreateQueryPool = cast[proc(device: VkDevice, pCreateInfo: ptr VkQueryPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pQueryPool: ptr VkQueryPool ): VkResult {.stdcall.}](vkGetProc("vkCreateQueryPool"))
10267 vkDestroyQueryPool = cast[proc(device: VkDevice, queryPool: VkQueryPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyQueryPool"))
10268 vkGetQueryPoolResults = cast[proc(device: VkDevice, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32, dataSize: uint, pData: pointer , stride: VkDeviceSize, flags: VkQueryResultFlags): VkResult {.stdcall.}](vkGetProc("vkGetQueryPoolResults"))
10269 vkCreateBuffer = cast[proc(device: VkDevice, pCreateInfo: ptr VkBufferCreateInfo , pAllocator: ptr VkAllocationCallbacks , pBuffer: ptr VkBuffer ): VkResult {.stdcall.}](vkGetProc("vkCreateBuffer"))
10270 vkDestroyBuffer = cast[proc(device: VkDevice, buffer: VkBuffer, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyBuffer"))
10271 vkCreateBufferView = cast[proc(device: VkDevice, pCreateInfo: ptr VkBufferViewCreateInfo , pAllocator: ptr VkAllocationCallbacks , pView: ptr VkBufferView ): VkResult {.stdcall.}](vkGetProc("vkCreateBufferView"))
10272 vkDestroyBufferView = cast[proc(device: VkDevice, bufferView: VkBufferView, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyBufferView"))
10273 vkCreateImage = cast[proc(device: VkDevice, pCreateInfo: ptr VkImageCreateInfo , pAllocator: ptr VkAllocationCallbacks , pImage: ptr VkImage ): VkResult {.stdcall.}](vkGetProc("vkCreateImage"))
10274 vkDestroyImage = cast[proc(device: VkDevice, image: VkImage, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyImage"))
10275 vkGetImageSubresourceLayout = cast[proc(device: VkDevice, image: VkImage, pSubresource: ptr VkImageSubresource , pLayout: ptr VkSubresourceLayout ): void {.stdcall.}](vkGetProc("vkGetImageSubresourceLayout"))
10276 vkCreateImageView = cast[proc(device: VkDevice, pCreateInfo: ptr VkImageViewCreateInfo , pAllocator: ptr VkAllocationCallbacks , pView: ptr VkImageView ): VkResult {.stdcall.}](vkGetProc("vkCreateImageView"))
10277 vkDestroyImageView = cast[proc(device: VkDevice, imageView: VkImageView, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyImageView"))
10278 vkCreateShaderModule = cast[proc(device: VkDevice, pCreateInfo: ptr VkShaderModuleCreateInfo , pAllocator: ptr VkAllocationCallbacks , pShaderModule: ptr VkShaderModule ): VkResult {.stdcall.}](vkGetProc("vkCreateShaderModule"))
10279 vkDestroyShaderModule = cast[proc(device: VkDevice, shaderModule: VkShaderModule, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyShaderModule"))
10280 vkCreatePipelineCache = cast[proc(device: VkDevice, pCreateInfo: ptr VkPipelineCacheCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelineCache: ptr VkPipelineCache ): VkResult {.stdcall.}](vkGetProc("vkCreatePipelineCache"))
10281 vkDestroyPipelineCache = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyPipelineCache"))
10282 vkGetPipelineCacheData = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, pDataSize: ptr uint , pData: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetPipelineCacheData"))
10283 vkMergePipelineCaches = cast[proc(device: VkDevice, dstCache: VkPipelineCache, srcCacheCount: uint32, pSrcCaches: ptr VkPipelineCache ): VkResult {.stdcall.}](vkGetProc("vkMergePipelineCaches"))
10284 vkCreateGraphicsPipelines = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkGraphicsPipelineCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}](vkGetProc("vkCreateGraphicsPipelines"))
10285 vkCreateComputePipelines = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkComputePipelineCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}](vkGetProc("vkCreateComputePipelines"))
10286 vkDestroyPipeline = cast[proc(device: VkDevice, pipeline: VkPipeline, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyPipeline"))
10287 vkCreatePipelineLayout = cast[proc(device: VkDevice, pCreateInfo: ptr VkPipelineLayoutCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelineLayout: ptr VkPipelineLayout ): VkResult {.stdcall.}](vkGetProc("vkCreatePipelineLayout"))
10288 vkDestroyPipelineLayout = cast[proc(device: VkDevice, pipelineLayout: VkPipelineLayout, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyPipelineLayout"))
10289 vkCreateSampler = cast[proc(device: VkDevice, pCreateInfo: ptr VkSamplerCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSampler: ptr VkSampler ): VkResult {.stdcall.}](vkGetProc("vkCreateSampler"))
10290 vkDestroySampler = cast[proc(device: VkDevice, sampler: VkSampler, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroySampler"))
10291 vkCreateDescriptorSetLayout = cast[proc(device: VkDevice, pCreateInfo: ptr VkDescriptorSetLayoutCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSetLayout: ptr VkDescriptorSetLayout ): VkResult {.stdcall.}](vkGetProc("vkCreateDescriptorSetLayout"))
10292 vkDestroyDescriptorSetLayout = cast[proc(device: VkDevice, descriptorSetLayout: VkDescriptorSetLayout, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDescriptorSetLayout"))
10293 vkCreateDescriptorPool = cast[proc(device: VkDevice, pCreateInfo: ptr VkDescriptorPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDescriptorPool: ptr VkDescriptorPool ): VkResult {.stdcall.}](vkGetProc("vkCreateDescriptorPool"))
10294 vkDestroyDescriptorPool = cast[proc(device: VkDevice, descriptorPool: VkDescriptorPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDescriptorPool"))
10295 vkResetDescriptorPool = cast[proc(device: VkDevice, descriptorPool: VkDescriptorPool, flags: VkDescriptorPoolResetFlags): VkResult {.stdcall.}](vkGetProc("vkResetDescriptorPool"))
10296 vkAllocateDescriptorSets = cast[proc(device: VkDevice, pAllocateInfo: ptr VkDescriptorSetAllocateInfo , pDescriptorSets: ptr VkDescriptorSet ): VkResult {.stdcall.}](vkGetProc("vkAllocateDescriptorSets"))
10297 vkFreeDescriptorSets = cast[proc(device: VkDevice, descriptorPool: VkDescriptorPool, descriptorSetCount: uint32, pDescriptorSets: ptr VkDescriptorSet ): VkResult {.stdcall.}](vkGetProc("vkFreeDescriptorSets"))
10298 vkUpdateDescriptorSets = cast[proc(device: VkDevice, descriptorWriteCount: uint32, pDescriptorWrites: ptr VkWriteDescriptorSet , descriptorCopyCount: uint32, pDescriptorCopies: ptr VkCopyDescriptorSet ): void {.stdcall.}](vkGetProc("vkUpdateDescriptorSets"))
10299 vkCreateFramebuffer = cast[proc(device: VkDevice, pCreateInfo: ptr VkFramebufferCreateInfo , pAllocator: ptr VkAllocationCallbacks , pFramebuffer: ptr VkFramebuffer ): VkResult {.stdcall.}](vkGetProc("vkCreateFramebuffer"))
10300 vkDestroyFramebuffer = cast[proc(device: VkDevice, framebuffer: VkFramebuffer, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyFramebuffer"))
10301 vkCreateRenderPass = cast[proc(device: VkDevice, pCreateInfo: ptr VkRenderPassCreateInfo , pAllocator: ptr VkAllocationCallbacks , pRenderPass: ptr VkRenderPass ): VkResult {.stdcall.}](vkGetProc("vkCreateRenderPass"))
10302 vkDestroyRenderPass = cast[proc(device: VkDevice, renderPass: VkRenderPass, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyRenderPass"))
10303 vkGetRenderAreaGranularity = cast[proc(device: VkDevice, renderPass: VkRenderPass, pGranularity: ptr VkExtent2D ): void {.stdcall.}](vkGetProc("vkGetRenderAreaGranularity"))
10304 vkCreateCommandPool = cast[proc(device: VkDevice, pCreateInfo: ptr VkCommandPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pCommandPool: ptr VkCommandPool ): VkResult {.stdcall.}](vkGetProc("vkCreateCommandPool"))
10305 vkDestroyCommandPool = cast[proc(device: VkDevice, commandPool: VkCommandPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyCommandPool"))
10306 vkResetCommandPool = cast[proc(device: VkDevice, commandPool: VkCommandPool, flags: VkCommandPoolResetFlags): VkResult {.stdcall.}](vkGetProc("vkResetCommandPool"))
10307 vkAllocateCommandBuffers = cast[proc(device: VkDevice, pAllocateInfo: ptr VkCommandBufferAllocateInfo , pCommandBuffers: ptr VkCommandBuffer ): VkResult {.stdcall.}](vkGetProc("vkAllocateCommandBuffers"))
10308 vkFreeCommandBuffers = cast[proc(device: VkDevice, commandPool: VkCommandPool, commandBufferCount: uint32, pCommandBuffers: ptr VkCommandBuffer ): void {.stdcall.}](vkGetProc("vkFreeCommandBuffers"))
10309 vkBeginCommandBuffer = cast[proc(commandBuffer: VkCommandBuffer, pBeginInfo: ptr VkCommandBufferBeginInfo ): VkResult {.stdcall.}](vkGetProc("vkBeginCommandBuffer"))
10310 vkEndCommandBuffer = cast[proc(commandBuffer: VkCommandBuffer): VkResult {.stdcall.}](vkGetProc("vkEndCommandBuffer"))
10311 vkResetCommandBuffer = cast[proc(commandBuffer: VkCommandBuffer, flags: VkCommandBufferResetFlags): VkResult {.stdcall.}](vkGetProc("vkResetCommandBuffer"))
10312 vkCmdBindPipeline = cast[proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline): void {.stdcall.}](vkGetProc("vkCmdBindPipeline"))
10313 vkCmdSetViewport = cast[proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pViewports: ptr VkViewport ): void {.stdcall.}](vkGetProc("vkCmdSetViewport"))
10314 vkCmdSetScissor = cast[proc(commandBuffer: VkCommandBuffer, firstScissor: uint32, scissorCount: uint32, pScissors: ptr VkRect2D ): void {.stdcall.}](vkGetProc("vkCmdSetScissor"))
10315 vkCmdSetLineWidth = cast[proc(commandBuffer: VkCommandBuffer, lineWidth: float32): void {.stdcall.}](vkGetProc("vkCmdSetLineWidth"))
10316 vkCmdSetDepthBias = cast[proc(commandBuffer: VkCommandBuffer, depthBiasConstantFactor: float32, depthBiasClamp: float32, depthBiasSlopeFactor: float32): void {.stdcall.}](vkGetProc("vkCmdSetDepthBias"))
10317 vkCmdSetBlendConstants = cast[proc(commandBuffer: VkCommandBuffer, blendConstants: array[4, float32]): void {.stdcall.}](vkGetProc("vkCmdSetBlendConstants"))
10318 vkCmdSetDepthBounds = cast[proc(commandBuffer: VkCommandBuffer, minDepthBounds: float32, maxDepthBounds: float32): void {.stdcall.}](vkGetProc("vkCmdSetDepthBounds"))
10319 vkCmdSetStencilCompareMask = cast[proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, compareMask: uint32): void {.stdcall.}](vkGetProc("vkCmdSetStencilCompareMask"))
10320 vkCmdSetStencilWriteMask = cast[proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, writeMask: uint32): void {.stdcall.}](vkGetProc("vkCmdSetStencilWriteMask"))
10321 vkCmdSetStencilReference = cast[proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, reference: uint32): void {.stdcall.}](vkGetProc("vkCmdSetStencilReference"))
10322 vkCmdBindDescriptorSets = cast[proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, layout: VkPipelineLayout, firstSet: uint32, descriptorSetCount: uint32, pDescriptorSets: ptr VkDescriptorSet , dynamicOffsetCount: uint32, pDynamicOffsets: ptr uint32 ): void {.stdcall.}](vkGetProc("vkCmdBindDescriptorSets"))
10323 vkCmdBindIndexBuffer = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, indexType: VkIndexType): void {.stdcall.}](vkGetProc("vkCmdBindIndexBuffer"))
10324 vkCmdBindVertexBuffers = cast[proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkCmdBindVertexBuffers"))
10325 vkCmdDraw = cast[proc(commandBuffer: VkCommandBuffer, vertexCount: uint32, instanceCount: uint32, firstVertex: uint32, firstInstance: uint32): void {.stdcall.}](vkGetProc("vkCmdDraw"))
10326 vkCmdDrawIndexed = cast[proc(commandBuffer: VkCommandBuffer, indexCount: uint32, instanceCount: uint32, firstIndex: uint32, vertexOffset: int32, firstInstance: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndexed"))
10327 vkCmdDrawIndirect = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndirect"))
10328 vkCmdDrawIndexedIndirect = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndexedIndirect"))
10329 vkCmdDispatch = cast[proc(commandBuffer: VkCommandBuffer, groupCountX: uint32, groupCountY: uint32, groupCountZ: uint32): void {.stdcall.}](vkGetProc("vkCmdDispatch"))
10330 vkCmdDispatchIndirect = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize): void {.stdcall.}](vkGetProc("vkCmdDispatchIndirect"))
10331 vkCmdCopyBuffer = cast[proc(commandBuffer: VkCommandBuffer, srcBuffer: VkBuffer, dstBuffer: VkBuffer, regionCount: uint32, pRegions: ptr VkBufferCopy ): void {.stdcall.}](vkGetProc("vkCmdCopyBuffer"))
10332 vkCmdCopyImage = cast[proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageCopy ): void {.stdcall.}](vkGetProc("vkCmdCopyImage"))
10333 vkCmdBlitImage = cast[proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageBlit , filter: VkFilter): void {.stdcall.}](vkGetProc("vkCmdBlitImage"))
10334 vkCmdCopyBufferToImage = cast[proc(commandBuffer: VkCommandBuffer, srcBuffer: VkBuffer, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkBufferImageCopy ): void {.stdcall.}](vkGetProc("vkCmdCopyBufferToImage"))
10335 vkCmdCopyImageToBuffer = cast[proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstBuffer: VkBuffer, regionCount: uint32, pRegions: ptr VkBufferImageCopy ): void {.stdcall.}](vkGetProc("vkCmdCopyImageToBuffer"))
10336 vkCmdUpdateBuffer = cast[proc(commandBuffer: VkCommandBuffer, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, dataSize: VkDeviceSize, pData: pointer ): void {.stdcall.}](vkGetProc("vkCmdUpdateBuffer"))
10337 vkCmdFillBuffer = cast[proc(commandBuffer: VkCommandBuffer, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, size: VkDeviceSize, data: uint32): void {.stdcall.}](vkGetProc("vkCmdFillBuffer"))
10338 vkCmdClearColorImage = cast[proc(commandBuffer: VkCommandBuffer, image: VkImage, imageLayout: VkImageLayout, pColor: ptr VkClearColorValue , rangeCount: uint32, pRanges: ptr VkImageSubresourceRange ): void {.stdcall.}](vkGetProc("vkCmdClearColorImage"))
10339 vkCmdClearDepthStencilImage = cast[proc(commandBuffer: VkCommandBuffer, image: VkImage, imageLayout: VkImageLayout, pDepthStencil: ptr VkClearDepthStencilValue , rangeCount: uint32, pRanges: ptr VkImageSubresourceRange ): void {.stdcall.}](vkGetProc("vkCmdClearDepthStencilImage"))
10340 vkCmdClearAttachments = cast[proc(commandBuffer: VkCommandBuffer, attachmentCount: uint32, pAttachments: ptr VkClearAttachment , rectCount: uint32, pRects: ptr VkClearRect ): void {.stdcall.}](vkGetProc("vkCmdClearAttachments"))
10341 vkCmdResolveImage = cast[proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageResolve ): void {.stdcall.}](vkGetProc("vkCmdResolveImage"))
10342 vkCmdSetEvent = cast[proc(commandBuffer: VkCommandBuffer, event: VkEvent, stageMask: VkPipelineStageFlags): void {.stdcall.}](vkGetProc("vkCmdSetEvent"))
10343 vkCmdResetEvent = cast[proc(commandBuffer: VkCommandBuffer, event: VkEvent, stageMask: VkPipelineStageFlags): void {.stdcall.}](vkGetProc("vkCmdResetEvent"))
10344 vkCmdWaitEvents = cast[proc(commandBuffer: VkCommandBuffer, eventCount: uint32, pEvents: ptr VkEvent , srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, memoryBarrierCount: uint32, pMemoryBarriers: ptr VkMemoryBarrier , bufferMemoryBarrierCount: uint32, pBufferMemoryBarriers: ptr VkBufferMemoryBarrier , imageMemoryBarrierCount: uint32, pImageMemoryBarriers: ptr VkImageMemoryBarrier ): void {.stdcall.}](vkGetProc("vkCmdWaitEvents"))
10345 vkCmdPipelineBarrier = cast[proc(commandBuffer: VkCommandBuffer, srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, dependencyFlags: VkDependencyFlags, memoryBarrierCount: uint32, pMemoryBarriers: ptr VkMemoryBarrier , bufferMemoryBarrierCount: uint32, pBufferMemoryBarriers: ptr VkBufferMemoryBarrier , imageMemoryBarrierCount: uint32, pImageMemoryBarriers: ptr VkImageMemoryBarrier ): void {.stdcall.}](vkGetProc("vkCmdPipelineBarrier"))
10346 vkCmdBeginQuery = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, flags: VkQueryControlFlags): void {.stdcall.}](vkGetProc("vkCmdBeginQuery"))
10347 vkCmdEndQuery = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32): void {.stdcall.}](vkGetProc("vkCmdEndQuery"))
10348 vkCmdResetQueryPool = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32): void {.stdcall.}](vkGetProc("vkCmdResetQueryPool"))
10349 vkCmdWriteTimestamp = cast[proc(commandBuffer: VkCommandBuffer, pipelineStage: VkPipelineStageFlagBits, queryPool: VkQueryPool, query: uint32): void {.stdcall.}](vkGetProc("vkCmdWriteTimestamp"))
10350 vkCmdCopyQueryPoolResults = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, stride: VkDeviceSize, flags: VkQueryResultFlags): void {.stdcall.}](vkGetProc("vkCmdCopyQueryPoolResults"))
10351 vkCmdPushConstants = cast[proc(commandBuffer: VkCommandBuffer, layout: VkPipelineLayout, stageFlags: VkShaderStageFlags, offset: uint32, size: uint32, pValues: pointer ): void {.stdcall.}](vkGetProc("vkCmdPushConstants"))
10352 vkCmdBeginRenderPass = cast[proc(commandBuffer: VkCommandBuffer, pRenderPassBegin: ptr VkRenderPassBeginInfo , contents: VkSubpassContents): void {.stdcall.}](vkGetProc("vkCmdBeginRenderPass"))
10353 vkCmdNextSubpass = cast[proc(commandBuffer: VkCommandBuffer, contents: VkSubpassContents): void {.stdcall.}](vkGetProc("vkCmdNextSubpass"))
10354 vkCmdEndRenderPass = cast[proc(commandBuffer: VkCommandBuffer): void {.stdcall.}](vkGetProc("vkCmdEndRenderPass"))
10355 vkCmdExecuteCommands = cast[proc(commandBuffer: VkCommandBuffer, commandBufferCount: uint32, pCommandBuffers: ptr VkCommandBuffer ): void {.stdcall.}](vkGetProc("vkCmdExecuteCommands"))
10356
10357 # Vulkan 1_1
10358 proc vkLoad1_1*() =
10359 vkEnumerateInstanceVersion = cast[proc(pApiVersion: ptr uint32 ): VkResult {.stdcall.}](vkGetProc("vkEnumerateInstanceVersion"))
10360 vkBindBufferMemory2 = cast[proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindBufferMemoryInfo ): VkResult {.stdcall.}](vkGetProc("vkBindBufferMemory2"))
10361 vkBindImageMemory2 = cast[proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindImageMemoryInfo ): VkResult {.stdcall.}](vkGetProc("vkBindImageMemory2"))
10362 vkGetDeviceGroupPeerMemoryFeatures = cast[proc(device: VkDevice, heapIndex: uint32, localDeviceIndex: uint32, remoteDeviceIndex: uint32, pPeerMemoryFeatures: ptr VkPeerMemoryFeatureFlags ): void {.stdcall.}](vkGetProc("vkGetDeviceGroupPeerMemoryFeatures"))
10363 vkCmdSetDeviceMask = cast[proc(commandBuffer: VkCommandBuffer, deviceMask: uint32): void {.stdcall.}](vkGetProc("vkCmdSetDeviceMask"))
10364 vkCmdDispatchBase = cast[proc(commandBuffer: VkCommandBuffer, baseGroupX: uint32, baseGroupY: uint32, baseGroupZ: uint32, groupCountX: uint32, groupCountY: uint32, groupCountZ: uint32): void {.stdcall.}](vkGetProc("vkCmdDispatchBase"))
10365 vkEnumeratePhysicalDeviceGroups = cast[proc(instance: VkInstance, pPhysicalDeviceGroupCount: ptr uint32 , pPhysicalDeviceGroupProperties: ptr VkPhysicalDeviceGroupProperties ): VkResult {.stdcall.}](vkGetProc("vkEnumeratePhysicalDeviceGroups"))
10366 vkGetImageMemoryRequirements2 = cast[proc(device: VkDevice, pInfo: ptr VkImageMemoryRequirementsInfo2 , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}](vkGetProc("vkGetImageMemoryRequirements2"))
10367 vkGetBufferMemoryRequirements2 = cast[proc(device: VkDevice, pInfo: ptr VkBufferMemoryRequirementsInfo2 , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}](vkGetProc("vkGetBufferMemoryRequirements2"))
10368 vkGetImageSparseMemoryRequirements2 = cast[proc(device: VkDevice, pInfo: ptr VkImageSparseMemoryRequirementsInfo2 , pSparseMemoryRequirementCount: ptr uint32 , pSparseMemoryRequirements: ptr VkSparseImageMemoryRequirements2 ): void {.stdcall.}](vkGetProc("vkGetImageSparseMemoryRequirements2"))
10369 vkGetPhysicalDeviceFeatures2 = cast[proc(physicalDevice: VkPhysicalDevice, pFeatures: ptr VkPhysicalDeviceFeatures2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceFeatures2"))
10370 vkGetPhysicalDeviceProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, pProperties: ptr VkPhysicalDeviceProperties2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceProperties2"))
10371 vkGetPhysicalDeviceFormatProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, format: VkFormat, pFormatProperties: ptr VkFormatProperties2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceFormatProperties2"))
10372 vkGetPhysicalDeviceImageFormatProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, pImageFormatInfo: ptr VkPhysicalDeviceImageFormatInfo2 , pImageFormatProperties: ptr VkImageFormatProperties2 ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceImageFormatProperties2"))
10373 vkGetPhysicalDeviceQueueFamilyProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, pQueueFamilyPropertyCount: ptr uint32 , pQueueFamilyProperties: ptr VkQueueFamilyProperties2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceQueueFamilyProperties2"))
10374 vkGetPhysicalDeviceMemoryProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, pMemoryProperties: ptr VkPhysicalDeviceMemoryProperties2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceMemoryProperties2"))
10375 vkGetPhysicalDeviceSparseImageFormatProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, pFormatInfo: ptr VkPhysicalDeviceSparseImageFormatInfo2 , pPropertyCount: ptr uint32 , pProperties: ptr VkSparseImageFormatProperties2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSparseImageFormatProperties2"))
10376 vkTrimCommandPool = cast[proc(device: VkDevice, commandPool: VkCommandPool, flags: VkCommandPoolTrimFlags): void {.stdcall.}](vkGetProc("vkTrimCommandPool"))
10377 vkGetDeviceQueue2 = cast[proc(device: VkDevice, pQueueInfo: ptr VkDeviceQueueInfo2 , pQueue: ptr VkQueue ): void {.stdcall.}](vkGetProc("vkGetDeviceQueue2"))
10378 vkCreateSamplerYcbcrConversion = cast[proc(device: VkDevice, pCreateInfo: ptr VkSamplerYcbcrConversionCreateInfo , pAllocator: ptr VkAllocationCallbacks , pYcbcrConversion: ptr VkSamplerYcbcrConversion ): VkResult {.stdcall.}](vkGetProc("vkCreateSamplerYcbcrConversion"))
10379 vkDestroySamplerYcbcrConversion = cast[proc(device: VkDevice, ycbcrConversion: VkSamplerYcbcrConversion, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroySamplerYcbcrConversion"))
10380 vkCreateDescriptorUpdateTemplate = cast[proc(device: VkDevice, pCreateInfo: ptr VkDescriptorUpdateTemplateCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDescriptorUpdateTemplate: ptr VkDescriptorUpdateTemplate ): VkResult {.stdcall.}](vkGetProc("vkCreateDescriptorUpdateTemplate"))
10381 vkDestroyDescriptorUpdateTemplate = cast[proc(device: VkDevice, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDescriptorUpdateTemplate"))
10382 vkUpdateDescriptorSetWithTemplate = cast[proc(device: VkDevice, descriptorSet: VkDescriptorSet, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, pData: pointer ): void {.stdcall.}](vkGetProc("vkUpdateDescriptorSetWithTemplate"))
10383 vkGetPhysicalDeviceExternalBufferProperties = cast[proc(physicalDevice: VkPhysicalDevice, pExternalBufferInfo: ptr VkPhysicalDeviceExternalBufferInfo , pExternalBufferProperties: ptr VkExternalBufferProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceExternalBufferProperties"))
10384 vkGetPhysicalDeviceExternalFenceProperties = cast[proc(physicalDevice: VkPhysicalDevice, pExternalFenceInfo: ptr VkPhysicalDeviceExternalFenceInfo , pExternalFenceProperties: ptr VkExternalFenceProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceExternalFenceProperties"))
10385 vkGetPhysicalDeviceExternalSemaphoreProperties = cast[proc(physicalDevice: VkPhysicalDevice, pExternalSemaphoreInfo: ptr VkPhysicalDeviceExternalSemaphoreInfo , pExternalSemaphoreProperties: ptr VkExternalSemaphoreProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceExternalSemaphoreProperties"))
10386 vkGetDescriptorSetLayoutSupport = cast[proc(device: VkDevice, pCreateInfo: ptr VkDescriptorSetLayoutCreateInfo , pSupport: ptr VkDescriptorSetLayoutSupport ): void {.stdcall.}](vkGetProc("vkGetDescriptorSetLayoutSupport"))
10387
10388 # Vulkan 1_2
10389 proc vkLoad1_2*() =
10390 vkCmdDrawIndirectCount = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndirectCount"))
10391 vkCmdDrawIndexedIndirectCount = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndexedIndirectCount"))
10392 vkCreateRenderPass2 = cast[proc(device: VkDevice, pCreateInfo: ptr VkRenderPassCreateInfo2 , pAllocator: ptr VkAllocationCallbacks , pRenderPass: ptr VkRenderPass ): VkResult {.stdcall.}](vkGetProc("vkCreateRenderPass2"))
10393 vkCmdBeginRenderPass2 = cast[proc(commandBuffer: VkCommandBuffer, pRenderPassBegin: ptr VkRenderPassBeginInfo , pSubpassBeginInfo: ptr VkSubpassBeginInfo ): void {.stdcall.}](vkGetProc("vkCmdBeginRenderPass2"))
10394 vkCmdNextSubpass2 = cast[proc(commandBuffer: VkCommandBuffer, pSubpassBeginInfo: ptr VkSubpassBeginInfo , pSubpassEndInfo: ptr VkSubpassEndInfo ): void {.stdcall.}](vkGetProc("vkCmdNextSubpass2"))
10395 vkCmdEndRenderPass2 = cast[proc(commandBuffer: VkCommandBuffer, pSubpassEndInfo: ptr VkSubpassEndInfo ): void {.stdcall.}](vkGetProc("vkCmdEndRenderPass2"))
10396 vkResetQueryPool = cast[proc(device: VkDevice, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32): void {.stdcall.}](vkGetProc("vkResetQueryPool"))
10397 vkGetSemaphoreCounterValue = cast[proc(device: VkDevice, semaphore: VkSemaphore, pValue: ptr uint64 ): VkResult {.stdcall.}](vkGetProc("vkGetSemaphoreCounterValue"))
10398 vkWaitSemaphores = cast[proc(device: VkDevice, pWaitInfo: ptr VkSemaphoreWaitInfo , timeout: uint64): VkResult {.stdcall.}](vkGetProc("vkWaitSemaphores"))
10399 vkSignalSemaphore = cast[proc(device: VkDevice, pSignalInfo: ptr VkSemaphoreSignalInfo ): VkResult {.stdcall.}](vkGetProc("vkSignalSemaphore"))
10400 vkGetBufferDeviceAddress = cast[proc(device: VkDevice, pInfo: ptr VkBufferDeviceAddressInfo ): VkDeviceAddress {.stdcall.}](vkGetProc("vkGetBufferDeviceAddress"))
10401 vkGetBufferOpaqueCaptureAddress = cast[proc(device: VkDevice, pInfo: ptr VkBufferDeviceAddressInfo ): uint64 {.stdcall.}](vkGetProc("vkGetBufferOpaqueCaptureAddress"))
10402 vkGetDeviceMemoryOpaqueCaptureAddress = cast[proc(device: VkDevice, pInfo: ptr VkDeviceMemoryOpaqueCaptureAddressInfo ): uint64 {.stdcall.}](vkGetProc("vkGetDeviceMemoryOpaqueCaptureAddress"))
10403
10404 # Load VK_KHR_surface
10405 proc loadVK_KHR_surface*() =
10406 vkDestroySurfaceKHR = cast[proc(instance: VkInstance, surface: VkSurfaceKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroySurfaceKHR"))
10407 vkGetPhysicalDeviceSurfaceSupportKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, surface: VkSurfaceKHR, pSupported: ptr VkBool32 ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceSupportKHR"))
10408 vkGetPhysicalDeviceSurfaceCapabilitiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceCapabilities: ptr VkSurfaceCapabilitiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceCapabilitiesKHR"))
10409 vkGetPhysicalDeviceSurfaceFormatsKHR = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceFormatCount: ptr uint32 , pSurfaceFormats: ptr VkSurfaceFormatKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceFormatsKHR"))
10410 vkGetPhysicalDeviceSurfacePresentModesKHR = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pPresentModeCount: ptr uint32 , pPresentModes: ptr VkPresentModeKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfacePresentModesKHR"))
10411
10412 # Load VK_KHR_swapchain
10413 proc loadVK_KHR_swapchain*() =
10414 vkCreateSwapchainKHR = cast[proc(device: VkDevice, pCreateInfo: ptr VkSwapchainCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSwapchain: ptr VkSwapchainKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateSwapchainKHR"))
10415 vkDestroySwapchainKHR = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroySwapchainKHR"))
10416 vkGetSwapchainImagesKHR = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, pSwapchainImageCount: ptr uint32 , pSwapchainImages: ptr VkImage ): VkResult {.stdcall.}](vkGetProc("vkGetSwapchainImagesKHR"))
10417 vkAcquireNextImageKHR = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, timeout: uint64, semaphore: VkSemaphore, fence: VkFence, pImageIndex: ptr uint32 ): VkResult {.stdcall.}](vkGetProc("vkAcquireNextImageKHR"))
10418 vkQueuePresentKHR = cast[proc(queue: VkQueue, pPresentInfo: ptr VkPresentInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkQueuePresentKHR"))
10419 vkGetDeviceGroupPresentCapabilitiesKHR = cast[proc(device: VkDevice, pDeviceGroupPresentCapabilities: ptr VkDeviceGroupPresentCapabilitiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupPresentCapabilitiesKHR"))
10420 vkGetDeviceGroupSurfacePresentModesKHR = cast[proc(device: VkDevice, surface: VkSurfaceKHR, pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupSurfacePresentModesKHR"))
10421 vkGetPhysicalDevicePresentRectanglesKHR = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pRectCount: ptr uint32 , pRects: ptr VkRect2D ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDevicePresentRectanglesKHR"))
10422 vkAcquireNextImage2KHR = cast[proc(device: VkDevice, pAcquireInfo: ptr VkAcquireNextImageInfoKHR , pImageIndex: ptr uint32 ): VkResult {.stdcall.}](vkGetProc("vkAcquireNextImage2KHR"))
10423
10424 # Load VK_KHR_display
10425 proc loadVK_KHR_display*() =
10426 vkGetPhysicalDeviceDisplayPropertiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceDisplayPropertiesKHR"))
10427 vkGetPhysicalDeviceDisplayPlanePropertiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPlanePropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceDisplayPlanePropertiesKHR"))
10428 vkGetDisplayPlaneSupportedDisplaysKHR = cast[proc(physicalDevice: VkPhysicalDevice, planeIndex: uint32, pDisplayCount: ptr uint32 , pDisplays: ptr VkDisplayKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDisplayPlaneSupportedDisplaysKHR"))
10429 vkGetDisplayModePropertiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayModePropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDisplayModePropertiesKHR"))
10430 vkCreateDisplayModeKHR = cast[proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pCreateInfo: ptr VkDisplayModeCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pMode: ptr VkDisplayModeKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateDisplayModeKHR"))
10431 vkGetDisplayPlaneCapabilitiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, mode: VkDisplayModeKHR, planeIndex: uint32, pCapabilities: ptr VkDisplayPlaneCapabilitiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDisplayPlaneCapabilitiesKHR"))
10432 vkCreateDisplayPlaneSurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkDisplaySurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateDisplayPlaneSurfaceKHR"))
10433
10434 # Load VK_KHR_display_swapchain
10435 proc loadVK_KHR_display_swapchain*() =
10436 vkCreateSharedSwapchainsKHR = cast[proc(device: VkDevice, swapchainCount: uint32, pCreateInfos: ptr VkSwapchainCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSwapchains: ptr VkSwapchainKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateSharedSwapchainsKHR"))
10437
10438 # Load VK_KHR_xlib_surface
10439 proc loadVK_KHR_xlib_surface*() =
10440 vkCreateXlibSurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkXlibSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateXlibSurfaceKHR"))
10441 vkGetPhysicalDeviceXlibPresentationSupportKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, dpy: ptr Display , visualID: VisualID): VkBool32 {.stdcall.}](vkGetProc("vkGetPhysicalDeviceXlibPresentationSupportKHR"))
10442
10443 # Load VK_KHR_xcb_surface
10444 proc loadVK_KHR_xcb_surface*() =
10445 vkCreateXcbSurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkXcbSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateXcbSurfaceKHR"))
10446 vkGetPhysicalDeviceXcbPresentationSupportKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, connection: ptr xcb_connection_t , visual_id: xcb_visualid_t): VkBool32 {.stdcall.}](vkGetProc("vkGetPhysicalDeviceXcbPresentationSupportKHR"))
10447
10448 # Load VK_KHR_wayland_surface
10449 proc loadVK_KHR_wayland_surface*() =
10450 vkCreateWaylandSurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkWaylandSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateWaylandSurfaceKHR"))
10451 vkGetPhysicalDeviceWaylandPresentationSupportKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, display: ptr wl_display ): VkBool32 {.stdcall.}](vkGetProc("vkGetPhysicalDeviceWaylandPresentationSupportKHR"))
10452
10453 # Load VK_KHR_android_surface
10454 proc loadVK_KHR_android_surface*() =
10455 vkCreateAndroidSurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkAndroidSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateAndroidSurfaceKHR"))
10456
10457 # Load VK_KHR_win32_surface
10458 proc loadVK_KHR_win32_surface*() =
10459 vkCreateWin32SurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkWin32SurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateWin32SurfaceKHR"))
10460 vkGetPhysicalDeviceWin32PresentationSupportKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32): VkBool32 {.stdcall.}](vkGetProc("vkGetPhysicalDeviceWin32PresentationSupportKHR"))
10461
10462 # Load VK_ANDROID_native_buffer
10463 proc loadVK_ANDROID_native_buffer*() =
10464 vkGetSwapchainGrallocUsageANDROID = cast[proc(device: VkDevice, format: VkFormat, imageUsage: VkImageUsageFlags, grallocUsage: ptr int ): VkResult {.stdcall.}](vkGetProc("vkGetSwapchainGrallocUsageANDROID"))
10465 vkAcquireImageANDROID = cast[proc(device: VkDevice, image: VkImage, nativeFenceFd: int, semaphore: VkSemaphore, fence: VkFence): VkResult {.stdcall.}](vkGetProc("vkAcquireImageANDROID"))
10466 vkQueueSignalReleaseImageANDROID = cast[proc(queue: VkQueue, waitSemaphoreCount: uint32, pWaitSemaphores: ptr VkSemaphore , image: VkImage, pNativeFenceFd: ptr int ): VkResult {.stdcall.}](vkGetProc("vkQueueSignalReleaseImageANDROID"))
10467 vkGetSwapchainGrallocUsage2ANDROID = cast[proc(device: VkDevice, format: VkFormat, imageUsage: VkImageUsageFlags, swapchainImageUsage: VkSwapchainImageUsageFlagsANDROID, grallocConsumerUsage: ptr uint64 , grallocProducerUsage: ptr uint64 ): VkResult {.stdcall.}](vkGetProc("vkGetSwapchainGrallocUsage2ANDROID"))
10468
10469 # Load VK_EXT_debug_report
10470 proc loadVK_EXT_debug_report*() =
10471 vkCreateDebugReportCallbackEXT = cast[proc(instance: VkInstance, pCreateInfo: ptr VkDebugReportCallbackCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pCallback: ptr VkDebugReportCallbackEXT ): VkResult {.stdcall.}](vkGetProc("vkCreateDebugReportCallbackEXT"))
10472 vkDestroyDebugReportCallbackEXT = cast[proc(instance: VkInstance, callback: VkDebugReportCallbackEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDebugReportCallbackEXT"))
10473 vkDebugReportMessageEXT = cast[proc(instance: VkInstance, flags: VkDebugReportFlagsEXT, objectType: VkDebugReportObjectTypeEXT, `object`: uint64, location: uint, messageCode: int32, pLayerPrefix: cstring , pMessage: cstring ): void {.stdcall.}](vkGetProc("vkDebugReportMessageEXT"))
10474
10475 # Load VK_EXT_debug_marker
10476 proc loadVK_EXT_debug_marker*() =
10477 vkDebugMarkerSetObjectTagEXT = cast[proc(device: VkDevice, pTagInfo: ptr VkDebugMarkerObjectTagInfoEXT ): VkResult {.stdcall.}](vkGetProc("vkDebugMarkerSetObjectTagEXT"))
10478 vkDebugMarkerSetObjectNameEXT = cast[proc(device: VkDevice, pNameInfo: ptr VkDebugMarkerObjectNameInfoEXT ): VkResult {.stdcall.}](vkGetProc("vkDebugMarkerSetObjectNameEXT"))
10479 vkCmdDebugMarkerBeginEXT = cast[proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkDebugMarkerMarkerInfoEXT ): void {.stdcall.}](vkGetProc("vkCmdDebugMarkerBeginEXT"))
10480 vkCmdDebugMarkerEndEXT = cast[proc(commandBuffer: VkCommandBuffer): void {.stdcall.}](vkGetProc("vkCmdDebugMarkerEndEXT"))
10481 vkCmdDebugMarkerInsertEXT = cast[proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkDebugMarkerMarkerInfoEXT ): void {.stdcall.}](vkGetProc("vkCmdDebugMarkerInsertEXT"))
10482
10483 # Load VK_EXT_transform_feedback
10484 proc loadVK_EXT_transform_feedback*() =
10485 vkCmdBindTransformFeedbackBuffersEXT = cast[proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize , pSizes: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkCmdBindTransformFeedbackBuffersEXT"))
10486 vkCmdBeginTransformFeedbackEXT = cast[proc(commandBuffer: VkCommandBuffer, firstCounterBuffer: uint32, counterBufferCount: uint32, pCounterBuffers: ptr VkBuffer , pCounterBufferOffsets: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkCmdBeginTransformFeedbackEXT"))
10487 vkCmdEndTransformFeedbackEXT = cast[proc(commandBuffer: VkCommandBuffer, firstCounterBuffer: uint32, counterBufferCount: uint32, pCounterBuffers: ptr VkBuffer , pCounterBufferOffsets: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkCmdEndTransformFeedbackEXT"))
10488 vkCmdBeginQueryIndexedEXT = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, flags: VkQueryControlFlags, index: uint32): void {.stdcall.}](vkGetProc("vkCmdBeginQueryIndexedEXT"))
10489 vkCmdEndQueryIndexedEXT = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, index: uint32): void {.stdcall.}](vkGetProc("vkCmdEndQueryIndexedEXT"))
10490 vkCmdDrawIndirectByteCountEXT = cast[proc(commandBuffer: VkCommandBuffer, instanceCount: uint32, firstInstance: uint32, counterBuffer: VkBuffer, counterBufferOffset: VkDeviceSize, counterOffset: uint32, vertexStride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndirectByteCountEXT"))
10491
10492 # Load VK_NVX_image_view_handle
10493 proc loadVK_NVX_image_view_handle*() =
10494 vkGetImageViewHandleNVX = cast[proc(device: VkDevice, pInfo: ptr VkImageViewHandleInfoNVX ): uint32 {.stdcall.}](vkGetProc("vkGetImageViewHandleNVX"))
10495 vkGetImageViewAddressNVX = cast[proc(device: VkDevice, imageView: VkImageView, pProperties: ptr VkImageViewAddressPropertiesNVX ): VkResult {.stdcall.}](vkGetProc("vkGetImageViewAddressNVX"))
10496
10497 # Load VK_AMD_shader_info
10498 proc loadVK_AMD_shader_info*() =
10499 vkGetShaderInfoAMD = cast[proc(device: VkDevice, pipeline: VkPipeline, shaderStage: VkShaderStageFlagBits, infoType: VkShaderInfoTypeAMD, pInfoSize: ptr uint , pInfo: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetShaderInfoAMD"))
10500
10501 # Load VK_GGP_stream_descriptor_surface
10502 proc loadVK_GGP_stream_descriptor_surface*() =
10503 vkCreateStreamDescriptorSurfaceGGP = cast[proc(instance: VkInstance, pCreateInfo: ptr VkStreamDescriptorSurfaceCreateInfoGGP , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateStreamDescriptorSurfaceGGP"))
10504
10505 # Load VK_NV_external_memory_capabilities
10506 proc loadVK_NV_external_memory_capabilities*() =
10507 vkGetPhysicalDeviceExternalImageFormatPropertiesNV = cast[proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, tiling: VkImageTiling, usage: VkImageUsageFlags, flags: VkImageCreateFlags, externalHandleType: VkExternalMemoryHandleTypeFlagsNV, pExternalImageFormatProperties: ptr VkExternalImageFormatPropertiesNV ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceExternalImageFormatPropertiesNV"))
10508
10509 # Load VK_NV_external_memory_win32
10510 proc loadVK_NV_external_memory_win32*() =
10511 vkGetMemoryWin32HandleNV = cast[proc(device: VkDevice, memory: VkDeviceMemory, handleType: VkExternalMemoryHandleTypeFlagsNV, pHandle: ptr HANDLE ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryWin32HandleNV"))
10512
10513 # Load VK_KHR_device_group
10514 proc loadVK_KHR_device_group*() =
10515 vkGetDeviceGroupPresentCapabilitiesKHR = cast[proc(device: VkDevice, pDeviceGroupPresentCapabilities: ptr VkDeviceGroupPresentCapabilitiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupPresentCapabilitiesKHR"))
10516 vkGetDeviceGroupSurfacePresentModesKHR = cast[proc(device: VkDevice, surface: VkSurfaceKHR, pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupSurfacePresentModesKHR"))
10517 vkGetPhysicalDevicePresentRectanglesKHR = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pRectCount: ptr uint32 , pRects: ptr VkRect2D ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDevicePresentRectanglesKHR"))
10518 vkAcquireNextImage2KHR = cast[proc(device: VkDevice, pAcquireInfo: ptr VkAcquireNextImageInfoKHR , pImageIndex: ptr uint32 ): VkResult {.stdcall.}](vkGetProc("vkAcquireNextImage2KHR"))
10519
10520 # Load VK_NN_vi_surface
10521 proc loadVK_NN_vi_surface*() =
10522 vkCreateViSurfaceNN = cast[proc(instance: VkInstance, pCreateInfo: ptr VkViSurfaceCreateInfoNN , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateViSurfaceNN"))
10523
10524 # Load VK_KHR_external_memory_win32
10525 proc loadVK_KHR_external_memory_win32*() =
10526 vkGetMemoryWin32HandleKHR = cast[proc(device: VkDevice, pGetWin32HandleInfo: ptr VkMemoryGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryWin32HandleKHR"))
10527 vkGetMemoryWin32HandlePropertiesKHR = cast[proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, handle: HANDLE, pMemoryWin32HandleProperties: ptr VkMemoryWin32HandlePropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryWin32HandlePropertiesKHR"))
10528
10529 # Load VK_KHR_external_memory_fd
10530 proc loadVK_KHR_external_memory_fd*() =
10531 vkGetMemoryFdKHR = cast[proc(device: VkDevice, pGetFdInfo: ptr VkMemoryGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryFdKHR"))
10532 vkGetMemoryFdPropertiesKHR = cast[proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, fd: int, pMemoryFdProperties: ptr VkMemoryFdPropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryFdPropertiesKHR"))
10533
10534 # Load VK_KHR_external_semaphore_win32
10535 proc loadVK_KHR_external_semaphore_win32*() =
10536 vkImportSemaphoreWin32HandleKHR = cast[proc(device: VkDevice, pImportSemaphoreWin32HandleInfo: ptr VkImportSemaphoreWin32HandleInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkImportSemaphoreWin32HandleKHR"))
10537 vkGetSemaphoreWin32HandleKHR = cast[proc(device: VkDevice, pGetWin32HandleInfo: ptr VkSemaphoreGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}](vkGetProc("vkGetSemaphoreWin32HandleKHR"))
10538
10539 # Load VK_KHR_external_semaphore_fd
10540 proc loadVK_KHR_external_semaphore_fd*() =
10541 vkImportSemaphoreFdKHR = cast[proc(device: VkDevice, pImportSemaphoreFdInfo: ptr VkImportSemaphoreFdInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkImportSemaphoreFdKHR"))
10542 vkGetSemaphoreFdKHR = cast[proc(device: VkDevice, pGetFdInfo: ptr VkSemaphoreGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}](vkGetProc("vkGetSemaphoreFdKHR"))
10543
10544 # Load VK_KHR_push_descriptor
10545 proc loadVK_KHR_push_descriptor*() =
10546 vkCmdPushDescriptorSetKHR = cast[proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, layout: VkPipelineLayout, set: uint32, descriptorWriteCount: uint32, pDescriptorWrites: ptr VkWriteDescriptorSet ): void {.stdcall.}](vkGetProc("vkCmdPushDescriptorSetKHR"))
10547 vkCmdPushDescriptorSetWithTemplateKHR = cast[proc(commandBuffer: VkCommandBuffer, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, layout: VkPipelineLayout, set: uint32, pData: pointer ): void {.stdcall.}](vkGetProc("vkCmdPushDescriptorSetWithTemplateKHR"))
10548 vkCmdPushDescriptorSetWithTemplateKHR = cast[proc(commandBuffer: VkCommandBuffer, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, layout: VkPipelineLayout, set: uint32, pData: pointer ): void {.stdcall.}](vkGetProc("vkCmdPushDescriptorSetWithTemplateKHR"))
10549
10550 # Load VK_EXT_conditional_rendering
10551 proc loadVK_EXT_conditional_rendering*() =
10552 vkCmdBeginConditionalRenderingEXT = cast[proc(commandBuffer: VkCommandBuffer, pConditionalRenderingBegin: ptr VkConditionalRenderingBeginInfoEXT ): void {.stdcall.}](vkGetProc("vkCmdBeginConditionalRenderingEXT"))
10553 vkCmdEndConditionalRenderingEXT = cast[proc(commandBuffer: VkCommandBuffer): void {.stdcall.}](vkGetProc("vkCmdEndConditionalRenderingEXT"))
10554
10555 # Load VK_KHR_descriptor_update_template
10556 proc loadVK_KHR_descriptor_update_template*() =
10557 vkCmdPushDescriptorSetWithTemplateKHR = cast[proc(commandBuffer: VkCommandBuffer, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, layout: VkPipelineLayout, set: uint32, pData: pointer ): void {.stdcall.}](vkGetProc("vkCmdPushDescriptorSetWithTemplateKHR"))
10558
10559 # Load VK_NV_clip_space_w_scaling
10560 proc loadVK_NV_clip_space_w_scaling*() =
10561 vkCmdSetViewportWScalingNV = cast[proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pViewportWScalings: ptr VkViewportWScalingNV ): void {.stdcall.}](vkGetProc("vkCmdSetViewportWScalingNV"))
10562
10563 # Load VK_EXT_direct_mode_display
10564 proc loadVK_EXT_direct_mode_display*() =
10565 vkReleaseDisplayEXT = cast[proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR): VkResult {.stdcall.}](vkGetProc("vkReleaseDisplayEXT"))
10566
10567 # Load VK_EXT_acquire_xlib_display
10568 proc loadVK_EXT_acquire_xlib_display*() =
10569 vkAcquireXlibDisplayEXT = cast[proc(physicalDevice: VkPhysicalDevice, dpy: ptr Display , display: VkDisplayKHR): VkResult {.stdcall.}](vkGetProc("vkAcquireXlibDisplayEXT"))
10570 vkGetRandROutputDisplayEXT = cast[proc(physicalDevice: VkPhysicalDevice, dpy: ptr Display , rrOutput: RROutput, pDisplay: ptr VkDisplayKHR ): VkResult {.stdcall.}](vkGetProc("vkGetRandROutputDisplayEXT"))
10571
10572 # Load VK_EXT_display_surface_counter
10573 proc loadVK_EXT_display_surface_counter*() =
10574 vkGetPhysicalDeviceSurfaceCapabilities2EXT = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceCapabilities: ptr VkSurfaceCapabilities2EXT ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceCapabilities2EXT"))
10575
10576 # Load VK_EXT_display_control
10577 proc loadVK_EXT_display_control*() =
10578 vkDisplayPowerControlEXT = cast[proc(device: VkDevice, display: VkDisplayKHR, pDisplayPowerInfo: ptr VkDisplayPowerInfoEXT ): VkResult {.stdcall.}](vkGetProc("vkDisplayPowerControlEXT"))
10579 vkRegisterDeviceEventEXT = cast[proc(device: VkDevice, pDeviceEventInfo: ptr VkDeviceEventInfoEXT , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}](vkGetProc("vkRegisterDeviceEventEXT"))
10580 vkRegisterDisplayEventEXT = cast[proc(device: VkDevice, display: VkDisplayKHR, pDisplayEventInfo: ptr VkDisplayEventInfoEXT , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}](vkGetProc("vkRegisterDisplayEventEXT"))
10581 vkGetSwapchainCounterEXT = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, counter: VkSurfaceCounterFlagBitsEXT, pCounterValue: ptr uint64 ): VkResult {.stdcall.}](vkGetProc("vkGetSwapchainCounterEXT"))
10582
10583 # Load VK_GOOGLE_display_timing
10584 proc loadVK_GOOGLE_display_timing*() =
10585 vkGetRefreshCycleDurationGOOGLE = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, pDisplayTimingProperties: ptr VkRefreshCycleDurationGOOGLE ): VkResult {.stdcall.}](vkGetProc("vkGetRefreshCycleDurationGOOGLE"))
10586 vkGetPastPresentationTimingGOOGLE = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, pPresentationTimingCount: ptr uint32 , pPresentationTimings: ptr VkPastPresentationTimingGOOGLE ): VkResult {.stdcall.}](vkGetProc("vkGetPastPresentationTimingGOOGLE"))
10587
10588 # Load VK_EXT_discard_rectangles
10589 proc loadVK_EXT_discard_rectangles*() =
10590 vkCmdSetDiscardRectangleEXT = cast[proc(commandBuffer: VkCommandBuffer, firstDiscardRectangle: uint32, discardRectangleCount: uint32, pDiscardRectangles: ptr VkRect2D ): void {.stdcall.}](vkGetProc("vkCmdSetDiscardRectangleEXT"))
10591
10592 # Load VK_EXT_hdr_metadata
10593 proc loadVK_EXT_hdr_metadata*() =
10594 vkSetHdrMetadataEXT = cast[proc(device: VkDevice, swapchainCount: uint32, pSwapchains: ptr VkSwapchainKHR , pMetadata: ptr VkHdrMetadataEXT ): void {.stdcall.}](vkGetProc("vkSetHdrMetadataEXT"))
10595
10596 # Load VK_KHR_shared_presentable_image
10597 proc loadVK_KHR_shared_presentable_image*() =
10598 vkGetSwapchainStatusKHR = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}](vkGetProc("vkGetSwapchainStatusKHR"))
10599
10600 # Load VK_KHR_external_fence_win32
10601 proc loadVK_KHR_external_fence_win32*() =
10602 vkImportFenceWin32HandleKHR = cast[proc(device: VkDevice, pImportFenceWin32HandleInfo: ptr VkImportFenceWin32HandleInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkImportFenceWin32HandleKHR"))
10603 vkGetFenceWin32HandleKHR = cast[proc(device: VkDevice, pGetWin32HandleInfo: ptr VkFenceGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}](vkGetProc("vkGetFenceWin32HandleKHR"))
10604
10605 # Load VK_KHR_external_fence_fd
10606 proc loadVK_KHR_external_fence_fd*() =
10607 vkImportFenceFdKHR = cast[proc(device: VkDevice, pImportFenceFdInfo: ptr VkImportFenceFdInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkImportFenceFdKHR"))
10608 vkGetFenceFdKHR = cast[proc(device: VkDevice, pGetFdInfo: ptr VkFenceGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}](vkGetProc("vkGetFenceFdKHR"))
10609
10610 # Load VK_KHR_performance_query
10611 proc loadVK_KHR_performance_query*() =
10612 vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, pCounterCount: ptr uint32 , pCounters: ptr VkPerformanceCounterKHR , pCounterDescriptions: ptr VkPerformanceCounterDescriptionKHR ): VkResult {.stdcall.}](vkGetProc("vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR"))
10613 vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = cast[proc(physicalDevice: VkPhysicalDevice, pPerformanceQueryCreateInfo: ptr VkQueryPoolPerformanceCreateInfoKHR , pNumPasses: ptr uint32 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR"))
10614 vkAcquireProfilingLockKHR = cast[proc(device: VkDevice, pInfo: ptr VkAcquireProfilingLockInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkAcquireProfilingLockKHR"))
10615 vkReleaseProfilingLockKHR = cast[proc(device: VkDevice): void {.stdcall.}](vkGetProc("vkReleaseProfilingLockKHR"))
10616
10617 # Load VK_KHR_get_surface_capabilities2
10618 proc loadVK_KHR_get_surface_capabilities2*() =
10619 vkGetPhysicalDeviceSurfaceCapabilities2KHR = cast[proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pSurfaceCapabilities: ptr VkSurfaceCapabilities2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceCapabilities2KHR"))
10620 vkGetPhysicalDeviceSurfaceFormats2KHR = cast[proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pSurfaceFormatCount: ptr uint32 , pSurfaceFormats: ptr VkSurfaceFormat2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceFormats2KHR"))
10621
10622 # Load VK_KHR_get_display_properties2
10623 proc loadVK_KHR_get_display_properties2*() =
10624 vkGetPhysicalDeviceDisplayProperties2KHR = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayProperties2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceDisplayProperties2KHR"))
10625 vkGetPhysicalDeviceDisplayPlaneProperties2KHR = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPlaneProperties2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceDisplayPlaneProperties2KHR"))
10626 vkGetDisplayModeProperties2KHR = cast[proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayModeProperties2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetDisplayModeProperties2KHR"))
10627 vkGetDisplayPlaneCapabilities2KHR = cast[proc(physicalDevice: VkPhysicalDevice, pDisplayPlaneInfo: ptr VkDisplayPlaneInfo2KHR , pCapabilities: ptr VkDisplayPlaneCapabilities2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetDisplayPlaneCapabilities2KHR"))
10628
10629 # Load VK_MVK_ios_surface
10630 proc loadVK_MVK_ios_surface*() =
10631 vkCreateIOSSurfaceMVK = cast[proc(instance: VkInstance, pCreateInfo: ptr VkIOSSurfaceCreateInfoMVK , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateIOSSurfaceMVK"))
10632
10633 # Load VK_MVK_macos_surface
10634 proc loadVK_MVK_macos_surface*() =
10635 vkCreateMacOSSurfaceMVK = cast[proc(instance: VkInstance, pCreateInfo: ptr VkMacOSSurfaceCreateInfoMVK , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateMacOSSurfaceMVK"))
10636
10637 # Load VK_EXT_debug_utils
10638 proc loadVK_EXT_debug_utils*() =
10639 vkSetDebugUtilsObjectNameEXT = cast[proc(device: VkDevice, pNameInfo: ptr VkDebugUtilsObjectNameInfoEXT ): VkResult {.stdcall.}](vkGetProc("vkSetDebugUtilsObjectNameEXT"))
10640 vkSetDebugUtilsObjectTagEXT = cast[proc(device: VkDevice, pTagInfo: ptr VkDebugUtilsObjectTagInfoEXT ): VkResult {.stdcall.}](vkGetProc("vkSetDebugUtilsObjectTagEXT"))
10641 vkQueueBeginDebugUtilsLabelEXT = cast[proc(queue: VkQueue, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}](vkGetProc("vkQueueBeginDebugUtilsLabelEXT"))
10642 vkQueueEndDebugUtilsLabelEXT = cast[proc(queue: VkQueue): void {.stdcall.}](vkGetProc("vkQueueEndDebugUtilsLabelEXT"))
10643 vkQueueInsertDebugUtilsLabelEXT = cast[proc(queue: VkQueue, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}](vkGetProc("vkQueueInsertDebugUtilsLabelEXT"))
10644 vkCmdBeginDebugUtilsLabelEXT = cast[proc(commandBuffer: VkCommandBuffer, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}](vkGetProc("vkCmdBeginDebugUtilsLabelEXT"))
10645 vkCmdEndDebugUtilsLabelEXT = cast[proc(commandBuffer: VkCommandBuffer): void {.stdcall.}](vkGetProc("vkCmdEndDebugUtilsLabelEXT"))
10646 vkCmdInsertDebugUtilsLabelEXT = cast[proc(commandBuffer: VkCommandBuffer, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}](vkGetProc("vkCmdInsertDebugUtilsLabelEXT"))
10647 vkCreateDebugUtilsMessengerEXT = cast[proc(instance: VkInstance, pCreateInfo: ptr VkDebugUtilsMessengerCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pMessenger: ptr VkDebugUtilsMessengerEXT ): VkResult {.stdcall.}](vkGetProc("vkCreateDebugUtilsMessengerEXT"))
10648 vkDestroyDebugUtilsMessengerEXT = cast[proc(instance: VkInstance, messenger: VkDebugUtilsMessengerEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDebugUtilsMessengerEXT"))
10649 vkSubmitDebugUtilsMessageEXT = cast[proc(instance: VkInstance, messageSeverity: VkDebugUtilsMessageSeverityFlagBitsEXT, messageTypes: VkDebugUtilsMessageTypeFlagsEXT, pCallbackData: ptr VkDebugUtilsMessengerCallbackDataEXT ): void {.stdcall.}](vkGetProc("vkSubmitDebugUtilsMessageEXT"))
10650
10651 # Load VK_ANDROID_external_memory_android_hardware_buffer
10652 proc loadVK_ANDROID_external_memory_android_hardware_buffer*() =
10653 vkGetAndroidHardwareBufferPropertiesANDROID = cast[proc(device: VkDevice, buffer: ptr AHardwareBuffer , pProperties: ptr VkAndroidHardwareBufferPropertiesANDROID ): VkResult {.stdcall.}](vkGetProc("vkGetAndroidHardwareBufferPropertiesANDROID"))
10654 vkGetMemoryAndroidHardwareBufferANDROID = cast[proc(device: VkDevice, pInfo: ptr VkMemoryGetAndroidHardwareBufferInfoANDROID , pBuffer: ptr ptr AHardwareBuffer ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryAndroidHardwareBufferANDROID"))
10655
10656 # Load VK_EXT_sample_locations
10657 proc loadVK_EXT_sample_locations*() =
10658 vkCmdSetSampleLocationsEXT = cast[proc(commandBuffer: VkCommandBuffer, pSampleLocationsInfo: ptr VkSampleLocationsInfoEXT ): void {.stdcall.}](vkGetProc("vkCmdSetSampleLocationsEXT"))
10659 vkGetPhysicalDeviceMultisamplePropertiesEXT = cast[proc(physicalDevice: VkPhysicalDevice, samples: VkSampleCountFlagBits, pMultisampleProperties: ptr VkMultisamplePropertiesEXT ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceMultisamplePropertiesEXT"))
10660
10661 # Load VK_KHR_ray_tracing
10662 proc loadVK_KHR_ray_tracing*() =
10663 vkCreateAccelerationStructureKHR = cast[proc(device: VkDevice, pCreateInfo: ptr VkAccelerationStructureCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pAccelerationStructure: ptr VkAccelerationStructureKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateAccelerationStructureKHR"))
10664 vkDestroyAccelerationStructureKHR = cast[proc(device: VkDevice, accelerationStructure: VkAccelerationStructureKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyAccelerationStructureKHR"))
10665 vkGetAccelerationStructureMemoryRequirementsKHR = cast[proc(device: VkDevice, pInfo: ptr VkAccelerationStructureMemoryRequirementsInfoKHR , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}](vkGetProc("vkGetAccelerationStructureMemoryRequirementsKHR"))
10666 vkBindAccelerationStructureMemoryKHR = cast[proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindAccelerationStructureMemoryInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkBindAccelerationStructureMemoryKHR"))
10667 vkCmdBuildAccelerationStructureKHR = cast[proc(commandBuffer: VkCommandBuffer, infoCount: uint32, pInfos: ptr VkAccelerationStructureBuildGeometryInfoKHR , ppOffsetInfos: ptr ptr VkAccelerationStructureBuildOffsetInfoKHR ): void {.stdcall.}](vkGetProc("vkCmdBuildAccelerationStructureKHR"))
10668 vkCmdBuildAccelerationStructureIndirectKHR = cast[proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkAccelerationStructureBuildGeometryInfoKHR , indirectBuffer: VkBuffer, indirectOffset: VkDeviceSize, indirectStride: uint32): void {.stdcall.}](vkGetProc("vkCmdBuildAccelerationStructureIndirectKHR"))
10669 vkBuildAccelerationStructureKHR = cast[proc(device: VkDevice, infoCount: uint32, pInfos: ptr VkAccelerationStructureBuildGeometryInfoKHR , ppOffsetInfos: ptr ptr VkAccelerationStructureBuildOffsetInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkBuildAccelerationStructureKHR"))
10670 vkCopyAccelerationStructureKHR = cast[proc(device: VkDevice, pInfo: ptr VkCopyAccelerationStructureInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkCopyAccelerationStructureKHR"))
10671 vkCopyAccelerationStructureToMemoryKHR = cast[proc(device: VkDevice, pInfo: ptr VkCopyAccelerationStructureToMemoryInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkCopyAccelerationStructureToMemoryKHR"))
10672 vkCopyMemoryToAccelerationStructureKHR = cast[proc(device: VkDevice, pInfo: ptr VkCopyMemoryToAccelerationStructureInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkCopyMemoryToAccelerationStructureKHR"))
10673 vkWriteAccelerationStructuresPropertiesKHR = cast[proc(device: VkDevice, accelerationStructureCount: uint32, pAccelerationStructures: ptr VkAccelerationStructureKHR , queryType: VkQueryType, dataSize: uint, pData: pointer , stride: uint): VkResult {.stdcall.}](vkGetProc("vkWriteAccelerationStructuresPropertiesKHR"))
10674 vkCmdCopyAccelerationStructureKHR = cast[proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyAccelerationStructureInfoKHR ): void {.stdcall.}](vkGetProc("vkCmdCopyAccelerationStructureKHR"))
10675 vkCmdCopyAccelerationStructureToMemoryKHR = cast[proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyAccelerationStructureToMemoryInfoKHR ): void {.stdcall.}](vkGetProc("vkCmdCopyAccelerationStructureToMemoryKHR"))
10676 vkCmdCopyMemoryToAccelerationStructureKHR = cast[proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyMemoryToAccelerationStructureInfoKHR ): void {.stdcall.}](vkGetProc("vkCmdCopyMemoryToAccelerationStructureKHR"))
10677 vkCmdTraceRaysKHR = cast[proc(commandBuffer: VkCommandBuffer, pRaygenShaderBindingTable: ptr VkStridedBufferRegionKHR , pMissShaderBindingTable: ptr VkStridedBufferRegionKHR , pHitShaderBindingTable: ptr VkStridedBufferRegionKHR , pCallableShaderBindingTable: ptr VkStridedBufferRegionKHR , width: uint32, height: uint32, depth: uint32): void {.stdcall.}](vkGetProc("vkCmdTraceRaysKHR"))
10678 vkCreateRayTracingPipelinesKHR = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkRayTracingPipelineCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}](vkGetProc("vkCreateRayTracingPipelinesKHR"))
10679 vkGetRayTracingShaderGroupHandlesKHR = cast[proc(device: VkDevice, pipeline: VkPipeline, firstGroup: uint32, groupCount: uint32, dataSize: uint, pData: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetRayTracingShaderGroupHandlesKHR"))
10680 vkGetAccelerationStructureDeviceAddressKHR = cast[proc(device: VkDevice, pInfo: ptr VkAccelerationStructureDeviceAddressInfoKHR ): VkDeviceAddress {.stdcall.}](vkGetProc("vkGetAccelerationStructureDeviceAddressKHR"))
10681 vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = cast[proc(device: VkDevice, pipeline: VkPipeline, firstGroup: uint32, groupCount: uint32, dataSize: uint, pData: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetRayTracingCaptureReplayShaderGroupHandlesKHR"))
10682 vkCmdWriteAccelerationStructuresPropertiesKHR = cast[proc(commandBuffer: VkCommandBuffer, accelerationStructureCount: uint32, pAccelerationStructures: ptr VkAccelerationStructureKHR , queryType: VkQueryType, queryPool: VkQueryPool, firstQuery: uint32): void {.stdcall.}](vkGetProc("vkCmdWriteAccelerationStructuresPropertiesKHR"))
10683 vkCmdTraceRaysIndirectKHR = cast[proc(commandBuffer: VkCommandBuffer, pRaygenShaderBindingTable: ptr VkStridedBufferRegionKHR , pMissShaderBindingTable: ptr VkStridedBufferRegionKHR , pHitShaderBindingTable: ptr VkStridedBufferRegionKHR , pCallableShaderBindingTable: ptr VkStridedBufferRegionKHR , buffer: VkBuffer, offset: VkDeviceSize): void {.stdcall.}](vkGetProc("vkCmdTraceRaysIndirectKHR"))
10684 vkGetDeviceAccelerationStructureCompatibilityKHR = cast[proc(device: VkDevice, version: ptr VkAccelerationStructureVersionKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceAccelerationStructureCompatibilityKHR"))
10685
10686 # Load VK_EXT_image_drm_format_modifier
10687 proc loadVK_EXT_image_drm_format_modifier*() =
10688 vkGetImageDrmFormatModifierPropertiesEXT = cast[proc(device: VkDevice, image: VkImage, pProperties: ptr VkImageDrmFormatModifierPropertiesEXT ): VkResult {.stdcall.}](vkGetProc("vkGetImageDrmFormatModifierPropertiesEXT"))
10689
10690 # Load VK_EXT_validation_cache
10691 proc loadVK_EXT_validation_cache*() =
10692 vkCreateValidationCacheEXT = cast[proc(device: VkDevice, pCreateInfo: ptr VkValidationCacheCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pValidationCache: ptr VkValidationCacheEXT ): VkResult {.stdcall.}](vkGetProc("vkCreateValidationCacheEXT"))
10693 vkDestroyValidationCacheEXT = cast[proc(device: VkDevice, validationCache: VkValidationCacheEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyValidationCacheEXT"))
10694 vkMergeValidationCachesEXT = cast[proc(device: VkDevice, dstCache: VkValidationCacheEXT, srcCacheCount: uint32, pSrcCaches: ptr VkValidationCacheEXT ): VkResult {.stdcall.}](vkGetProc("vkMergeValidationCachesEXT"))
10695 vkGetValidationCacheDataEXT = cast[proc(device: VkDevice, validationCache: VkValidationCacheEXT, pDataSize: ptr uint , pData: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetValidationCacheDataEXT"))
10696
10697 # Load VK_NV_shading_rate_image
10698 proc loadVK_NV_shading_rate_image*() =
10699 vkCmdBindShadingRateImageNV = cast[proc(commandBuffer: VkCommandBuffer, imageView: VkImageView, imageLayout: VkImageLayout): void {.stdcall.}](vkGetProc("vkCmdBindShadingRateImageNV"))
10700 vkCmdSetViewportShadingRatePaletteNV = cast[proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pShadingRatePalettes: ptr VkShadingRatePaletteNV ): void {.stdcall.}](vkGetProc("vkCmdSetViewportShadingRatePaletteNV"))
10701 vkCmdSetCoarseSampleOrderNV = cast[proc(commandBuffer: VkCommandBuffer, sampleOrderType: VkCoarseSampleOrderTypeNV, customSampleOrderCount: uint32, pCustomSampleOrders: ptr VkCoarseSampleOrderCustomNV ): void {.stdcall.}](vkGetProc("vkCmdSetCoarseSampleOrderNV"))
10702
10703 # Load VK_NV_ray_tracing
10704 proc loadVK_NV_ray_tracing*() =
10705 vkCreateAccelerationStructureNV = cast[proc(device: VkDevice, pCreateInfo: ptr VkAccelerationStructureCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pAccelerationStructure: ptr VkAccelerationStructureNV ): VkResult {.stdcall.}](vkGetProc("vkCreateAccelerationStructureNV"))
10706 vkGetAccelerationStructureMemoryRequirementsNV = cast[proc(device: VkDevice, pInfo: ptr VkAccelerationStructureMemoryRequirementsInfoNV , pMemoryRequirements: ptr VkMemoryRequirements2KHR ): void {.stdcall.}](vkGetProc("vkGetAccelerationStructureMemoryRequirementsNV"))
10707 vkCmdBuildAccelerationStructureNV = cast[proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkAccelerationStructureInfoNV , instanceData: VkBuffer, instanceOffset: VkDeviceSize, update: VkBool32, dst: VkAccelerationStructureKHR, src: VkAccelerationStructureKHR, scratch: VkBuffer, scratchOffset: VkDeviceSize): void {.stdcall.}](vkGetProc("vkCmdBuildAccelerationStructureNV"))
10708 vkCmdCopyAccelerationStructureNV = cast[proc(commandBuffer: VkCommandBuffer, dst: VkAccelerationStructureKHR, src: VkAccelerationStructureKHR, mode: VkCopyAccelerationStructureModeKHR): void {.stdcall.}](vkGetProc("vkCmdCopyAccelerationStructureNV"))
10709 vkCmdTraceRaysNV = cast[proc(commandBuffer: VkCommandBuffer, raygenShaderBindingTableBuffer: VkBuffer, raygenShaderBindingOffset: VkDeviceSize, missShaderBindingTableBuffer: VkBuffer, missShaderBindingOffset: VkDeviceSize, missShaderBindingStride: VkDeviceSize, hitShaderBindingTableBuffer: VkBuffer, hitShaderBindingOffset: VkDeviceSize, hitShaderBindingStride: VkDeviceSize, callableShaderBindingTableBuffer: VkBuffer, callableShaderBindingOffset: VkDeviceSize, callableShaderBindingStride: VkDeviceSize, width: uint32, height: uint32, depth: uint32): void {.stdcall.}](vkGetProc("vkCmdTraceRaysNV"))
10710 vkCreateRayTracingPipelinesNV = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkRayTracingPipelineCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}](vkGetProc("vkCreateRayTracingPipelinesNV"))
10711 vkGetAccelerationStructureHandleNV = cast[proc(device: VkDevice, accelerationStructure: VkAccelerationStructureKHR, dataSize: uint, pData: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetAccelerationStructureHandleNV"))
10712 vkCompileDeferredNV = cast[proc(device: VkDevice, pipeline: VkPipeline, shader: uint32): VkResult {.stdcall.}](vkGetProc("vkCompileDeferredNV"))
10713
10714 # Load VK_EXT_external_memory_host
10715 proc loadVK_EXT_external_memory_host*() =
10716 vkGetMemoryHostPointerPropertiesEXT = cast[proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, pHostPointer: pointer , pMemoryHostPointerProperties: ptr VkMemoryHostPointerPropertiesEXT ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryHostPointerPropertiesEXT"))
10717
10718 # Load VK_AMD_buffer_marker
10719 proc loadVK_AMD_buffer_marker*() =
10720 vkCmdWriteBufferMarkerAMD = cast[proc(commandBuffer: VkCommandBuffer, pipelineStage: VkPipelineStageFlagBits, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, marker: uint32): void {.stdcall.}](vkGetProc("vkCmdWriteBufferMarkerAMD"))
10721
10722 # Load VK_EXT_calibrated_timestamps
10723 proc loadVK_EXT_calibrated_timestamps*() =
10724 vkGetPhysicalDeviceCalibrateableTimeDomainsEXT = cast[proc(physicalDevice: VkPhysicalDevice, pTimeDomainCount: ptr uint32 , pTimeDomains: ptr VkTimeDomainEXT ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceCalibrateableTimeDomainsEXT"))
10725 vkGetCalibratedTimestampsEXT = cast[proc(device: VkDevice, timestampCount: uint32, pTimestampInfos: ptr VkCalibratedTimestampInfoEXT , pTimestamps: ptr uint64 , pMaxDeviation: ptr uint64 ): VkResult {.stdcall.}](vkGetProc("vkGetCalibratedTimestampsEXT"))
10726
10727 # Load VK_NV_mesh_shader
10728 proc loadVK_NV_mesh_shader*() =
10729 vkCmdDrawMeshTasksNV = cast[proc(commandBuffer: VkCommandBuffer, taskCount: uint32, firstTask: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawMeshTasksNV"))
10730 vkCmdDrawMeshTasksIndirectNV = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawMeshTasksIndirectNV"))
10731 vkCmdDrawMeshTasksIndirectCountNV = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawMeshTasksIndirectCountNV"))
10732
10733 # Load VK_NV_scissor_exclusive
10734 proc loadVK_NV_scissor_exclusive*() =
10735 vkCmdSetExclusiveScissorNV = cast[proc(commandBuffer: VkCommandBuffer, firstExclusiveScissor: uint32, exclusiveScissorCount: uint32, pExclusiveScissors: ptr VkRect2D ): void {.stdcall.}](vkGetProc("vkCmdSetExclusiveScissorNV"))
10736
10737 # Load VK_NV_device_diagnostic_checkpoints
10738 proc loadVK_NV_device_diagnostic_checkpoints*() =
10739 vkCmdSetCheckpointNV = cast[proc(commandBuffer: VkCommandBuffer, pCheckpointMarker: pointer ): void {.stdcall.}](vkGetProc("vkCmdSetCheckpointNV"))
10740 vkGetQueueCheckpointDataNV = cast[proc(queue: VkQueue, pCheckpointDataCount: ptr uint32 , pCheckpointData: ptr VkCheckpointDataNV ): void {.stdcall.}](vkGetProc("vkGetQueueCheckpointDataNV"))
10741
10742 # Load VK_INTEL_performance_query
10743 proc loadVK_INTEL_performance_query*() =
10744 vkInitializePerformanceApiINTEL = cast[proc(device: VkDevice, pInitializeInfo: ptr VkInitializePerformanceApiInfoINTEL ): VkResult {.stdcall.}](vkGetProc("vkInitializePerformanceApiINTEL"))
10745 vkUninitializePerformanceApiINTEL = cast[proc(device: VkDevice): void {.stdcall.}](vkGetProc("vkUninitializePerformanceApiINTEL"))
10746 vkCmdSetPerformanceMarkerINTEL = cast[proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkPerformanceMarkerInfoINTEL ): VkResult {.stdcall.}](vkGetProc("vkCmdSetPerformanceMarkerINTEL"))
10747 vkCmdSetPerformanceStreamMarkerINTEL = cast[proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkPerformanceStreamMarkerInfoINTEL ): VkResult {.stdcall.}](vkGetProc("vkCmdSetPerformanceStreamMarkerINTEL"))
10748 vkCmdSetPerformanceOverrideINTEL = cast[proc(commandBuffer: VkCommandBuffer, pOverrideInfo: ptr VkPerformanceOverrideInfoINTEL ): VkResult {.stdcall.}](vkGetProc("vkCmdSetPerformanceOverrideINTEL"))
10749 vkAcquirePerformanceConfigurationINTEL = cast[proc(device: VkDevice, pAcquireInfo: ptr VkPerformanceConfigurationAcquireInfoINTEL , pConfiguration: ptr VkPerformanceConfigurationINTEL ): VkResult {.stdcall.}](vkGetProc("vkAcquirePerformanceConfigurationINTEL"))
10750 vkReleasePerformanceConfigurationINTEL = cast[proc(device: VkDevice, configuration: VkPerformanceConfigurationINTEL): VkResult {.stdcall.}](vkGetProc("vkReleasePerformanceConfigurationINTEL"))
10751 vkQueueSetPerformanceConfigurationINTEL = cast[proc(queue: VkQueue, configuration: VkPerformanceConfigurationINTEL): VkResult {.stdcall.}](vkGetProc("vkQueueSetPerformanceConfigurationINTEL"))
10752 vkGetPerformanceParameterINTEL = cast[proc(device: VkDevice, parameter: VkPerformanceParameterTypeINTEL, pValue: ptr VkPerformanceValueINTEL ): VkResult {.stdcall.}](vkGetProc("vkGetPerformanceParameterINTEL"))
10753
10754 # Load VK_AMD_display_native_hdr
10755 proc loadVK_AMD_display_native_hdr*() =
10756 vkSetLocalDimmingAMD = cast[proc(device: VkDevice, swapChain: VkSwapchainKHR, localDimmingEnable: VkBool32): void {.stdcall.}](vkGetProc("vkSetLocalDimmingAMD"))
10757
10758 # Load VK_FUCHSIA_imagepipe_surface
10759 proc loadVK_FUCHSIA_imagepipe_surface*() =
10760 vkCreateImagePipeSurfaceFUCHSIA = cast[proc(instance: VkInstance, pCreateInfo: ptr VkImagePipeSurfaceCreateInfoFUCHSIA , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateImagePipeSurfaceFUCHSIA"))
10761
10762 # Load VK_EXT_metal_surface
10763 proc loadVK_EXT_metal_surface*() =
10764 vkCreateMetalSurfaceEXT = cast[proc(instance: VkInstance, pCreateInfo: ptr VkMetalSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateMetalSurfaceEXT"))
10765
10766 # Load VK_EXT_tooling_info
10767 proc loadVK_EXT_tooling_info*() =
10768 vkGetPhysicalDeviceToolPropertiesEXT = cast[proc(physicalDevice: VkPhysicalDevice, pToolCount: ptr uint32 , pToolProperties: ptr VkPhysicalDeviceToolPropertiesEXT ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceToolPropertiesEXT"))
10769
10770 # Load VK_NV_cooperative_matrix
10771 proc loadVK_NV_cooperative_matrix*() =
10772 vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkCooperativeMatrixPropertiesNV ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceCooperativeMatrixPropertiesNV"))
10773
10774 # Load VK_NV_coverage_reduction_mode
10775 proc loadVK_NV_coverage_reduction_mode*() =
10776 vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = cast[proc(physicalDevice: VkPhysicalDevice, pCombinationCount: ptr uint32 , pCombinations: ptr VkFramebufferMixedSamplesCombinationNV ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV"))
10777
10778 # Load VK_EXT_full_screen_exclusive
10779 proc loadVK_EXT_full_screen_exclusive*() =
10780 vkGetPhysicalDeviceSurfacePresentModes2EXT = cast[proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pPresentModeCount: ptr uint32 , pPresentModes: ptr VkPresentModeKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfacePresentModes2EXT"))
10781 vkAcquireFullScreenExclusiveModeEXT = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}](vkGetProc("vkAcquireFullScreenExclusiveModeEXT"))
10782 vkReleaseFullScreenExclusiveModeEXT = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}](vkGetProc("vkReleaseFullScreenExclusiveModeEXT"))
10783 vkGetDeviceGroupSurfacePresentModes2EXT = cast[proc(device: VkDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupSurfacePresentModes2EXT"))
10784 vkGetDeviceGroupSurfacePresentModes2EXT = cast[proc(device: VkDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupSurfacePresentModes2EXT"))
10785
10786 # Load VK_EXT_headless_surface
10787 proc loadVK_EXT_headless_surface*() =
10788 vkCreateHeadlessSurfaceEXT = cast[proc(instance: VkInstance, pCreateInfo: ptr VkHeadlessSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateHeadlessSurfaceEXT"))
10789
10790 # Load VK_EXT_line_rasterization
10791 proc loadVK_EXT_line_rasterization*() =
10792 vkCmdSetLineStippleEXT = cast[proc(commandBuffer: VkCommandBuffer, lineStippleFactor: uint32, lineStipplePattern: uint16): void {.stdcall.}](vkGetProc("vkCmdSetLineStippleEXT"))
10793
10794 # Load VK_EXT_extended_dynamic_state
10795 proc loadVK_EXT_extended_dynamic_state*() =
10796 vkCmdSetCullModeEXT = cast[proc(commandBuffer: VkCommandBuffer, cullMode: VkCullModeFlags): void {.stdcall.}](vkGetProc("vkCmdSetCullModeEXT"))
10797 vkCmdSetFrontFaceEXT = cast[proc(commandBuffer: VkCommandBuffer, frontFace: VkFrontFace): void {.stdcall.}](vkGetProc("vkCmdSetFrontFaceEXT"))
10798 vkCmdSetPrimitiveTopologyEXT = cast[proc(commandBuffer: VkCommandBuffer, primitiveTopology: VkPrimitiveTopology): void {.stdcall.}](vkGetProc("vkCmdSetPrimitiveTopologyEXT"))
10799 vkCmdSetViewportWithCountEXT = cast[proc(commandBuffer: VkCommandBuffer, viewportCount: uint32, pViewports: ptr VkViewport ): void {.stdcall.}](vkGetProc("vkCmdSetViewportWithCountEXT"))
10800 vkCmdSetScissorWithCountEXT = cast[proc(commandBuffer: VkCommandBuffer, scissorCount: uint32, pScissors: ptr VkRect2D ): void {.stdcall.}](vkGetProc("vkCmdSetScissorWithCountEXT"))
10801 vkCmdBindVertexBuffers2EXT = cast[proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize , pSizes: ptr VkDeviceSize , pStrides: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkCmdBindVertexBuffers2EXT"))
10802 vkCmdSetDepthTestEnableEXT = cast[proc(commandBuffer: VkCommandBuffer, depthTestEnable: VkBool32): void {.stdcall.}](vkGetProc("vkCmdSetDepthTestEnableEXT"))
10803 vkCmdSetDepthWriteEnableEXT = cast[proc(commandBuffer: VkCommandBuffer, depthWriteEnable: VkBool32): void {.stdcall.}](vkGetProc("vkCmdSetDepthWriteEnableEXT"))
10804 vkCmdSetDepthCompareOpEXT = cast[proc(commandBuffer: VkCommandBuffer, depthCompareOp: VkCompareOp): void {.stdcall.}](vkGetProc("vkCmdSetDepthCompareOpEXT"))
10805 vkCmdSetDepthBoundsTestEnableEXT = cast[proc(commandBuffer: VkCommandBuffer, depthBoundsTestEnable: VkBool32): void {.stdcall.}](vkGetProc("vkCmdSetDepthBoundsTestEnableEXT"))
10806 vkCmdSetStencilTestEnableEXT = cast[proc(commandBuffer: VkCommandBuffer, stencilTestEnable: VkBool32): void {.stdcall.}](vkGetProc("vkCmdSetStencilTestEnableEXT"))
10807 vkCmdSetStencilOpEXT = cast[proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, failOp: VkStencilOp, passOp: VkStencilOp, depthFailOp: VkStencilOp, compareOp: VkCompareOp): void {.stdcall.}](vkGetProc("vkCmdSetStencilOpEXT"))
10808
10809 # Load VK_KHR_deferred_host_operations
10810 proc loadVK_KHR_deferred_host_operations*() =
10811 vkCreateDeferredOperationKHR = cast[proc(device: VkDevice, pAllocator: ptr VkAllocationCallbacks , pDeferredOperation: ptr VkDeferredOperationKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateDeferredOperationKHR"))
10812 vkDestroyDeferredOperationKHR = cast[proc(device: VkDevice, operation: VkDeferredOperationKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDeferredOperationKHR"))
10813 vkGetDeferredOperationMaxConcurrencyKHR = cast[proc(device: VkDevice, operation: VkDeferredOperationKHR): uint32 {.stdcall.}](vkGetProc("vkGetDeferredOperationMaxConcurrencyKHR"))
10814 vkGetDeferredOperationResultKHR = cast[proc(device: VkDevice, operation: VkDeferredOperationKHR): VkResult {.stdcall.}](vkGetProc("vkGetDeferredOperationResultKHR"))
10815 vkDeferredOperationJoinKHR = cast[proc(device: VkDevice, operation: VkDeferredOperationKHR): VkResult {.stdcall.}](vkGetProc("vkDeferredOperationJoinKHR"))
10816
10817 # Load VK_KHR_pipeline_executable_properties
10818 proc loadVK_KHR_pipeline_executable_properties*() =
10819 vkGetPipelineExecutablePropertiesKHR = cast[proc(device: VkDevice, pPipelineInfo: ptr VkPipelineInfoKHR , pExecutableCount: ptr uint32 , pProperties: ptr VkPipelineExecutablePropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPipelineExecutablePropertiesKHR"))
10820 vkGetPipelineExecutableStatisticsKHR = cast[proc(device: VkDevice, pExecutableInfo: ptr VkPipelineExecutableInfoKHR , pStatisticCount: ptr uint32 , pStatistics: ptr VkPipelineExecutableStatisticKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPipelineExecutableStatisticsKHR"))
10821 vkGetPipelineExecutableInternalRepresentationsKHR = cast[proc(device: VkDevice, pExecutableInfo: ptr VkPipelineExecutableInfoKHR , pInternalRepresentationCount: ptr uint32 , pInternalRepresentations: ptr VkPipelineExecutableInternalRepresentationKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPipelineExecutableInternalRepresentationsKHR"))
10822
10823 # Load VK_NV_device_generated_commands
10824 proc loadVK_NV_device_generated_commands*() =
10825 vkGetGeneratedCommandsMemoryRequirementsNV = cast[proc(device: VkDevice, pInfo: ptr VkGeneratedCommandsMemoryRequirementsInfoNV , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}](vkGetProc("vkGetGeneratedCommandsMemoryRequirementsNV"))
10826 vkCmdPreprocessGeneratedCommandsNV = cast[proc(commandBuffer: VkCommandBuffer, pGeneratedCommandsInfo: ptr VkGeneratedCommandsInfoNV ): void {.stdcall.}](vkGetProc("vkCmdPreprocessGeneratedCommandsNV"))
10827 vkCmdExecuteGeneratedCommandsNV = cast[proc(commandBuffer: VkCommandBuffer, isPreprocessed: VkBool32, pGeneratedCommandsInfo: ptr VkGeneratedCommandsInfoNV ): void {.stdcall.}](vkGetProc("vkCmdExecuteGeneratedCommandsNV"))
10828 vkCmdBindPipelineShaderGroupNV = cast[proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline, groupIndex: uint32): void {.stdcall.}](vkGetProc("vkCmdBindPipelineShaderGroupNV"))
10829 vkCreateIndirectCommandsLayoutNV = cast[proc(device: VkDevice, pCreateInfo: ptr VkIndirectCommandsLayoutCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pIndirectCommandsLayout: ptr VkIndirectCommandsLayoutNV ): VkResult {.stdcall.}](vkGetProc("vkCreateIndirectCommandsLayoutNV"))
10830 vkDestroyIndirectCommandsLayoutNV = cast[proc(device: VkDevice, indirectCommandsLayout: VkIndirectCommandsLayoutNV, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyIndirectCommandsLayoutNV"))
10831
10832 # Load VK_EXT_private_data
10833 proc loadVK_EXT_private_data*() =
10834 vkCreatePrivateDataSlotEXT = cast[proc(device: VkDevice, pCreateInfo: ptr VkPrivateDataSlotCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pPrivateDataSlot: ptr VkPrivateDataSlotEXT ): VkResult {.stdcall.}](vkGetProc("vkCreatePrivateDataSlotEXT"))
10835 vkDestroyPrivateDataSlotEXT = cast[proc(device: VkDevice, privateDataSlot: VkPrivateDataSlotEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyPrivateDataSlotEXT"))
10836 vkSetPrivateDataEXT = cast[proc(device: VkDevice, objectType: VkObjectType, objectHandle: uint64, privateDataSlot: VkPrivateDataSlotEXT, data: uint64): VkResult {.stdcall.}](vkGetProc("vkSetPrivateDataEXT"))
10837 vkGetPrivateDataEXT = cast[proc(device: VkDevice, objectType: VkObjectType, objectHandle: uint64, privateDataSlot: VkPrivateDataSlotEXT, pData: ptr uint64 ): void {.stdcall.}](vkGetProc("vkGetPrivateDataEXT"))
10838
10839 # Load VK_EXT_directfb_surface
10840 proc loadVK_EXT_directfb_surface*() =
10841 vkCreateDirectFBSurfaceEXT = cast[proc(instance: VkInstance, pCreateInfo: ptr VkDirectFBSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateDirectFBSurfaceEXT"))
10842 vkGetPhysicalDeviceDirectFBPresentationSupportEXT = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, dfb: ptr IDirectFB ): VkBool32 {.stdcall.}](vkGetProc("vkGetPhysicalDeviceDirectFBPresentationSupportEXT"))
10843
10844 proc vkInit*(load1_0: bool = true, load1_1: bool = true): bool =
10845 if load1_0:
10846 vkLoad1_0()
10847 when not defined(macosx):
10848 if load1_1:
10849 vkLoad1_1()
10850 return true