1 // Copyright (C) 2018 The Android Open Source Project
2 // Copyright (C) 2018 Google Inc.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15
16 // Autogenerated module goldfish_vk_transform_guest
17 // (impl) generated by android/android-emugl/host/libs/libOpenglRender/vulkan-registry/xml/genvk.py -registry android/android-emugl/host/libs/libOpenglRender/vulkan-registry/xml/vk.xml cereal -o android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
18 // Please do not modify directly;
19 // re-run android/scripts/generate-vulkan-sources.sh,
20 // or directly from Python by defining:
21 // VULKAN_REGISTRY_XML_DIR : Directory containing genvk.py and vk.xml
22 // CEREAL_OUTPUT_DIR: Where to put the generated sources.
23 // python3 $VULKAN_REGISTRY_XML_DIR/genvk.py -registry $VULKAN_REGISTRY_XML_DIR/vk.xml cereal -o $CEREAL_OUTPUT_DIR
24
25 #include "goldfish_vk_transform_guest.h"
26
27
28 #include "goldfish_vk_extension_structs_guest.h"
29 #include "goldfish_vk_private_defs.h"
30
31 #include "ResourceTracker.h"
32
33
34 namespace goldfish_vk {
35
36 void transform_tohost_extension_struct(
37 ResourceTracker* resourceTracker,
38 void* structExtension_out);
39
40 void transform_fromhost_extension_struct(
41 ResourceTracker* resourceTracker,
42 void* structExtension_out);
43
44 #ifdef VK_VERSION_1_0
transform_tohost_VkApplicationInfo(ResourceTracker * resourceTracker,VkApplicationInfo * toTransform)45 void transform_tohost_VkApplicationInfo(
46 ResourceTracker* resourceTracker,
47 VkApplicationInfo* toTransform)
48 {
49 (void)resourceTracker;
50 (void)toTransform;
51 if (toTransform->pNext)
52 {
53 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
54 }
55 }
56
transform_fromhost_VkApplicationInfo(ResourceTracker * resourceTracker,VkApplicationInfo * toTransform)57 void transform_fromhost_VkApplicationInfo(
58 ResourceTracker* resourceTracker,
59 VkApplicationInfo* toTransform)
60 {
61 (void)resourceTracker;
62 (void)toTransform;
63 if (toTransform->pNext)
64 {
65 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
66 }
67 }
68
transform_tohost_VkInstanceCreateInfo(ResourceTracker * resourceTracker,VkInstanceCreateInfo * toTransform)69 void transform_tohost_VkInstanceCreateInfo(
70 ResourceTracker* resourceTracker,
71 VkInstanceCreateInfo* toTransform)
72 {
73 (void)resourceTracker;
74 (void)toTransform;
75 if (toTransform->pNext)
76 {
77 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
78 }
79 if (toTransform->pApplicationInfo)
80 {
81 transform_tohost_VkApplicationInfo(resourceTracker, (VkApplicationInfo*)(toTransform->pApplicationInfo));
82 }
83 }
84
transform_fromhost_VkInstanceCreateInfo(ResourceTracker * resourceTracker,VkInstanceCreateInfo * toTransform)85 void transform_fromhost_VkInstanceCreateInfo(
86 ResourceTracker* resourceTracker,
87 VkInstanceCreateInfo* toTransform)
88 {
89 (void)resourceTracker;
90 (void)toTransform;
91 if (toTransform->pNext)
92 {
93 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
94 }
95 if (toTransform->pApplicationInfo)
96 {
97 transform_fromhost_VkApplicationInfo(resourceTracker, (VkApplicationInfo*)(toTransform->pApplicationInfo));
98 }
99 }
100
transform_tohost_VkAllocationCallbacks(ResourceTracker * resourceTracker,VkAllocationCallbacks * toTransform)101 void transform_tohost_VkAllocationCallbacks(
102 ResourceTracker* resourceTracker,
103 VkAllocationCallbacks* toTransform)
104 {
105 (void)resourceTracker;
106 (void)toTransform;
107 }
108
transform_fromhost_VkAllocationCallbacks(ResourceTracker * resourceTracker,VkAllocationCallbacks * toTransform)109 void transform_fromhost_VkAllocationCallbacks(
110 ResourceTracker* resourceTracker,
111 VkAllocationCallbacks* toTransform)
112 {
113 (void)resourceTracker;
114 (void)toTransform;
115 }
116
transform_tohost_VkPhysicalDeviceFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceFeatures * toTransform)117 void transform_tohost_VkPhysicalDeviceFeatures(
118 ResourceTracker* resourceTracker,
119 VkPhysicalDeviceFeatures* toTransform)
120 {
121 (void)resourceTracker;
122 (void)toTransform;
123 }
124
transform_fromhost_VkPhysicalDeviceFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceFeatures * toTransform)125 void transform_fromhost_VkPhysicalDeviceFeatures(
126 ResourceTracker* resourceTracker,
127 VkPhysicalDeviceFeatures* toTransform)
128 {
129 (void)resourceTracker;
130 (void)toTransform;
131 }
132
transform_tohost_VkFormatProperties(ResourceTracker * resourceTracker,VkFormatProperties * toTransform)133 void transform_tohost_VkFormatProperties(
134 ResourceTracker* resourceTracker,
135 VkFormatProperties* toTransform)
136 {
137 (void)resourceTracker;
138 (void)toTransform;
139 }
140
transform_fromhost_VkFormatProperties(ResourceTracker * resourceTracker,VkFormatProperties * toTransform)141 void transform_fromhost_VkFormatProperties(
142 ResourceTracker* resourceTracker,
143 VkFormatProperties* toTransform)
144 {
145 (void)resourceTracker;
146 (void)toTransform;
147 }
148
transform_tohost_VkExtent3D(ResourceTracker * resourceTracker,VkExtent3D * toTransform)149 void transform_tohost_VkExtent3D(
150 ResourceTracker* resourceTracker,
151 VkExtent3D* toTransform)
152 {
153 (void)resourceTracker;
154 (void)toTransform;
155 }
156
transform_fromhost_VkExtent3D(ResourceTracker * resourceTracker,VkExtent3D * toTransform)157 void transform_fromhost_VkExtent3D(
158 ResourceTracker* resourceTracker,
159 VkExtent3D* toTransform)
160 {
161 (void)resourceTracker;
162 (void)toTransform;
163 }
164
transform_tohost_VkImageFormatProperties(ResourceTracker * resourceTracker,VkImageFormatProperties * toTransform)165 void transform_tohost_VkImageFormatProperties(
166 ResourceTracker* resourceTracker,
167 VkImageFormatProperties* toTransform)
168 {
169 (void)resourceTracker;
170 (void)toTransform;
171 transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->maxExtent));
172 }
173
transform_fromhost_VkImageFormatProperties(ResourceTracker * resourceTracker,VkImageFormatProperties * toTransform)174 void transform_fromhost_VkImageFormatProperties(
175 ResourceTracker* resourceTracker,
176 VkImageFormatProperties* toTransform)
177 {
178 (void)resourceTracker;
179 (void)toTransform;
180 transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->maxExtent));
181 }
182
transform_tohost_VkPhysicalDeviceLimits(ResourceTracker * resourceTracker,VkPhysicalDeviceLimits * toTransform)183 void transform_tohost_VkPhysicalDeviceLimits(
184 ResourceTracker* resourceTracker,
185 VkPhysicalDeviceLimits* toTransform)
186 {
187 (void)resourceTracker;
188 (void)toTransform;
189 }
190
transform_fromhost_VkPhysicalDeviceLimits(ResourceTracker * resourceTracker,VkPhysicalDeviceLimits * toTransform)191 void transform_fromhost_VkPhysicalDeviceLimits(
192 ResourceTracker* resourceTracker,
193 VkPhysicalDeviceLimits* toTransform)
194 {
195 (void)resourceTracker;
196 (void)toTransform;
197 }
198
transform_tohost_VkPhysicalDeviceSparseProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceSparseProperties * toTransform)199 void transform_tohost_VkPhysicalDeviceSparseProperties(
200 ResourceTracker* resourceTracker,
201 VkPhysicalDeviceSparseProperties* toTransform)
202 {
203 (void)resourceTracker;
204 (void)toTransform;
205 }
206
transform_fromhost_VkPhysicalDeviceSparseProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceSparseProperties * toTransform)207 void transform_fromhost_VkPhysicalDeviceSparseProperties(
208 ResourceTracker* resourceTracker,
209 VkPhysicalDeviceSparseProperties* toTransform)
210 {
211 (void)resourceTracker;
212 (void)toTransform;
213 }
214
transform_tohost_VkPhysicalDeviceProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceProperties * toTransform)215 void transform_tohost_VkPhysicalDeviceProperties(
216 ResourceTracker* resourceTracker,
217 VkPhysicalDeviceProperties* toTransform)
218 {
219 (void)resourceTracker;
220 (void)toTransform;
221 transform_tohost_VkPhysicalDeviceLimits(resourceTracker, (VkPhysicalDeviceLimits*)(&toTransform->limits));
222 transform_tohost_VkPhysicalDeviceSparseProperties(resourceTracker, (VkPhysicalDeviceSparseProperties*)(&toTransform->sparseProperties));
223 }
224
transform_fromhost_VkPhysicalDeviceProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceProperties * toTransform)225 void transform_fromhost_VkPhysicalDeviceProperties(
226 ResourceTracker* resourceTracker,
227 VkPhysicalDeviceProperties* toTransform)
228 {
229 (void)resourceTracker;
230 (void)toTransform;
231 transform_fromhost_VkPhysicalDeviceLimits(resourceTracker, (VkPhysicalDeviceLimits*)(&toTransform->limits));
232 transform_fromhost_VkPhysicalDeviceSparseProperties(resourceTracker, (VkPhysicalDeviceSparseProperties*)(&toTransform->sparseProperties));
233 }
234
transform_tohost_VkQueueFamilyProperties(ResourceTracker * resourceTracker,VkQueueFamilyProperties * toTransform)235 void transform_tohost_VkQueueFamilyProperties(
236 ResourceTracker* resourceTracker,
237 VkQueueFamilyProperties* toTransform)
238 {
239 (void)resourceTracker;
240 (void)toTransform;
241 transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->minImageTransferGranularity));
242 }
243
transform_fromhost_VkQueueFamilyProperties(ResourceTracker * resourceTracker,VkQueueFamilyProperties * toTransform)244 void transform_fromhost_VkQueueFamilyProperties(
245 ResourceTracker* resourceTracker,
246 VkQueueFamilyProperties* toTransform)
247 {
248 (void)resourceTracker;
249 (void)toTransform;
250 transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->minImageTransferGranularity));
251 }
252
transform_tohost_VkMemoryType(ResourceTracker * resourceTracker,VkMemoryType * toTransform)253 void transform_tohost_VkMemoryType(
254 ResourceTracker* resourceTracker,
255 VkMemoryType* toTransform)
256 {
257 (void)resourceTracker;
258 (void)toTransform;
259 }
260
transform_fromhost_VkMemoryType(ResourceTracker * resourceTracker,VkMemoryType * toTransform)261 void transform_fromhost_VkMemoryType(
262 ResourceTracker* resourceTracker,
263 VkMemoryType* toTransform)
264 {
265 (void)resourceTracker;
266 (void)toTransform;
267 }
268
transform_tohost_VkMemoryHeap(ResourceTracker * resourceTracker,VkMemoryHeap * toTransform)269 void transform_tohost_VkMemoryHeap(
270 ResourceTracker* resourceTracker,
271 VkMemoryHeap* toTransform)
272 {
273 (void)resourceTracker;
274 (void)toTransform;
275 }
276
transform_fromhost_VkMemoryHeap(ResourceTracker * resourceTracker,VkMemoryHeap * toTransform)277 void transform_fromhost_VkMemoryHeap(
278 ResourceTracker* resourceTracker,
279 VkMemoryHeap* toTransform)
280 {
281 (void)resourceTracker;
282 (void)toTransform;
283 }
284
transform_tohost_VkPhysicalDeviceMemoryProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceMemoryProperties * toTransform)285 void transform_tohost_VkPhysicalDeviceMemoryProperties(
286 ResourceTracker* resourceTracker,
287 VkPhysicalDeviceMemoryProperties* toTransform)
288 {
289 (void)resourceTracker;
290 (void)toTransform;
291 for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_TYPES; ++i)
292 {
293 transform_tohost_VkMemoryType(resourceTracker, (VkMemoryType*)(toTransform->memoryTypes + i));
294 }
295 for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_HEAPS; ++i)
296 {
297 transform_tohost_VkMemoryHeap(resourceTracker, (VkMemoryHeap*)(toTransform->memoryHeaps + i));
298 }
299 }
300
transform_fromhost_VkPhysicalDeviceMemoryProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceMemoryProperties * toTransform)301 void transform_fromhost_VkPhysicalDeviceMemoryProperties(
302 ResourceTracker* resourceTracker,
303 VkPhysicalDeviceMemoryProperties* toTransform)
304 {
305 (void)resourceTracker;
306 (void)toTransform;
307 for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_TYPES; ++i)
308 {
309 transform_fromhost_VkMemoryType(resourceTracker, (VkMemoryType*)(toTransform->memoryTypes + i));
310 }
311 for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_HEAPS; ++i)
312 {
313 transform_fromhost_VkMemoryHeap(resourceTracker, (VkMemoryHeap*)(toTransform->memoryHeaps + i));
314 }
315 }
316
transform_tohost_VkDeviceQueueCreateInfo(ResourceTracker * resourceTracker,VkDeviceQueueCreateInfo * toTransform)317 void transform_tohost_VkDeviceQueueCreateInfo(
318 ResourceTracker* resourceTracker,
319 VkDeviceQueueCreateInfo* toTransform)
320 {
321 (void)resourceTracker;
322 (void)toTransform;
323 if (toTransform->pNext)
324 {
325 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
326 }
327 }
328
transform_fromhost_VkDeviceQueueCreateInfo(ResourceTracker * resourceTracker,VkDeviceQueueCreateInfo * toTransform)329 void transform_fromhost_VkDeviceQueueCreateInfo(
330 ResourceTracker* resourceTracker,
331 VkDeviceQueueCreateInfo* toTransform)
332 {
333 (void)resourceTracker;
334 (void)toTransform;
335 if (toTransform->pNext)
336 {
337 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
338 }
339 }
340
transform_tohost_VkDeviceCreateInfo(ResourceTracker * resourceTracker,VkDeviceCreateInfo * toTransform)341 void transform_tohost_VkDeviceCreateInfo(
342 ResourceTracker* resourceTracker,
343 VkDeviceCreateInfo* toTransform)
344 {
345 (void)resourceTracker;
346 (void)toTransform;
347 if (toTransform->pNext)
348 {
349 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
350 }
351 if (toTransform->pQueueCreateInfos)
352 {
353 for (uint32_t i = 0; i < (uint32_t)toTransform->queueCreateInfoCount; ++i)
354 {
355 transform_tohost_VkDeviceQueueCreateInfo(resourceTracker, (VkDeviceQueueCreateInfo*)(toTransform->pQueueCreateInfos + i));
356 }
357 }
358 if (toTransform->pEnabledFeatures)
359 {
360 transform_tohost_VkPhysicalDeviceFeatures(resourceTracker, (VkPhysicalDeviceFeatures*)(toTransform->pEnabledFeatures));
361 }
362 }
363
transform_fromhost_VkDeviceCreateInfo(ResourceTracker * resourceTracker,VkDeviceCreateInfo * toTransform)364 void transform_fromhost_VkDeviceCreateInfo(
365 ResourceTracker* resourceTracker,
366 VkDeviceCreateInfo* toTransform)
367 {
368 (void)resourceTracker;
369 (void)toTransform;
370 if (toTransform->pNext)
371 {
372 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
373 }
374 if (toTransform->pQueueCreateInfos)
375 {
376 for (uint32_t i = 0; i < (uint32_t)toTransform->queueCreateInfoCount; ++i)
377 {
378 transform_fromhost_VkDeviceQueueCreateInfo(resourceTracker, (VkDeviceQueueCreateInfo*)(toTransform->pQueueCreateInfos + i));
379 }
380 }
381 if (toTransform->pEnabledFeatures)
382 {
383 transform_fromhost_VkPhysicalDeviceFeatures(resourceTracker, (VkPhysicalDeviceFeatures*)(toTransform->pEnabledFeatures));
384 }
385 }
386
transform_tohost_VkExtensionProperties(ResourceTracker * resourceTracker,VkExtensionProperties * toTransform)387 void transform_tohost_VkExtensionProperties(
388 ResourceTracker* resourceTracker,
389 VkExtensionProperties* toTransform)
390 {
391 (void)resourceTracker;
392 (void)toTransform;
393 }
394
transform_fromhost_VkExtensionProperties(ResourceTracker * resourceTracker,VkExtensionProperties * toTransform)395 void transform_fromhost_VkExtensionProperties(
396 ResourceTracker* resourceTracker,
397 VkExtensionProperties* toTransform)
398 {
399 (void)resourceTracker;
400 (void)toTransform;
401 }
402
transform_tohost_VkLayerProperties(ResourceTracker * resourceTracker,VkLayerProperties * toTransform)403 void transform_tohost_VkLayerProperties(
404 ResourceTracker* resourceTracker,
405 VkLayerProperties* toTransform)
406 {
407 (void)resourceTracker;
408 (void)toTransform;
409 }
410
transform_fromhost_VkLayerProperties(ResourceTracker * resourceTracker,VkLayerProperties * toTransform)411 void transform_fromhost_VkLayerProperties(
412 ResourceTracker* resourceTracker,
413 VkLayerProperties* toTransform)
414 {
415 (void)resourceTracker;
416 (void)toTransform;
417 }
418
transform_tohost_VkSubmitInfo(ResourceTracker * resourceTracker,VkSubmitInfo * toTransform)419 void transform_tohost_VkSubmitInfo(
420 ResourceTracker* resourceTracker,
421 VkSubmitInfo* toTransform)
422 {
423 (void)resourceTracker;
424 (void)toTransform;
425 if (toTransform->pNext)
426 {
427 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
428 }
429 }
430
transform_fromhost_VkSubmitInfo(ResourceTracker * resourceTracker,VkSubmitInfo * toTransform)431 void transform_fromhost_VkSubmitInfo(
432 ResourceTracker* resourceTracker,
433 VkSubmitInfo* toTransform)
434 {
435 (void)resourceTracker;
436 (void)toTransform;
437 if (toTransform->pNext)
438 {
439 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
440 }
441 }
442
transform_tohost_VkMemoryAllocateInfo(ResourceTracker * resourceTracker,VkMemoryAllocateInfo * toTransform)443 void transform_tohost_VkMemoryAllocateInfo(
444 ResourceTracker* resourceTracker,
445 VkMemoryAllocateInfo* toTransform)
446 {
447 (void)resourceTracker;
448 (void)toTransform;
449 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeIndex, 1, (uint32_t*)nullptr, 0);
450 if (toTransform->pNext)
451 {
452 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
453 }
454 }
455
transform_fromhost_VkMemoryAllocateInfo(ResourceTracker * resourceTracker,VkMemoryAllocateInfo * toTransform)456 void transform_fromhost_VkMemoryAllocateInfo(
457 ResourceTracker* resourceTracker,
458 VkMemoryAllocateInfo* toTransform)
459 {
460 (void)resourceTracker;
461 (void)toTransform;
462 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeIndex, 1, (uint32_t*)nullptr, 0);
463 if (toTransform->pNext)
464 {
465 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
466 }
467 }
468
transform_tohost_VkMappedMemoryRange(ResourceTracker * resourceTracker,VkMappedMemoryRange * toTransform)469 void transform_tohost_VkMappedMemoryRange(
470 ResourceTracker* resourceTracker,
471 VkMappedMemoryRange* toTransform)
472 {
473 (void)resourceTracker;
474 (void)toTransform;
475 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->offset, 1, (VkDeviceSize*)&toTransform->size, 1, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
476 if (toTransform->pNext)
477 {
478 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
479 }
480 }
481
transform_fromhost_VkMappedMemoryRange(ResourceTracker * resourceTracker,VkMappedMemoryRange * toTransform)482 void transform_fromhost_VkMappedMemoryRange(
483 ResourceTracker* resourceTracker,
484 VkMappedMemoryRange* toTransform)
485 {
486 (void)resourceTracker;
487 (void)toTransform;
488 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->offset, 1, (VkDeviceSize*)&toTransform->size, 1, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
489 if (toTransform->pNext)
490 {
491 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
492 }
493 }
494
transform_tohost_VkMemoryRequirements(ResourceTracker * resourceTracker,VkMemoryRequirements * toTransform)495 void transform_tohost_VkMemoryRequirements(
496 ResourceTracker* resourceTracker,
497 VkMemoryRequirements* toTransform)
498 {
499 (void)resourceTracker;
500 (void)toTransform;
501 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
502 }
503
transform_fromhost_VkMemoryRequirements(ResourceTracker * resourceTracker,VkMemoryRequirements * toTransform)504 void transform_fromhost_VkMemoryRequirements(
505 ResourceTracker* resourceTracker,
506 VkMemoryRequirements* toTransform)
507 {
508 (void)resourceTracker;
509 (void)toTransform;
510 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
511 }
512
transform_tohost_VkSparseImageFormatProperties(ResourceTracker * resourceTracker,VkSparseImageFormatProperties * toTransform)513 void transform_tohost_VkSparseImageFormatProperties(
514 ResourceTracker* resourceTracker,
515 VkSparseImageFormatProperties* toTransform)
516 {
517 (void)resourceTracker;
518 (void)toTransform;
519 transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageGranularity));
520 }
521
transform_fromhost_VkSparseImageFormatProperties(ResourceTracker * resourceTracker,VkSparseImageFormatProperties * toTransform)522 void transform_fromhost_VkSparseImageFormatProperties(
523 ResourceTracker* resourceTracker,
524 VkSparseImageFormatProperties* toTransform)
525 {
526 (void)resourceTracker;
527 (void)toTransform;
528 transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageGranularity));
529 }
530
transform_tohost_VkSparseImageMemoryRequirements(ResourceTracker * resourceTracker,VkSparseImageMemoryRequirements * toTransform)531 void transform_tohost_VkSparseImageMemoryRequirements(
532 ResourceTracker* resourceTracker,
533 VkSparseImageMemoryRequirements* toTransform)
534 {
535 (void)resourceTracker;
536 (void)toTransform;
537 transform_tohost_VkSparseImageFormatProperties(resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->formatProperties));
538 }
539
transform_fromhost_VkSparseImageMemoryRequirements(ResourceTracker * resourceTracker,VkSparseImageMemoryRequirements * toTransform)540 void transform_fromhost_VkSparseImageMemoryRequirements(
541 ResourceTracker* resourceTracker,
542 VkSparseImageMemoryRequirements* toTransform)
543 {
544 (void)resourceTracker;
545 (void)toTransform;
546 transform_fromhost_VkSparseImageFormatProperties(resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->formatProperties));
547 }
548
transform_tohost_VkSparseMemoryBind(ResourceTracker * resourceTracker,VkSparseMemoryBind * toTransform)549 void transform_tohost_VkSparseMemoryBind(
550 ResourceTracker* resourceTracker,
551 VkSparseMemoryBind* toTransform)
552 {
553 (void)resourceTracker;
554 (void)toTransform;
555 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
556 }
557
transform_fromhost_VkSparseMemoryBind(ResourceTracker * resourceTracker,VkSparseMemoryBind * toTransform)558 void transform_fromhost_VkSparseMemoryBind(
559 ResourceTracker* resourceTracker,
560 VkSparseMemoryBind* toTransform)
561 {
562 (void)resourceTracker;
563 (void)toTransform;
564 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
565 }
566
transform_tohost_VkSparseBufferMemoryBindInfo(ResourceTracker * resourceTracker,VkSparseBufferMemoryBindInfo * toTransform)567 void transform_tohost_VkSparseBufferMemoryBindInfo(
568 ResourceTracker* resourceTracker,
569 VkSparseBufferMemoryBindInfo* toTransform)
570 {
571 (void)resourceTracker;
572 (void)toTransform;
573 if (toTransform->pBinds)
574 {
575 for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i)
576 {
577 transform_tohost_VkSparseMemoryBind(resourceTracker, (VkSparseMemoryBind*)(toTransform->pBinds + i));
578 }
579 }
580 }
581
transform_fromhost_VkSparseBufferMemoryBindInfo(ResourceTracker * resourceTracker,VkSparseBufferMemoryBindInfo * toTransform)582 void transform_fromhost_VkSparseBufferMemoryBindInfo(
583 ResourceTracker* resourceTracker,
584 VkSparseBufferMemoryBindInfo* toTransform)
585 {
586 (void)resourceTracker;
587 (void)toTransform;
588 if (toTransform->pBinds)
589 {
590 for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i)
591 {
592 transform_fromhost_VkSparseMemoryBind(resourceTracker, (VkSparseMemoryBind*)(toTransform->pBinds + i));
593 }
594 }
595 }
596
transform_tohost_VkSparseImageOpaqueMemoryBindInfo(ResourceTracker * resourceTracker,VkSparseImageOpaqueMemoryBindInfo * toTransform)597 void transform_tohost_VkSparseImageOpaqueMemoryBindInfo(
598 ResourceTracker* resourceTracker,
599 VkSparseImageOpaqueMemoryBindInfo* toTransform)
600 {
601 (void)resourceTracker;
602 (void)toTransform;
603 if (toTransform->pBinds)
604 {
605 for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i)
606 {
607 transform_tohost_VkSparseMemoryBind(resourceTracker, (VkSparseMemoryBind*)(toTransform->pBinds + i));
608 }
609 }
610 }
611
transform_fromhost_VkSparseImageOpaqueMemoryBindInfo(ResourceTracker * resourceTracker,VkSparseImageOpaqueMemoryBindInfo * toTransform)612 void transform_fromhost_VkSparseImageOpaqueMemoryBindInfo(
613 ResourceTracker* resourceTracker,
614 VkSparseImageOpaqueMemoryBindInfo* toTransform)
615 {
616 (void)resourceTracker;
617 (void)toTransform;
618 if (toTransform->pBinds)
619 {
620 for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i)
621 {
622 transform_fromhost_VkSparseMemoryBind(resourceTracker, (VkSparseMemoryBind*)(toTransform->pBinds + i));
623 }
624 }
625 }
626
transform_tohost_VkImageSubresource(ResourceTracker * resourceTracker,VkImageSubresource * toTransform)627 void transform_tohost_VkImageSubresource(
628 ResourceTracker* resourceTracker,
629 VkImageSubresource* toTransform)
630 {
631 (void)resourceTracker;
632 (void)toTransform;
633 }
634
transform_fromhost_VkImageSubresource(ResourceTracker * resourceTracker,VkImageSubresource * toTransform)635 void transform_fromhost_VkImageSubresource(
636 ResourceTracker* resourceTracker,
637 VkImageSubresource* toTransform)
638 {
639 (void)resourceTracker;
640 (void)toTransform;
641 }
642
transform_tohost_VkOffset3D(ResourceTracker * resourceTracker,VkOffset3D * toTransform)643 void transform_tohost_VkOffset3D(
644 ResourceTracker* resourceTracker,
645 VkOffset3D* toTransform)
646 {
647 (void)resourceTracker;
648 (void)toTransform;
649 }
650
transform_fromhost_VkOffset3D(ResourceTracker * resourceTracker,VkOffset3D * toTransform)651 void transform_fromhost_VkOffset3D(
652 ResourceTracker* resourceTracker,
653 VkOffset3D* toTransform)
654 {
655 (void)resourceTracker;
656 (void)toTransform;
657 }
658
transform_tohost_VkSparseImageMemoryBind(ResourceTracker * resourceTracker,VkSparseImageMemoryBind * toTransform)659 void transform_tohost_VkSparseImageMemoryBind(
660 ResourceTracker* resourceTracker,
661 VkSparseImageMemoryBind* toTransform)
662 {
663 (void)resourceTracker;
664 (void)toTransform;
665 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
666 transform_tohost_VkImageSubresource(resourceTracker, (VkImageSubresource*)(&toTransform->subresource));
667 transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->offset));
668 transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
669 }
670
transform_fromhost_VkSparseImageMemoryBind(ResourceTracker * resourceTracker,VkSparseImageMemoryBind * toTransform)671 void transform_fromhost_VkSparseImageMemoryBind(
672 ResourceTracker* resourceTracker,
673 VkSparseImageMemoryBind* toTransform)
674 {
675 (void)resourceTracker;
676 (void)toTransform;
677 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
678 transform_fromhost_VkImageSubresource(resourceTracker, (VkImageSubresource*)(&toTransform->subresource));
679 transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->offset));
680 transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
681 }
682
transform_tohost_VkSparseImageMemoryBindInfo(ResourceTracker * resourceTracker,VkSparseImageMemoryBindInfo * toTransform)683 void transform_tohost_VkSparseImageMemoryBindInfo(
684 ResourceTracker* resourceTracker,
685 VkSparseImageMemoryBindInfo* toTransform)
686 {
687 (void)resourceTracker;
688 (void)toTransform;
689 if (toTransform->pBinds)
690 {
691 for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i)
692 {
693 transform_tohost_VkSparseImageMemoryBind(resourceTracker, (VkSparseImageMemoryBind*)(toTransform->pBinds + i));
694 }
695 }
696 }
697
transform_fromhost_VkSparseImageMemoryBindInfo(ResourceTracker * resourceTracker,VkSparseImageMemoryBindInfo * toTransform)698 void transform_fromhost_VkSparseImageMemoryBindInfo(
699 ResourceTracker* resourceTracker,
700 VkSparseImageMemoryBindInfo* toTransform)
701 {
702 (void)resourceTracker;
703 (void)toTransform;
704 if (toTransform->pBinds)
705 {
706 for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i)
707 {
708 transform_fromhost_VkSparseImageMemoryBind(resourceTracker, (VkSparseImageMemoryBind*)(toTransform->pBinds + i));
709 }
710 }
711 }
712
transform_tohost_VkBindSparseInfo(ResourceTracker * resourceTracker,VkBindSparseInfo * toTransform)713 void transform_tohost_VkBindSparseInfo(
714 ResourceTracker* resourceTracker,
715 VkBindSparseInfo* toTransform)
716 {
717 (void)resourceTracker;
718 (void)toTransform;
719 if (toTransform->pNext)
720 {
721 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
722 }
723 if (toTransform->pBufferBinds)
724 {
725 for (uint32_t i = 0; i < (uint32_t)toTransform->bufferBindCount; ++i)
726 {
727 transform_tohost_VkSparseBufferMemoryBindInfo(resourceTracker, (VkSparseBufferMemoryBindInfo*)(toTransform->pBufferBinds + i));
728 }
729 }
730 if (toTransform->pImageOpaqueBinds)
731 {
732 for (uint32_t i = 0; i < (uint32_t)toTransform->imageOpaqueBindCount; ++i)
733 {
734 transform_tohost_VkSparseImageOpaqueMemoryBindInfo(resourceTracker, (VkSparseImageOpaqueMemoryBindInfo*)(toTransform->pImageOpaqueBinds + i));
735 }
736 }
737 if (toTransform->pImageBinds)
738 {
739 for (uint32_t i = 0; i < (uint32_t)toTransform->imageBindCount; ++i)
740 {
741 transform_tohost_VkSparseImageMemoryBindInfo(resourceTracker, (VkSparseImageMemoryBindInfo*)(toTransform->pImageBinds + i));
742 }
743 }
744 }
745
transform_fromhost_VkBindSparseInfo(ResourceTracker * resourceTracker,VkBindSparseInfo * toTransform)746 void transform_fromhost_VkBindSparseInfo(
747 ResourceTracker* resourceTracker,
748 VkBindSparseInfo* toTransform)
749 {
750 (void)resourceTracker;
751 (void)toTransform;
752 if (toTransform->pNext)
753 {
754 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
755 }
756 if (toTransform->pBufferBinds)
757 {
758 for (uint32_t i = 0; i < (uint32_t)toTransform->bufferBindCount; ++i)
759 {
760 transform_fromhost_VkSparseBufferMemoryBindInfo(resourceTracker, (VkSparseBufferMemoryBindInfo*)(toTransform->pBufferBinds + i));
761 }
762 }
763 if (toTransform->pImageOpaqueBinds)
764 {
765 for (uint32_t i = 0; i < (uint32_t)toTransform->imageOpaqueBindCount; ++i)
766 {
767 transform_fromhost_VkSparseImageOpaqueMemoryBindInfo(resourceTracker, (VkSparseImageOpaqueMemoryBindInfo*)(toTransform->pImageOpaqueBinds + i));
768 }
769 }
770 if (toTransform->pImageBinds)
771 {
772 for (uint32_t i = 0; i < (uint32_t)toTransform->imageBindCount; ++i)
773 {
774 transform_fromhost_VkSparseImageMemoryBindInfo(resourceTracker, (VkSparseImageMemoryBindInfo*)(toTransform->pImageBinds + i));
775 }
776 }
777 }
778
transform_tohost_VkFenceCreateInfo(ResourceTracker * resourceTracker,VkFenceCreateInfo * toTransform)779 void transform_tohost_VkFenceCreateInfo(
780 ResourceTracker* resourceTracker,
781 VkFenceCreateInfo* toTransform)
782 {
783 (void)resourceTracker;
784 (void)toTransform;
785 if (toTransform->pNext)
786 {
787 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
788 }
789 }
790
transform_fromhost_VkFenceCreateInfo(ResourceTracker * resourceTracker,VkFenceCreateInfo * toTransform)791 void transform_fromhost_VkFenceCreateInfo(
792 ResourceTracker* resourceTracker,
793 VkFenceCreateInfo* toTransform)
794 {
795 (void)resourceTracker;
796 (void)toTransform;
797 if (toTransform->pNext)
798 {
799 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
800 }
801 }
802
transform_tohost_VkSemaphoreCreateInfo(ResourceTracker * resourceTracker,VkSemaphoreCreateInfo * toTransform)803 void transform_tohost_VkSemaphoreCreateInfo(
804 ResourceTracker* resourceTracker,
805 VkSemaphoreCreateInfo* toTransform)
806 {
807 (void)resourceTracker;
808 (void)toTransform;
809 if (toTransform->pNext)
810 {
811 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
812 }
813 }
814
transform_fromhost_VkSemaphoreCreateInfo(ResourceTracker * resourceTracker,VkSemaphoreCreateInfo * toTransform)815 void transform_fromhost_VkSemaphoreCreateInfo(
816 ResourceTracker* resourceTracker,
817 VkSemaphoreCreateInfo* toTransform)
818 {
819 (void)resourceTracker;
820 (void)toTransform;
821 if (toTransform->pNext)
822 {
823 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
824 }
825 }
826
transform_tohost_VkEventCreateInfo(ResourceTracker * resourceTracker,VkEventCreateInfo * toTransform)827 void transform_tohost_VkEventCreateInfo(
828 ResourceTracker* resourceTracker,
829 VkEventCreateInfo* toTransform)
830 {
831 (void)resourceTracker;
832 (void)toTransform;
833 if (toTransform->pNext)
834 {
835 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
836 }
837 }
838
transform_fromhost_VkEventCreateInfo(ResourceTracker * resourceTracker,VkEventCreateInfo * toTransform)839 void transform_fromhost_VkEventCreateInfo(
840 ResourceTracker* resourceTracker,
841 VkEventCreateInfo* toTransform)
842 {
843 (void)resourceTracker;
844 (void)toTransform;
845 if (toTransform->pNext)
846 {
847 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
848 }
849 }
850
transform_tohost_VkQueryPoolCreateInfo(ResourceTracker * resourceTracker,VkQueryPoolCreateInfo * toTransform)851 void transform_tohost_VkQueryPoolCreateInfo(
852 ResourceTracker* resourceTracker,
853 VkQueryPoolCreateInfo* toTransform)
854 {
855 (void)resourceTracker;
856 (void)toTransform;
857 if (toTransform->pNext)
858 {
859 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
860 }
861 }
862
transform_fromhost_VkQueryPoolCreateInfo(ResourceTracker * resourceTracker,VkQueryPoolCreateInfo * toTransform)863 void transform_fromhost_VkQueryPoolCreateInfo(
864 ResourceTracker* resourceTracker,
865 VkQueryPoolCreateInfo* toTransform)
866 {
867 (void)resourceTracker;
868 (void)toTransform;
869 if (toTransform->pNext)
870 {
871 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
872 }
873 }
874
transform_tohost_VkBufferCreateInfo(ResourceTracker * resourceTracker,VkBufferCreateInfo * toTransform)875 void transform_tohost_VkBufferCreateInfo(
876 ResourceTracker* resourceTracker,
877 VkBufferCreateInfo* toTransform)
878 {
879 (void)resourceTracker;
880 (void)toTransform;
881 if (toTransform->pNext)
882 {
883 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
884 }
885 }
886
transform_fromhost_VkBufferCreateInfo(ResourceTracker * resourceTracker,VkBufferCreateInfo * toTransform)887 void transform_fromhost_VkBufferCreateInfo(
888 ResourceTracker* resourceTracker,
889 VkBufferCreateInfo* toTransform)
890 {
891 (void)resourceTracker;
892 (void)toTransform;
893 if (toTransform->pNext)
894 {
895 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
896 }
897 }
898
transform_tohost_VkBufferViewCreateInfo(ResourceTracker * resourceTracker,VkBufferViewCreateInfo * toTransform)899 void transform_tohost_VkBufferViewCreateInfo(
900 ResourceTracker* resourceTracker,
901 VkBufferViewCreateInfo* toTransform)
902 {
903 (void)resourceTracker;
904 (void)toTransform;
905 if (toTransform->pNext)
906 {
907 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
908 }
909 }
910
transform_fromhost_VkBufferViewCreateInfo(ResourceTracker * resourceTracker,VkBufferViewCreateInfo * toTransform)911 void transform_fromhost_VkBufferViewCreateInfo(
912 ResourceTracker* resourceTracker,
913 VkBufferViewCreateInfo* toTransform)
914 {
915 (void)resourceTracker;
916 (void)toTransform;
917 if (toTransform->pNext)
918 {
919 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
920 }
921 }
922
transform_tohost_VkImageCreateInfo(ResourceTracker * resourceTracker,VkImageCreateInfo * toTransform)923 void transform_tohost_VkImageCreateInfo(
924 ResourceTracker* resourceTracker,
925 VkImageCreateInfo* toTransform)
926 {
927 (void)resourceTracker;
928 (void)toTransform;
929 if (toTransform->pNext)
930 {
931 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
932 }
933 transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
934 }
935
transform_fromhost_VkImageCreateInfo(ResourceTracker * resourceTracker,VkImageCreateInfo * toTransform)936 void transform_fromhost_VkImageCreateInfo(
937 ResourceTracker* resourceTracker,
938 VkImageCreateInfo* toTransform)
939 {
940 (void)resourceTracker;
941 (void)toTransform;
942 if (toTransform->pNext)
943 {
944 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
945 }
946 transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
947 }
948
transform_tohost_VkSubresourceLayout(ResourceTracker * resourceTracker,VkSubresourceLayout * toTransform)949 void transform_tohost_VkSubresourceLayout(
950 ResourceTracker* resourceTracker,
951 VkSubresourceLayout* toTransform)
952 {
953 (void)resourceTracker;
954 (void)toTransform;
955 }
956
transform_fromhost_VkSubresourceLayout(ResourceTracker * resourceTracker,VkSubresourceLayout * toTransform)957 void transform_fromhost_VkSubresourceLayout(
958 ResourceTracker* resourceTracker,
959 VkSubresourceLayout* toTransform)
960 {
961 (void)resourceTracker;
962 (void)toTransform;
963 }
964
transform_tohost_VkComponentMapping(ResourceTracker * resourceTracker,VkComponentMapping * toTransform)965 void transform_tohost_VkComponentMapping(
966 ResourceTracker* resourceTracker,
967 VkComponentMapping* toTransform)
968 {
969 (void)resourceTracker;
970 (void)toTransform;
971 }
972
transform_fromhost_VkComponentMapping(ResourceTracker * resourceTracker,VkComponentMapping * toTransform)973 void transform_fromhost_VkComponentMapping(
974 ResourceTracker* resourceTracker,
975 VkComponentMapping* toTransform)
976 {
977 (void)resourceTracker;
978 (void)toTransform;
979 }
980
transform_tohost_VkImageSubresourceRange(ResourceTracker * resourceTracker,VkImageSubresourceRange * toTransform)981 void transform_tohost_VkImageSubresourceRange(
982 ResourceTracker* resourceTracker,
983 VkImageSubresourceRange* toTransform)
984 {
985 (void)resourceTracker;
986 (void)toTransform;
987 }
988
transform_fromhost_VkImageSubresourceRange(ResourceTracker * resourceTracker,VkImageSubresourceRange * toTransform)989 void transform_fromhost_VkImageSubresourceRange(
990 ResourceTracker* resourceTracker,
991 VkImageSubresourceRange* toTransform)
992 {
993 (void)resourceTracker;
994 (void)toTransform;
995 }
996
transform_tohost_VkImageViewCreateInfo(ResourceTracker * resourceTracker,VkImageViewCreateInfo * toTransform)997 void transform_tohost_VkImageViewCreateInfo(
998 ResourceTracker* resourceTracker,
999 VkImageViewCreateInfo* toTransform)
1000 {
1001 (void)resourceTracker;
1002 (void)toTransform;
1003 if (toTransform->pNext)
1004 {
1005 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1006 }
1007 transform_tohost_VkComponentMapping(resourceTracker, (VkComponentMapping*)(&toTransform->components));
1008 transform_tohost_VkImageSubresourceRange(resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
1009 }
1010
transform_fromhost_VkImageViewCreateInfo(ResourceTracker * resourceTracker,VkImageViewCreateInfo * toTransform)1011 void transform_fromhost_VkImageViewCreateInfo(
1012 ResourceTracker* resourceTracker,
1013 VkImageViewCreateInfo* toTransform)
1014 {
1015 (void)resourceTracker;
1016 (void)toTransform;
1017 if (toTransform->pNext)
1018 {
1019 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1020 }
1021 transform_fromhost_VkComponentMapping(resourceTracker, (VkComponentMapping*)(&toTransform->components));
1022 transform_fromhost_VkImageSubresourceRange(resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
1023 }
1024
transform_tohost_VkShaderModuleCreateInfo(ResourceTracker * resourceTracker,VkShaderModuleCreateInfo * toTransform)1025 void transform_tohost_VkShaderModuleCreateInfo(
1026 ResourceTracker* resourceTracker,
1027 VkShaderModuleCreateInfo* toTransform)
1028 {
1029 (void)resourceTracker;
1030 (void)toTransform;
1031 if (toTransform->pNext)
1032 {
1033 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1034 }
1035 }
1036
transform_fromhost_VkShaderModuleCreateInfo(ResourceTracker * resourceTracker,VkShaderModuleCreateInfo * toTransform)1037 void transform_fromhost_VkShaderModuleCreateInfo(
1038 ResourceTracker* resourceTracker,
1039 VkShaderModuleCreateInfo* toTransform)
1040 {
1041 (void)resourceTracker;
1042 (void)toTransform;
1043 if (toTransform->pNext)
1044 {
1045 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1046 }
1047 }
1048
transform_tohost_VkPipelineCacheCreateInfo(ResourceTracker * resourceTracker,VkPipelineCacheCreateInfo * toTransform)1049 void transform_tohost_VkPipelineCacheCreateInfo(
1050 ResourceTracker* resourceTracker,
1051 VkPipelineCacheCreateInfo* toTransform)
1052 {
1053 (void)resourceTracker;
1054 (void)toTransform;
1055 if (toTransform->pNext)
1056 {
1057 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1058 }
1059 }
1060
transform_fromhost_VkPipelineCacheCreateInfo(ResourceTracker * resourceTracker,VkPipelineCacheCreateInfo * toTransform)1061 void transform_fromhost_VkPipelineCacheCreateInfo(
1062 ResourceTracker* resourceTracker,
1063 VkPipelineCacheCreateInfo* toTransform)
1064 {
1065 (void)resourceTracker;
1066 (void)toTransform;
1067 if (toTransform->pNext)
1068 {
1069 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1070 }
1071 }
1072
transform_tohost_VkSpecializationMapEntry(ResourceTracker * resourceTracker,VkSpecializationMapEntry * toTransform)1073 void transform_tohost_VkSpecializationMapEntry(
1074 ResourceTracker* resourceTracker,
1075 VkSpecializationMapEntry* toTransform)
1076 {
1077 (void)resourceTracker;
1078 (void)toTransform;
1079 }
1080
transform_fromhost_VkSpecializationMapEntry(ResourceTracker * resourceTracker,VkSpecializationMapEntry * toTransform)1081 void transform_fromhost_VkSpecializationMapEntry(
1082 ResourceTracker* resourceTracker,
1083 VkSpecializationMapEntry* toTransform)
1084 {
1085 (void)resourceTracker;
1086 (void)toTransform;
1087 }
1088
transform_tohost_VkSpecializationInfo(ResourceTracker * resourceTracker,VkSpecializationInfo * toTransform)1089 void transform_tohost_VkSpecializationInfo(
1090 ResourceTracker* resourceTracker,
1091 VkSpecializationInfo* toTransform)
1092 {
1093 (void)resourceTracker;
1094 (void)toTransform;
1095 if (toTransform->pMapEntries)
1096 {
1097 for (uint32_t i = 0; i < (uint32_t)toTransform->mapEntryCount; ++i)
1098 {
1099 transform_tohost_VkSpecializationMapEntry(resourceTracker, (VkSpecializationMapEntry*)(toTransform->pMapEntries + i));
1100 }
1101 }
1102 }
1103
transform_fromhost_VkSpecializationInfo(ResourceTracker * resourceTracker,VkSpecializationInfo * toTransform)1104 void transform_fromhost_VkSpecializationInfo(
1105 ResourceTracker* resourceTracker,
1106 VkSpecializationInfo* toTransform)
1107 {
1108 (void)resourceTracker;
1109 (void)toTransform;
1110 if (toTransform->pMapEntries)
1111 {
1112 for (uint32_t i = 0; i < (uint32_t)toTransform->mapEntryCount; ++i)
1113 {
1114 transform_fromhost_VkSpecializationMapEntry(resourceTracker, (VkSpecializationMapEntry*)(toTransform->pMapEntries + i));
1115 }
1116 }
1117 }
1118
transform_tohost_VkPipelineShaderStageCreateInfo(ResourceTracker * resourceTracker,VkPipelineShaderStageCreateInfo * toTransform)1119 void transform_tohost_VkPipelineShaderStageCreateInfo(
1120 ResourceTracker* resourceTracker,
1121 VkPipelineShaderStageCreateInfo* toTransform)
1122 {
1123 (void)resourceTracker;
1124 (void)toTransform;
1125 if (toTransform->pNext)
1126 {
1127 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1128 }
1129 if (toTransform->pSpecializationInfo)
1130 {
1131 transform_tohost_VkSpecializationInfo(resourceTracker, (VkSpecializationInfo*)(toTransform->pSpecializationInfo));
1132 }
1133 }
1134
transform_fromhost_VkPipelineShaderStageCreateInfo(ResourceTracker * resourceTracker,VkPipelineShaderStageCreateInfo * toTransform)1135 void transform_fromhost_VkPipelineShaderStageCreateInfo(
1136 ResourceTracker* resourceTracker,
1137 VkPipelineShaderStageCreateInfo* toTransform)
1138 {
1139 (void)resourceTracker;
1140 (void)toTransform;
1141 if (toTransform->pNext)
1142 {
1143 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1144 }
1145 if (toTransform->pSpecializationInfo)
1146 {
1147 transform_fromhost_VkSpecializationInfo(resourceTracker, (VkSpecializationInfo*)(toTransform->pSpecializationInfo));
1148 }
1149 }
1150
transform_tohost_VkVertexInputBindingDescription(ResourceTracker * resourceTracker,VkVertexInputBindingDescription * toTransform)1151 void transform_tohost_VkVertexInputBindingDescription(
1152 ResourceTracker* resourceTracker,
1153 VkVertexInputBindingDescription* toTransform)
1154 {
1155 (void)resourceTracker;
1156 (void)toTransform;
1157 }
1158
transform_fromhost_VkVertexInputBindingDescription(ResourceTracker * resourceTracker,VkVertexInputBindingDescription * toTransform)1159 void transform_fromhost_VkVertexInputBindingDescription(
1160 ResourceTracker* resourceTracker,
1161 VkVertexInputBindingDescription* toTransform)
1162 {
1163 (void)resourceTracker;
1164 (void)toTransform;
1165 }
1166
transform_tohost_VkVertexInputAttributeDescription(ResourceTracker * resourceTracker,VkVertexInputAttributeDescription * toTransform)1167 void transform_tohost_VkVertexInputAttributeDescription(
1168 ResourceTracker* resourceTracker,
1169 VkVertexInputAttributeDescription* toTransform)
1170 {
1171 (void)resourceTracker;
1172 (void)toTransform;
1173 }
1174
transform_fromhost_VkVertexInputAttributeDescription(ResourceTracker * resourceTracker,VkVertexInputAttributeDescription * toTransform)1175 void transform_fromhost_VkVertexInputAttributeDescription(
1176 ResourceTracker* resourceTracker,
1177 VkVertexInputAttributeDescription* toTransform)
1178 {
1179 (void)resourceTracker;
1180 (void)toTransform;
1181 }
1182
transform_tohost_VkPipelineVertexInputStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineVertexInputStateCreateInfo * toTransform)1183 void transform_tohost_VkPipelineVertexInputStateCreateInfo(
1184 ResourceTracker* resourceTracker,
1185 VkPipelineVertexInputStateCreateInfo* toTransform)
1186 {
1187 (void)resourceTracker;
1188 (void)toTransform;
1189 if (toTransform->pNext)
1190 {
1191 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1192 }
1193 if (toTransform->pVertexBindingDescriptions)
1194 {
1195 for (uint32_t i = 0; i < (uint32_t)toTransform->vertexBindingDescriptionCount; ++i)
1196 {
1197 transform_tohost_VkVertexInputBindingDescription(resourceTracker, (VkVertexInputBindingDescription*)(toTransform->pVertexBindingDescriptions + i));
1198 }
1199 }
1200 if (toTransform->pVertexAttributeDescriptions)
1201 {
1202 for (uint32_t i = 0; i < (uint32_t)toTransform->vertexAttributeDescriptionCount; ++i)
1203 {
1204 transform_tohost_VkVertexInputAttributeDescription(resourceTracker, (VkVertexInputAttributeDescription*)(toTransform->pVertexAttributeDescriptions + i));
1205 }
1206 }
1207 }
1208
transform_fromhost_VkPipelineVertexInputStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineVertexInputStateCreateInfo * toTransform)1209 void transform_fromhost_VkPipelineVertexInputStateCreateInfo(
1210 ResourceTracker* resourceTracker,
1211 VkPipelineVertexInputStateCreateInfo* toTransform)
1212 {
1213 (void)resourceTracker;
1214 (void)toTransform;
1215 if (toTransform->pNext)
1216 {
1217 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1218 }
1219 if (toTransform->pVertexBindingDescriptions)
1220 {
1221 for (uint32_t i = 0; i < (uint32_t)toTransform->vertexBindingDescriptionCount; ++i)
1222 {
1223 transform_fromhost_VkVertexInputBindingDescription(resourceTracker, (VkVertexInputBindingDescription*)(toTransform->pVertexBindingDescriptions + i));
1224 }
1225 }
1226 if (toTransform->pVertexAttributeDescriptions)
1227 {
1228 for (uint32_t i = 0; i < (uint32_t)toTransform->vertexAttributeDescriptionCount; ++i)
1229 {
1230 transform_fromhost_VkVertexInputAttributeDescription(resourceTracker, (VkVertexInputAttributeDescription*)(toTransform->pVertexAttributeDescriptions + i));
1231 }
1232 }
1233 }
1234
transform_tohost_VkPipelineInputAssemblyStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineInputAssemblyStateCreateInfo * toTransform)1235 void transform_tohost_VkPipelineInputAssemblyStateCreateInfo(
1236 ResourceTracker* resourceTracker,
1237 VkPipelineInputAssemblyStateCreateInfo* toTransform)
1238 {
1239 (void)resourceTracker;
1240 (void)toTransform;
1241 if (toTransform->pNext)
1242 {
1243 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1244 }
1245 }
1246
transform_fromhost_VkPipelineInputAssemblyStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineInputAssemblyStateCreateInfo * toTransform)1247 void transform_fromhost_VkPipelineInputAssemblyStateCreateInfo(
1248 ResourceTracker* resourceTracker,
1249 VkPipelineInputAssemblyStateCreateInfo* toTransform)
1250 {
1251 (void)resourceTracker;
1252 (void)toTransform;
1253 if (toTransform->pNext)
1254 {
1255 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1256 }
1257 }
1258
transform_tohost_VkPipelineTessellationStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineTessellationStateCreateInfo * toTransform)1259 void transform_tohost_VkPipelineTessellationStateCreateInfo(
1260 ResourceTracker* resourceTracker,
1261 VkPipelineTessellationStateCreateInfo* toTransform)
1262 {
1263 (void)resourceTracker;
1264 (void)toTransform;
1265 if (toTransform->pNext)
1266 {
1267 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1268 }
1269 }
1270
transform_fromhost_VkPipelineTessellationStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineTessellationStateCreateInfo * toTransform)1271 void transform_fromhost_VkPipelineTessellationStateCreateInfo(
1272 ResourceTracker* resourceTracker,
1273 VkPipelineTessellationStateCreateInfo* toTransform)
1274 {
1275 (void)resourceTracker;
1276 (void)toTransform;
1277 if (toTransform->pNext)
1278 {
1279 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1280 }
1281 }
1282
transform_tohost_VkViewport(ResourceTracker * resourceTracker,VkViewport * toTransform)1283 void transform_tohost_VkViewport(
1284 ResourceTracker* resourceTracker,
1285 VkViewport* toTransform)
1286 {
1287 (void)resourceTracker;
1288 (void)toTransform;
1289 }
1290
transform_fromhost_VkViewport(ResourceTracker * resourceTracker,VkViewport * toTransform)1291 void transform_fromhost_VkViewport(
1292 ResourceTracker* resourceTracker,
1293 VkViewport* toTransform)
1294 {
1295 (void)resourceTracker;
1296 (void)toTransform;
1297 }
1298
transform_tohost_VkOffset2D(ResourceTracker * resourceTracker,VkOffset2D * toTransform)1299 void transform_tohost_VkOffset2D(
1300 ResourceTracker* resourceTracker,
1301 VkOffset2D* toTransform)
1302 {
1303 (void)resourceTracker;
1304 (void)toTransform;
1305 }
1306
transform_fromhost_VkOffset2D(ResourceTracker * resourceTracker,VkOffset2D * toTransform)1307 void transform_fromhost_VkOffset2D(
1308 ResourceTracker* resourceTracker,
1309 VkOffset2D* toTransform)
1310 {
1311 (void)resourceTracker;
1312 (void)toTransform;
1313 }
1314
transform_tohost_VkExtent2D(ResourceTracker * resourceTracker,VkExtent2D * toTransform)1315 void transform_tohost_VkExtent2D(
1316 ResourceTracker* resourceTracker,
1317 VkExtent2D* toTransform)
1318 {
1319 (void)resourceTracker;
1320 (void)toTransform;
1321 }
1322
transform_fromhost_VkExtent2D(ResourceTracker * resourceTracker,VkExtent2D * toTransform)1323 void transform_fromhost_VkExtent2D(
1324 ResourceTracker* resourceTracker,
1325 VkExtent2D* toTransform)
1326 {
1327 (void)resourceTracker;
1328 (void)toTransform;
1329 }
1330
transform_tohost_VkRect2D(ResourceTracker * resourceTracker,VkRect2D * toTransform)1331 void transform_tohost_VkRect2D(
1332 ResourceTracker* resourceTracker,
1333 VkRect2D* toTransform)
1334 {
1335 (void)resourceTracker;
1336 (void)toTransform;
1337 transform_tohost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->offset));
1338 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->extent));
1339 }
1340
transform_fromhost_VkRect2D(ResourceTracker * resourceTracker,VkRect2D * toTransform)1341 void transform_fromhost_VkRect2D(
1342 ResourceTracker* resourceTracker,
1343 VkRect2D* toTransform)
1344 {
1345 (void)resourceTracker;
1346 (void)toTransform;
1347 transform_fromhost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->offset));
1348 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->extent));
1349 }
1350
transform_tohost_VkPipelineViewportStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineViewportStateCreateInfo * toTransform)1351 void transform_tohost_VkPipelineViewportStateCreateInfo(
1352 ResourceTracker* resourceTracker,
1353 VkPipelineViewportStateCreateInfo* toTransform)
1354 {
1355 (void)resourceTracker;
1356 (void)toTransform;
1357 if (toTransform->pNext)
1358 {
1359 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1360 }
1361 if (toTransform->pViewports)
1362 {
1363 for (uint32_t i = 0; i < (uint32_t)toTransform->viewportCount; ++i)
1364 {
1365 transform_tohost_VkViewport(resourceTracker, (VkViewport*)(toTransform->pViewports + i));
1366 }
1367 }
1368 if (toTransform->pScissors)
1369 {
1370 for (uint32_t i = 0; i < (uint32_t)toTransform->scissorCount; ++i)
1371 {
1372 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pScissors + i));
1373 }
1374 }
1375 }
1376
transform_fromhost_VkPipelineViewportStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineViewportStateCreateInfo * toTransform)1377 void transform_fromhost_VkPipelineViewportStateCreateInfo(
1378 ResourceTracker* resourceTracker,
1379 VkPipelineViewportStateCreateInfo* toTransform)
1380 {
1381 (void)resourceTracker;
1382 (void)toTransform;
1383 if (toTransform->pNext)
1384 {
1385 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1386 }
1387 if (toTransform->pViewports)
1388 {
1389 for (uint32_t i = 0; i < (uint32_t)toTransform->viewportCount; ++i)
1390 {
1391 transform_fromhost_VkViewport(resourceTracker, (VkViewport*)(toTransform->pViewports + i));
1392 }
1393 }
1394 if (toTransform->pScissors)
1395 {
1396 for (uint32_t i = 0; i < (uint32_t)toTransform->scissorCount; ++i)
1397 {
1398 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pScissors + i));
1399 }
1400 }
1401 }
1402
transform_tohost_VkPipelineRasterizationStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineRasterizationStateCreateInfo * toTransform)1403 void transform_tohost_VkPipelineRasterizationStateCreateInfo(
1404 ResourceTracker* resourceTracker,
1405 VkPipelineRasterizationStateCreateInfo* toTransform)
1406 {
1407 (void)resourceTracker;
1408 (void)toTransform;
1409 if (toTransform->pNext)
1410 {
1411 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1412 }
1413 }
1414
transform_fromhost_VkPipelineRasterizationStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineRasterizationStateCreateInfo * toTransform)1415 void transform_fromhost_VkPipelineRasterizationStateCreateInfo(
1416 ResourceTracker* resourceTracker,
1417 VkPipelineRasterizationStateCreateInfo* toTransform)
1418 {
1419 (void)resourceTracker;
1420 (void)toTransform;
1421 if (toTransform->pNext)
1422 {
1423 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1424 }
1425 }
1426
transform_tohost_VkPipelineMultisampleStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineMultisampleStateCreateInfo * toTransform)1427 void transform_tohost_VkPipelineMultisampleStateCreateInfo(
1428 ResourceTracker* resourceTracker,
1429 VkPipelineMultisampleStateCreateInfo* toTransform)
1430 {
1431 (void)resourceTracker;
1432 (void)toTransform;
1433 if (toTransform->pNext)
1434 {
1435 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1436 }
1437 }
1438
transform_fromhost_VkPipelineMultisampleStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineMultisampleStateCreateInfo * toTransform)1439 void transform_fromhost_VkPipelineMultisampleStateCreateInfo(
1440 ResourceTracker* resourceTracker,
1441 VkPipelineMultisampleStateCreateInfo* toTransform)
1442 {
1443 (void)resourceTracker;
1444 (void)toTransform;
1445 if (toTransform->pNext)
1446 {
1447 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1448 }
1449 }
1450
transform_tohost_VkStencilOpState(ResourceTracker * resourceTracker,VkStencilOpState * toTransform)1451 void transform_tohost_VkStencilOpState(
1452 ResourceTracker* resourceTracker,
1453 VkStencilOpState* toTransform)
1454 {
1455 (void)resourceTracker;
1456 (void)toTransform;
1457 }
1458
transform_fromhost_VkStencilOpState(ResourceTracker * resourceTracker,VkStencilOpState * toTransform)1459 void transform_fromhost_VkStencilOpState(
1460 ResourceTracker* resourceTracker,
1461 VkStencilOpState* toTransform)
1462 {
1463 (void)resourceTracker;
1464 (void)toTransform;
1465 }
1466
transform_tohost_VkPipelineDepthStencilStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineDepthStencilStateCreateInfo * toTransform)1467 void transform_tohost_VkPipelineDepthStencilStateCreateInfo(
1468 ResourceTracker* resourceTracker,
1469 VkPipelineDepthStencilStateCreateInfo* toTransform)
1470 {
1471 (void)resourceTracker;
1472 (void)toTransform;
1473 if (toTransform->pNext)
1474 {
1475 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1476 }
1477 transform_tohost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->front));
1478 transform_tohost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->back));
1479 }
1480
transform_fromhost_VkPipelineDepthStencilStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineDepthStencilStateCreateInfo * toTransform)1481 void transform_fromhost_VkPipelineDepthStencilStateCreateInfo(
1482 ResourceTracker* resourceTracker,
1483 VkPipelineDepthStencilStateCreateInfo* toTransform)
1484 {
1485 (void)resourceTracker;
1486 (void)toTransform;
1487 if (toTransform->pNext)
1488 {
1489 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1490 }
1491 transform_fromhost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->front));
1492 transform_fromhost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->back));
1493 }
1494
transform_tohost_VkPipelineColorBlendAttachmentState(ResourceTracker * resourceTracker,VkPipelineColorBlendAttachmentState * toTransform)1495 void transform_tohost_VkPipelineColorBlendAttachmentState(
1496 ResourceTracker* resourceTracker,
1497 VkPipelineColorBlendAttachmentState* toTransform)
1498 {
1499 (void)resourceTracker;
1500 (void)toTransform;
1501 }
1502
transform_fromhost_VkPipelineColorBlendAttachmentState(ResourceTracker * resourceTracker,VkPipelineColorBlendAttachmentState * toTransform)1503 void transform_fromhost_VkPipelineColorBlendAttachmentState(
1504 ResourceTracker* resourceTracker,
1505 VkPipelineColorBlendAttachmentState* toTransform)
1506 {
1507 (void)resourceTracker;
1508 (void)toTransform;
1509 }
1510
transform_tohost_VkPipelineColorBlendStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineColorBlendStateCreateInfo * toTransform)1511 void transform_tohost_VkPipelineColorBlendStateCreateInfo(
1512 ResourceTracker* resourceTracker,
1513 VkPipelineColorBlendStateCreateInfo* toTransform)
1514 {
1515 (void)resourceTracker;
1516 (void)toTransform;
1517 if (toTransform->pNext)
1518 {
1519 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1520 }
1521 if (toTransform->pAttachments)
1522 {
1523 for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i)
1524 {
1525 transform_tohost_VkPipelineColorBlendAttachmentState(resourceTracker, (VkPipelineColorBlendAttachmentState*)(toTransform->pAttachments + i));
1526 }
1527 }
1528 }
1529
transform_fromhost_VkPipelineColorBlendStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineColorBlendStateCreateInfo * toTransform)1530 void transform_fromhost_VkPipelineColorBlendStateCreateInfo(
1531 ResourceTracker* resourceTracker,
1532 VkPipelineColorBlendStateCreateInfo* toTransform)
1533 {
1534 (void)resourceTracker;
1535 (void)toTransform;
1536 if (toTransform->pNext)
1537 {
1538 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1539 }
1540 if (toTransform->pAttachments)
1541 {
1542 for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i)
1543 {
1544 transform_fromhost_VkPipelineColorBlendAttachmentState(resourceTracker, (VkPipelineColorBlendAttachmentState*)(toTransform->pAttachments + i));
1545 }
1546 }
1547 }
1548
transform_tohost_VkPipelineDynamicStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineDynamicStateCreateInfo * toTransform)1549 void transform_tohost_VkPipelineDynamicStateCreateInfo(
1550 ResourceTracker* resourceTracker,
1551 VkPipelineDynamicStateCreateInfo* toTransform)
1552 {
1553 (void)resourceTracker;
1554 (void)toTransform;
1555 if (toTransform->pNext)
1556 {
1557 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1558 }
1559 }
1560
transform_fromhost_VkPipelineDynamicStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineDynamicStateCreateInfo * toTransform)1561 void transform_fromhost_VkPipelineDynamicStateCreateInfo(
1562 ResourceTracker* resourceTracker,
1563 VkPipelineDynamicStateCreateInfo* toTransform)
1564 {
1565 (void)resourceTracker;
1566 (void)toTransform;
1567 if (toTransform->pNext)
1568 {
1569 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1570 }
1571 }
1572
transform_tohost_VkGraphicsPipelineCreateInfo(ResourceTracker * resourceTracker,VkGraphicsPipelineCreateInfo * toTransform)1573 void transform_tohost_VkGraphicsPipelineCreateInfo(
1574 ResourceTracker* resourceTracker,
1575 VkGraphicsPipelineCreateInfo* toTransform)
1576 {
1577 (void)resourceTracker;
1578 (void)toTransform;
1579 if (toTransform->pNext)
1580 {
1581 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1582 }
1583 if (toTransform->pStages)
1584 {
1585 for (uint32_t i = 0; i < (uint32_t)toTransform->stageCount; ++i)
1586 {
1587 transform_tohost_VkPipelineShaderStageCreateInfo(resourceTracker, (VkPipelineShaderStageCreateInfo*)(toTransform->pStages + i));
1588 }
1589 }
1590 if (toTransform->pVertexInputState)
1591 {
1592 transform_tohost_VkPipelineVertexInputStateCreateInfo(resourceTracker, (VkPipelineVertexInputStateCreateInfo*)(toTransform->pVertexInputState));
1593 }
1594 if (toTransform->pInputAssemblyState)
1595 {
1596 transform_tohost_VkPipelineInputAssemblyStateCreateInfo(resourceTracker, (VkPipelineInputAssemblyStateCreateInfo*)(toTransform->pInputAssemblyState));
1597 }
1598 if (toTransform->pTessellationState)
1599 {
1600 transform_tohost_VkPipelineTessellationStateCreateInfo(resourceTracker, (VkPipelineTessellationStateCreateInfo*)(toTransform->pTessellationState));
1601 }
1602 if (toTransform->pViewportState)
1603 {
1604 transform_tohost_VkPipelineViewportStateCreateInfo(resourceTracker, (VkPipelineViewportStateCreateInfo*)(toTransform->pViewportState));
1605 }
1606 if (toTransform->pRasterizationState)
1607 {
1608 transform_tohost_VkPipelineRasterizationStateCreateInfo(resourceTracker, (VkPipelineRasterizationStateCreateInfo*)(toTransform->pRasterizationState));
1609 }
1610 if (toTransform->pMultisampleState)
1611 {
1612 transform_tohost_VkPipelineMultisampleStateCreateInfo(resourceTracker, (VkPipelineMultisampleStateCreateInfo*)(toTransform->pMultisampleState));
1613 }
1614 if (toTransform->pDepthStencilState)
1615 {
1616 transform_tohost_VkPipelineDepthStencilStateCreateInfo(resourceTracker, (VkPipelineDepthStencilStateCreateInfo*)(toTransform->pDepthStencilState));
1617 }
1618 if (toTransform->pColorBlendState)
1619 {
1620 transform_tohost_VkPipelineColorBlendStateCreateInfo(resourceTracker, (VkPipelineColorBlendStateCreateInfo*)(toTransform->pColorBlendState));
1621 }
1622 if (toTransform->pDynamicState)
1623 {
1624 transform_tohost_VkPipelineDynamicStateCreateInfo(resourceTracker, (VkPipelineDynamicStateCreateInfo*)(toTransform->pDynamicState));
1625 }
1626 }
1627
transform_fromhost_VkGraphicsPipelineCreateInfo(ResourceTracker * resourceTracker,VkGraphicsPipelineCreateInfo * toTransform)1628 void transform_fromhost_VkGraphicsPipelineCreateInfo(
1629 ResourceTracker* resourceTracker,
1630 VkGraphicsPipelineCreateInfo* toTransform)
1631 {
1632 (void)resourceTracker;
1633 (void)toTransform;
1634 if (toTransform->pNext)
1635 {
1636 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1637 }
1638 if (toTransform->pStages)
1639 {
1640 for (uint32_t i = 0; i < (uint32_t)toTransform->stageCount; ++i)
1641 {
1642 transform_fromhost_VkPipelineShaderStageCreateInfo(resourceTracker, (VkPipelineShaderStageCreateInfo*)(toTransform->pStages + i));
1643 }
1644 }
1645 if (toTransform->pVertexInputState)
1646 {
1647 transform_fromhost_VkPipelineVertexInputStateCreateInfo(resourceTracker, (VkPipelineVertexInputStateCreateInfo*)(toTransform->pVertexInputState));
1648 }
1649 if (toTransform->pInputAssemblyState)
1650 {
1651 transform_fromhost_VkPipelineInputAssemblyStateCreateInfo(resourceTracker, (VkPipelineInputAssemblyStateCreateInfo*)(toTransform->pInputAssemblyState));
1652 }
1653 if (toTransform->pTessellationState)
1654 {
1655 transform_fromhost_VkPipelineTessellationStateCreateInfo(resourceTracker, (VkPipelineTessellationStateCreateInfo*)(toTransform->pTessellationState));
1656 }
1657 if (toTransform->pViewportState)
1658 {
1659 transform_fromhost_VkPipelineViewportStateCreateInfo(resourceTracker, (VkPipelineViewportStateCreateInfo*)(toTransform->pViewportState));
1660 }
1661 if (toTransform->pRasterizationState)
1662 {
1663 transform_fromhost_VkPipelineRasterizationStateCreateInfo(resourceTracker, (VkPipelineRasterizationStateCreateInfo*)(toTransform->pRasterizationState));
1664 }
1665 if (toTransform->pMultisampleState)
1666 {
1667 transform_fromhost_VkPipelineMultisampleStateCreateInfo(resourceTracker, (VkPipelineMultisampleStateCreateInfo*)(toTransform->pMultisampleState));
1668 }
1669 if (toTransform->pDepthStencilState)
1670 {
1671 transform_fromhost_VkPipelineDepthStencilStateCreateInfo(resourceTracker, (VkPipelineDepthStencilStateCreateInfo*)(toTransform->pDepthStencilState));
1672 }
1673 if (toTransform->pColorBlendState)
1674 {
1675 transform_fromhost_VkPipelineColorBlendStateCreateInfo(resourceTracker, (VkPipelineColorBlendStateCreateInfo*)(toTransform->pColorBlendState));
1676 }
1677 if (toTransform->pDynamicState)
1678 {
1679 transform_fromhost_VkPipelineDynamicStateCreateInfo(resourceTracker, (VkPipelineDynamicStateCreateInfo*)(toTransform->pDynamicState));
1680 }
1681 }
1682
transform_tohost_VkComputePipelineCreateInfo(ResourceTracker * resourceTracker,VkComputePipelineCreateInfo * toTransform)1683 void transform_tohost_VkComputePipelineCreateInfo(
1684 ResourceTracker* resourceTracker,
1685 VkComputePipelineCreateInfo* toTransform)
1686 {
1687 (void)resourceTracker;
1688 (void)toTransform;
1689 if (toTransform->pNext)
1690 {
1691 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1692 }
1693 transform_tohost_VkPipelineShaderStageCreateInfo(resourceTracker, (VkPipelineShaderStageCreateInfo*)(&toTransform->stage));
1694 }
1695
transform_fromhost_VkComputePipelineCreateInfo(ResourceTracker * resourceTracker,VkComputePipelineCreateInfo * toTransform)1696 void transform_fromhost_VkComputePipelineCreateInfo(
1697 ResourceTracker* resourceTracker,
1698 VkComputePipelineCreateInfo* toTransform)
1699 {
1700 (void)resourceTracker;
1701 (void)toTransform;
1702 if (toTransform->pNext)
1703 {
1704 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1705 }
1706 transform_fromhost_VkPipelineShaderStageCreateInfo(resourceTracker, (VkPipelineShaderStageCreateInfo*)(&toTransform->stage));
1707 }
1708
transform_tohost_VkPushConstantRange(ResourceTracker * resourceTracker,VkPushConstantRange * toTransform)1709 void transform_tohost_VkPushConstantRange(
1710 ResourceTracker* resourceTracker,
1711 VkPushConstantRange* toTransform)
1712 {
1713 (void)resourceTracker;
1714 (void)toTransform;
1715 }
1716
transform_fromhost_VkPushConstantRange(ResourceTracker * resourceTracker,VkPushConstantRange * toTransform)1717 void transform_fromhost_VkPushConstantRange(
1718 ResourceTracker* resourceTracker,
1719 VkPushConstantRange* toTransform)
1720 {
1721 (void)resourceTracker;
1722 (void)toTransform;
1723 }
1724
transform_tohost_VkPipelineLayoutCreateInfo(ResourceTracker * resourceTracker,VkPipelineLayoutCreateInfo * toTransform)1725 void transform_tohost_VkPipelineLayoutCreateInfo(
1726 ResourceTracker* resourceTracker,
1727 VkPipelineLayoutCreateInfo* toTransform)
1728 {
1729 (void)resourceTracker;
1730 (void)toTransform;
1731 if (toTransform->pNext)
1732 {
1733 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1734 }
1735 if (toTransform->pPushConstantRanges)
1736 {
1737 for (uint32_t i = 0; i < (uint32_t)toTransform->pushConstantRangeCount; ++i)
1738 {
1739 transform_tohost_VkPushConstantRange(resourceTracker, (VkPushConstantRange*)(toTransform->pPushConstantRanges + i));
1740 }
1741 }
1742 }
1743
transform_fromhost_VkPipelineLayoutCreateInfo(ResourceTracker * resourceTracker,VkPipelineLayoutCreateInfo * toTransform)1744 void transform_fromhost_VkPipelineLayoutCreateInfo(
1745 ResourceTracker* resourceTracker,
1746 VkPipelineLayoutCreateInfo* toTransform)
1747 {
1748 (void)resourceTracker;
1749 (void)toTransform;
1750 if (toTransform->pNext)
1751 {
1752 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1753 }
1754 if (toTransform->pPushConstantRanges)
1755 {
1756 for (uint32_t i = 0; i < (uint32_t)toTransform->pushConstantRangeCount; ++i)
1757 {
1758 transform_fromhost_VkPushConstantRange(resourceTracker, (VkPushConstantRange*)(toTransform->pPushConstantRanges + i));
1759 }
1760 }
1761 }
1762
transform_tohost_VkSamplerCreateInfo(ResourceTracker * resourceTracker,VkSamplerCreateInfo * toTransform)1763 void transform_tohost_VkSamplerCreateInfo(
1764 ResourceTracker* resourceTracker,
1765 VkSamplerCreateInfo* toTransform)
1766 {
1767 (void)resourceTracker;
1768 (void)toTransform;
1769 if (toTransform->pNext)
1770 {
1771 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1772 }
1773 }
1774
transform_fromhost_VkSamplerCreateInfo(ResourceTracker * resourceTracker,VkSamplerCreateInfo * toTransform)1775 void transform_fromhost_VkSamplerCreateInfo(
1776 ResourceTracker* resourceTracker,
1777 VkSamplerCreateInfo* toTransform)
1778 {
1779 (void)resourceTracker;
1780 (void)toTransform;
1781 if (toTransform->pNext)
1782 {
1783 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1784 }
1785 }
1786
transform_tohost_VkDescriptorSetLayoutBinding(ResourceTracker * resourceTracker,VkDescriptorSetLayoutBinding * toTransform)1787 void transform_tohost_VkDescriptorSetLayoutBinding(
1788 ResourceTracker* resourceTracker,
1789 VkDescriptorSetLayoutBinding* toTransform)
1790 {
1791 (void)resourceTracker;
1792 (void)toTransform;
1793 }
1794
transform_fromhost_VkDescriptorSetLayoutBinding(ResourceTracker * resourceTracker,VkDescriptorSetLayoutBinding * toTransform)1795 void transform_fromhost_VkDescriptorSetLayoutBinding(
1796 ResourceTracker* resourceTracker,
1797 VkDescriptorSetLayoutBinding* toTransform)
1798 {
1799 (void)resourceTracker;
1800 (void)toTransform;
1801 }
1802
transform_tohost_VkDescriptorSetLayoutCreateInfo(ResourceTracker * resourceTracker,VkDescriptorSetLayoutCreateInfo * toTransform)1803 void transform_tohost_VkDescriptorSetLayoutCreateInfo(
1804 ResourceTracker* resourceTracker,
1805 VkDescriptorSetLayoutCreateInfo* toTransform)
1806 {
1807 (void)resourceTracker;
1808 (void)toTransform;
1809 if (toTransform->pNext)
1810 {
1811 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1812 }
1813 if (toTransform->pBindings)
1814 {
1815 for (uint32_t i = 0; i < (uint32_t)toTransform->bindingCount; ++i)
1816 {
1817 transform_tohost_VkDescriptorSetLayoutBinding(resourceTracker, (VkDescriptorSetLayoutBinding*)(toTransform->pBindings + i));
1818 }
1819 }
1820 }
1821
transform_fromhost_VkDescriptorSetLayoutCreateInfo(ResourceTracker * resourceTracker,VkDescriptorSetLayoutCreateInfo * toTransform)1822 void transform_fromhost_VkDescriptorSetLayoutCreateInfo(
1823 ResourceTracker* resourceTracker,
1824 VkDescriptorSetLayoutCreateInfo* toTransform)
1825 {
1826 (void)resourceTracker;
1827 (void)toTransform;
1828 if (toTransform->pNext)
1829 {
1830 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1831 }
1832 if (toTransform->pBindings)
1833 {
1834 for (uint32_t i = 0; i < (uint32_t)toTransform->bindingCount; ++i)
1835 {
1836 transform_fromhost_VkDescriptorSetLayoutBinding(resourceTracker, (VkDescriptorSetLayoutBinding*)(toTransform->pBindings + i));
1837 }
1838 }
1839 }
1840
transform_tohost_VkDescriptorPoolSize(ResourceTracker * resourceTracker,VkDescriptorPoolSize * toTransform)1841 void transform_tohost_VkDescriptorPoolSize(
1842 ResourceTracker* resourceTracker,
1843 VkDescriptorPoolSize* toTransform)
1844 {
1845 (void)resourceTracker;
1846 (void)toTransform;
1847 }
1848
transform_fromhost_VkDescriptorPoolSize(ResourceTracker * resourceTracker,VkDescriptorPoolSize * toTransform)1849 void transform_fromhost_VkDescriptorPoolSize(
1850 ResourceTracker* resourceTracker,
1851 VkDescriptorPoolSize* toTransform)
1852 {
1853 (void)resourceTracker;
1854 (void)toTransform;
1855 }
1856
transform_tohost_VkDescriptorPoolCreateInfo(ResourceTracker * resourceTracker,VkDescriptorPoolCreateInfo * toTransform)1857 void transform_tohost_VkDescriptorPoolCreateInfo(
1858 ResourceTracker* resourceTracker,
1859 VkDescriptorPoolCreateInfo* toTransform)
1860 {
1861 (void)resourceTracker;
1862 (void)toTransform;
1863 if (toTransform->pNext)
1864 {
1865 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1866 }
1867 if (toTransform->pPoolSizes)
1868 {
1869 for (uint32_t i = 0; i < (uint32_t)toTransform->poolSizeCount; ++i)
1870 {
1871 transform_tohost_VkDescriptorPoolSize(resourceTracker, (VkDescriptorPoolSize*)(toTransform->pPoolSizes + i));
1872 }
1873 }
1874 }
1875
transform_fromhost_VkDescriptorPoolCreateInfo(ResourceTracker * resourceTracker,VkDescriptorPoolCreateInfo * toTransform)1876 void transform_fromhost_VkDescriptorPoolCreateInfo(
1877 ResourceTracker* resourceTracker,
1878 VkDescriptorPoolCreateInfo* toTransform)
1879 {
1880 (void)resourceTracker;
1881 (void)toTransform;
1882 if (toTransform->pNext)
1883 {
1884 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1885 }
1886 if (toTransform->pPoolSizes)
1887 {
1888 for (uint32_t i = 0; i < (uint32_t)toTransform->poolSizeCount; ++i)
1889 {
1890 transform_fromhost_VkDescriptorPoolSize(resourceTracker, (VkDescriptorPoolSize*)(toTransform->pPoolSizes + i));
1891 }
1892 }
1893 }
1894
transform_tohost_VkDescriptorSetAllocateInfo(ResourceTracker * resourceTracker,VkDescriptorSetAllocateInfo * toTransform)1895 void transform_tohost_VkDescriptorSetAllocateInfo(
1896 ResourceTracker* resourceTracker,
1897 VkDescriptorSetAllocateInfo* toTransform)
1898 {
1899 (void)resourceTracker;
1900 (void)toTransform;
1901 if (toTransform->pNext)
1902 {
1903 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1904 }
1905 }
1906
transform_fromhost_VkDescriptorSetAllocateInfo(ResourceTracker * resourceTracker,VkDescriptorSetAllocateInfo * toTransform)1907 void transform_fromhost_VkDescriptorSetAllocateInfo(
1908 ResourceTracker* resourceTracker,
1909 VkDescriptorSetAllocateInfo* toTransform)
1910 {
1911 (void)resourceTracker;
1912 (void)toTransform;
1913 if (toTransform->pNext)
1914 {
1915 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1916 }
1917 }
1918
transform_tohost_VkDescriptorImageInfo(ResourceTracker * resourceTracker,VkDescriptorImageInfo * toTransform)1919 void transform_tohost_VkDescriptorImageInfo(
1920 ResourceTracker* resourceTracker,
1921 VkDescriptorImageInfo* toTransform)
1922 {
1923 (void)resourceTracker;
1924 (void)toTransform;
1925 }
1926
transform_fromhost_VkDescriptorImageInfo(ResourceTracker * resourceTracker,VkDescriptorImageInfo * toTransform)1927 void transform_fromhost_VkDescriptorImageInfo(
1928 ResourceTracker* resourceTracker,
1929 VkDescriptorImageInfo* toTransform)
1930 {
1931 (void)resourceTracker;
1932 (void)toTransform;
1933 }
1934
transform_tohost_VkDescriptorBufferInfo(ResourceTracker * resourceTracker,VkDescriptorBufferInfo * toTransform)1935 void transform_tohost_VkDescriptorBufferInfo(
1936 ResourceTracker* resourceTracker,
1937 VkDescriptorBufferInfo* toTransform)
1938 {
1939 (void)resourceTracker;
1940 (void)toTransform;
1941 }
1942
transform_fromhost_VkDescriptorBufferInfo(ResourceTracker * resourceTracker,VkDescriptorBufferInfo * toTransform)1943 void transform_fromhost_VkDescriptorBufferInfo(
1944 ResourceTracker* resourceTracker,
1945 VkDescriptorBufferInfo* toTransform)
1946 {
1947 (void)resourceTracker;
1948 (void)toTransform;
1949 }
1950
transform_tohost_VkWriteDescriptorSet(ResourceTracker * resourceTracker,VkWriteDescriptorSet * toTransform)1951 void transform_tohost_VkWriteDescriptorSet(
1952 ResourceTracker* resourceTracker,
1953 VkWriteDescriptorSet* toTransform)
1954 {
1955 (void)resourceTracker;
1956 (void)toTransform;
1957 if (toTransform->pNext)
1958 {
1959 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1960 }
1961 if (toTransform->pImageInfo)
1962 {
1963 for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i)
1964 {
1965 transform_tohost_VkDescriptorImageInfo(resourceTracker, (VkDescriptorImageInfo*)(toTransform->pImageInfo + i));
1966 }
1967 }
1968 if (toTransform->pBufferInfo)
1969 {
1970 for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i)
1971 {
1972 transform_tohost_VkDescriptorBufferInfo(resourceTracker, (VkDescriptorBufferInfo*)(toTransform->pBufferInfo + i));
1973 }
1974 }
1975 }
1976
transform_fromhost_VkWriteDescriptorSet(ResourceTracker * resourceTracker,VkWriteDescriptorSet * toTransform)1977 void transform_fromhost_VkWriteDescriptorSet(
1978 ResourceTracker* resourceTracker,
1979 VkWriteDescriptorSet* toTransform)
1980 {
1981 (void)resourceTracker;
1982 (void)toTransform;
1983 if (toTransform->pNext)
1984 {
1985 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1986 }
1987 if (toTransform->pImageInfo)
1988 {
1989 for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i)
1990 {
1991 transform_fromhost_VkDescriptorImageInfo(resourceTracker, (VkDescriptorImageInfo*)(toTransform->pImageInfo + i));
1992 }
1993 }
1994 if (toTransform->pBufferInfo)
1995 {
1996 for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i)
1997 {
1998 transform_fromhost_VkDescriptorBufferInfo(resourceTracker, (VkDescriptorBufferInfo*)(toTransform->pBufferInfo + i));
1999 }
2000 }
2001 }
2002
transform_tohost_VkCopyDescriptorSet(ResourceTracker * resourceTracker,VkCopyDescriptorSet * toTransform)2003 void transform_tohost_VkCopyDescriptorSet(
2004 ResourceTracker* resourceTracker,
2005 VkCopyDescriptorSet* toTransform)
2006 {
2007 (void)resourceTracker;
2008 (void)toTransform;
2009 if (toTransform->pNext)
2010 {
2011 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2012 }
2013 }
2014
transform_fromhost_VkCopyDescriptorSet(ResourceTracker * resourceTracker,VkCopyDescriptorSet * toTransform)2015 void transform_fromhost_VkCopyDescriptorSet(
2016 ResourceTracker* resourceTracker,
2017 VkCopyDescriptorSet* toTransform)
2018 {
2019 (void)resourceTracker;
2020 (void)toTransform;
2021 if (toTransform->pNext)
2022 {
2023 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2024 }
2025 }
2026
transform_tohost_VkFramebufferCreateInfo(ResourceTracker * resourceTracker,VkFramebufferCreateInfo * toTransform)2027 void transform_tohost_VkFramebufferCreateInfo(
2028 ResourceTracker* resourceTracker,
2029 VkFramebufferCreateInfo* toTransform)
2030 {
2031 (void)resourceTracker;
2032 (void)toTransform;
2033 if (toTransform->pNext)
2034 {
2035 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2036 }
2037 }
2038
transform_fromhost_VkFramebufferCreateInfo(ResourceTracker * resourceTracker,VkFramebufferCreateInfo * toTransform)2039 void transform_fromhost_VkFramebufferCreateInfo(
2040 ResourceTracker* resourceTracker,
2041 VkFramebufferCreateInfo* toTransform)
2042 {
2043 (void)resourceTracker;
2044 (void)toTransform;
2045 if (toTransform->pNext)
2046 {
2047 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2048 }
2049 }
2050
transform_tohost_VkAttachmentDescription(ResourceTracker * resourceTracker,VkAttachmentDescription * toTransform)2051 void transform_tohost_VkAttachmentDescription(
2052 ResourceTracker* resourceTracker,
2053 VkAttachmentDescription* toTransform)
2054 {
2055 (void)resourceTracker;
2056 (void)toTransform;
2057 }
2058
transform_fromhost_VkAttachmentDescription(ResourceTracker * resourceTracker,VkAttachmentDescription * toTransform)2059 void transform_fromhost_VkAttachmentDescription(
2060 ResourceTracker* resourceTracker,
2061 VkAttachmentDescription* toTransform)
2062 {
2063 (void)resourceTracker;
2064 (void)toTransform;
2065 }
2066
transform_tohost_VkAttachmentReference(ResourceTracker * resourceTracker,VkAttachmentReference * toTransform)2067 void transform_tohost_VkAttachmentReference(
2068 ResourceTracker* resourceTracker,
2069 VkAttachmentReference* toTransform)
2070 {
2071 (void)resourceTracker;
2072 (void)toTransform;
2073 }
2074
transform_fromhost_VkAttachmentReference(ResourceTracker * resourceTracker,VkAttachmentReference * toTransform)2075 void transform_fromhost_VkAttachmentReference(
2076 ResourceTracker* resourceTracker,
2077 VkAttachmentReference* toTransform)
2078 {
2079 (void)resourceTracker;
2080 (void)toTransform;
2081 }
2082
transform_tohost_VkSubpassDescription(ResourceTracker * resourceTracker,VkSubpassDescription * toTransform)2083 void transform_tohost_VkSubpassDescription(
2084 ResourceTracker* resourceTracker,
2085 VkSubpassDescription* toTransform)
2086 {
2087 (void)resourceTracker;
2088 (void)toTransform;
2089 if (toTransform->pInputAttachments)
2090 {
2091 for (uint32_t i = 0; i < (uint32_t)toTransform->inputAttachmentCount; ++i)
2092 {
2093 transform_tohost_VkAttachmentReference(resourceTracker, (VkAttachmentReference*)(toTransform->pInputAttachments + i));
2094 }
2095 }
2096 if (toTransform->pColorAttachments)
2097 {
2098 for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i)
2099 {
2100 transform_tohost_VkAttachmentReference(resourceTracker, (VkAttachmentReference*)(toTransform->pColorAttachments + i));
2101 }
2102 }
2103 if (toTransform->pResolveAttachments)
2104 {
2105 for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i)
2106 {
2107 transform_tohost_VkAttachmentReference(resourceTracker, (VkAttachmentReference*)(toTransform->pResolveAttachments + i));
2108 }
2109 }
2110 if (toTransform->pDepthStencilAttachment)
2111 {
2112 transform_tohost_VkAttachmentReference(resourceTracker, (VkAttachmentReference*)(toTransform->pDepthStencilAttachment));
2113 }
2114 }
2115
transform_fromhost_VkSubpassDescription(ResourceTracker * resourceTracker,VkSubpassDescription * toTransform)2116 void transform_fromhost_VkSubpassDescription(
2117 ResourceTracker* resourceTracker,
2118 VkSubpassDescription* toTransform)
2119 {
2120 (void)resourceTracker;
2121 (void)toTransform;
2122 if (toTransform->pInputAttachments)
2123 {
2124 for (uint32_t i = 0; i < (uint32_t)toTransform->inputAttachmentCount; ++i)
2125 {
2126 transform_fromhost_VkAttachmentReference(resourceTracker, (VkAttachmentReference*)(toTransform->pInputAttachments + i));
2127 }
2128 }
2129 if (toTransform->pColorAttachments)
2130 {
2131 for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i)
2132 {
2133 transform_fromhost_VkAttachmentReference(resourceTracker, (VkAttachmentReference*)(toTransform->pColorAttachments + i));
2134 }
2135 }
2136 if (toTransform->pResolveAttachments)
2137 {
2138 for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i)
2139 {
2140 transform_fromhost_VkAttachmentReference(resourceTracker, (VkAttachmentReference*)(toTransform->pResolveAttachments + i));
2141 }
2142 }
2143 if (toTransform->pDepthStencilAttachment)
2144 {
2145 transform_fromhost_VkAttachmentReference(resourceTracker, (VkAttachmentReference*)(toTransform->pDepthStencilAttachment));
2146 }
2147 }
2148
transform_tohost_VkSubpassDependency(ResourceTracker * resourceTracker,VkSubpassDependency * toTransform)2149 void transform_tohost_VkSubpassDependency(
2150 ResourceTracker* resourceTracker,
2151 VkSubpassDependency* toTransform)
2152 {
2153 (void)resourceTracker;
2154 (void)toTransform;
2155 }
2156
transform_fromhost_VkSubpassDependency(ResourceTracker * resourceTracker,VkSubpassDependency * toTransform)2157 void transform_fromhost_VkSubpassDependency(
2158 ResourceTracker* resourceTracker,
2159 VkSubpassDependency* toTransform)
2160 {
2161 (void)resourceTracker;
2162 (void)toTransform;
2163 }
2164
transform_tohost_VkRenderPassCreateInfo(ResourceTracker * resourceTracker,VkRenderPassCreateInfo * toTransform)2165 void transform_tohost_VkRenderPassCreateInfo(
2166 ResourceTracker* resourceTracker,
2167 VkRenderPassCreateInfo* toTransform)
2168 {
2169 (void)resourceTracker;
2170 (void)toTransform;
2171 if (toTransform->pNext)
2172 {
2173 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2174 }
2175 if (toTransform->pAttachments)
2176 {
2177 for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i)
2178 {
2179 transform_tohost_VkAttachmentDescription(resourceTracker, (VkAttachmentDescription*)(toTransform->pAttachments + i));
2180 }
2181 }
2182 if (toTransform->pSubpasses)
2183 {
2184 for (uint32_t i = 0; i < (uint32_t)toTransform->subpassCount; ++i)
2185 {
2186 transform_tohost_VkSubpassDescription(resourceTracker, (VkSubpassDescription*)(toTransform->pSubpasses + i));
2187 }
2188 }
2189 if (toTransform->pDependencies)
2190 {
2191 for (uint32_t i = 0; i < (uint32_t)toTransform->dependencyCount; ++i)
2192 {
2193 transform_tohost_VkSubpassDependency(resourceTracker, (VkSubpassDependency*)(toTransform->pDependencies + i));
2194 }
2195 }
2196 }
2197
transform_fromhost_VkRenderPassCreateInfo(ResourceTracker * resourceTracker,VkRenderPassCreateInfo * toTransform)2198 void transform_fromhost_VkRenderPassCreateInfo(
2199 ResourceTracker* resourceTracker,
2200 VkRenderPassCreateInfo* toTransform)
2201 {
2202 (void)resourceTracker;
2203 (void)toTransform;
2204 if (toTransform->pNext)
2205 {
2206 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2207 }
2208 if (toTransform->pAttachments)
2209 {
2210 for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i)
2211 {
2212 transform_fromhost_VkAttachmentDescription(resourceTracker, (VkAttachmentDescription*)(toTransform->pAttachments + i));
2213 }
2214 }
2215 if (toTransform->pSubpasses)
2216 {
2217 for (uint32_t i = 0; i < (uint32_t)toTransform->subpassCount; ++i)
2218 {
2219 transform_fromhost_VkSubpassDescription(resourceTracker, (VkSubpassDescription*)(toTransform->pSubpasses + i));
2220 }
2221 }
2222 if (toTransform->pDependencies)
2223 {
2224 for (uint32_t i = 0; i < (uint32_t)toTransform->dependencyCount; ++i)
2225 {
2226 transform_fromhost_VkSubpassDependency(resourceTracker, (VkSubpassDependency*)(toTransform->pDependencies + i));
2227 }
2228 }
2229 }
2230
transform_tohost_VkCommandPoolCreateInfo(ResourceTracker * resourceTracker,VkCommandPoolCreateInfo * toTransform)2231 void transform_tohost_VkCommandPoolCreateInfo(
2232 ResourceTracker* resourceTracker,
2233 VkCommandPoolCreateInfo* toTransform)
2234 {
2235 (void)resourceTracker;
2236 (void)toTransform;
2237 if (toTransform->pNext)
2238 {
2239 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2240 }
2241 }
2242
transform_fromhost_VkCommandPoolCreateInfo(ResourceTracker * resourceTracker,VkCommandPoolCreateInfo * toTransform)2243 void transform_fromhost_VkCommandPoolCreateInfo(
2244 ResourceTracker* resourceTracker,
2245 VkCommandPoolCreateInfo* toTransform)
2246 {
2247 (void)resourceTracker;
2248 (void)toTransform;
2249 if (toTransform->pNext)
2250 {
2251 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2252 }
2253 }
2254
transform_tohost_VkCommandBufferAllocateInfo(ResourceTracker * resourceTracker,VkCommandBufferAllocateInfo * toTransform)2255 void transform_tohost_VkCommandBufferAllocateInfo(
2256 ResourceTracker* resourceTracker,
2257 VkCommandBufferAllocateInfo* toTransform)
2258 {
2259 (void)resourceTracker;
2260 (void)toTransform;
2261 if (toTransform->pNext)
2262 {
2263 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2264 }
2265 }
2266
transform_fromhost_VkCommandBufferAllocateInfo(ResourceTracker * resourceTracker,VkCommandBufferAllocateInfo * toTransform)2267 void transform_fromhost_VkCommandBufferAllocateInfo(
2268 ResourceTracker* resourceTracker,
2269 VkCommandBufferAllocateInfo* toTransform)
2270 {
2271 (void)resourceTracker;
2272 (void)toTransform;
2273 if (toTransform->pNext)
2274 {
2275 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2276 }
2277 }
2278
transform_tohost_VkCommandBufferInheritanceInfo(ResourceTracker * resourceTracker,VkCommandBufferInheritanceInfo * toTransform)2279 void transform_tohost_VkCommandBufferInheritanceInfo(
2280 ResourceTracker* resourceTracker,
2281 VkCommandBufferInheritanceInfo* toTransform)
2282 {
2283 (void)resourceTracker;
2284 (void)toTransform;
2285 if (toTransform->pNext)
2286 {
2287 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2288 }
2289 }
2290
transform_fromhost_VkCommandBufferInheritanceInfo(ResourceTracker * resourceTracker,VkCommandBufferInheritanceInfo * toTransform)2291 void transform_fromhost_VkCommandBufferInheritanceInfo(
2292 ResourceTracker* resourceTracker,
2293 VkCommandBufferInheritanceInfo* toTransform)
2294 {
2295 (void)resourceTracker;
2296 (void)toTransform;
2297 if (toTransform->pNext)
2298 {
2299 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2300 }
2301 }
2302
transform_tohost_VkCommandBufferBeginInfo(ResourceTracker * resourceTracker,VkCommandBufferBeginInfo * toTransform)2303 void transform_tohost_VkCommandBufferBeginInfo(
2304 ResourceTracker* resourceTracker,
2305 VkCommandBufferBeginInfo* toTransform)
2306 {
2307 (void)resourceTracker;
2308 (void)toTransform;
2309 if (toTransform->pNext)
2310 {
2311 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2312 }
2313 if (toTransform->pInheritanceInfo)
2314 {
2315 transform_tohost_VkCommandBufferInheritanceInfo(resourceTracker, (VkCommandBufferInheritanceInfo*)(toTransform->pInheritanceInfo));
2316 }
2317 }
2318
transform_fromhost_VkCommandBufferBeginInfo(ResourceTracker * resourceTracker,VkCommandBufferBeginInfo * toTransform)2319 void transform_fromhost_VkCommandBufferBeginInfo(
2320 ResourceTracker* resourceTracker,
2321 VkCommandBufferBeginInfo* toTransform)
2322 {
2323 (void)resourceTracker;
2324 (void)toTransform;
2325 if (toTransform->pNext)
2326 {
2327 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2328 }
2329 if (toTransform->pInheritanceInfo)
2330 {
2331 transform_fromhost_VkCommandBufferInheritanceInfo(resourceTracker, (VkCommandBufferInheritanceInfo*)(toTransform->pInheritanceInfo));
2332 }
2333 }
2334
transform_tohost_VkBufferCopy(ResourceTracker * resourceTracker,VkBufferCopy * toTransform)2335 void transform_tohost_VkBufferCopy(
2336 ResourceTracker* resourceTracker,
2337 VkBufferCopy* toTransform)
2338 {
2339 (void)resourceTracker;
2340 (void)toTransform;
2341 }
2342
transform_fromhost_VkBufferCopy(ResourceTracker * resourceTracker,VkBufferCopy * toTransform)2343 void transform_fromhost_VkBufferCopy(
2344 ResourceTracker* resourceTracker,
2345 VkBufferCopy* toTransform)
2346 {
2347 (void)resourceTracker;
2348 (void)toTransform;
2349 }
2350
transform_tohost_VkImageSubresourceLayers(ResourceTracker * resourceTracker,VkImageSubresourceLayers * toTransform)2351 void transform_tohost_VkImageSubresourceLayers(
2352 ResourceTracker* resourceTracker,
2353 VkImageSubresourceLayers* toTransform)
2354 {
2355 (void)resourceTracker;
2356 (void)toTransform;
2357 }
2358
transform_fromhost_VkImageSubresourceLayers(ResourceTracker * resourceTracker,VkImageSubresourceLayers * toTransform)2359 void transform_fromhost_VkImageSubresourceLayers(
2360 ResourceTracker* resourceTracker,
2361 VkImageSubresourceLayers* toTransform)
2362 {
2363 (void)resourceTracker;
2364 (void)toTransform;
2365 }
2366
transform_tohost_VkImageCopy(ResourceTracker * resourceTracker,VkImageCopy * toTransform)2367 void transform_tohost_VkImageCopy(
2368 ResourceTracker* resourceTracker,
2369 VkImageCopy* toTransform)
2370 {
2371 (void)resourceTracker;
2372 (void)toTransform;
2373 transform_tohost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2374 transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
2375 transform_tohost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2376 transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
2377 transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
2378 }
2379
transform_fromhost_VkImageCopy(ResourceTracker * resourceTracker,VkImageCopy * toTransform)2380 void transform_fromhost_VkImageCopy(
2381 ResourceTracker* resourceTracker,
2382 VkImageCopy* toTransform)
2383 {
2384 (void)resourceTracker;
2385 (void)toTransform;
2386 transform_fromhost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2387 transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
2388 transform_fromhost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2389 transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
2390 transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
2391 }
2392
transform_tohost_VkImageBlit(ResourceTracker * resourceTracker,VkImageBlit * toTransform)2393 void transform_tohost_VkImageBlit(
2394 ResourceTracker* resourceTracker,
2395 VkImageBlit* toTransform)
2396 {
2397 (void)resourceTracker;
2398 (void)toTransform;
2399 transform_tohost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2400 for (uint32_t i = 0; i < (uint32_t)2; ++i)
2401 {
2402 transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->srcOffsets + i));
2403 }
2404 transform_tohost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2405 for (uint32_t i = 0; i < (uint32_t)2; ++i)
2406 {
2407 transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->dstOffsets + i));
2408 }
2409 }
2410
transform_fromhost_VkImageBlit(ResourceTracker * resourceTracker,VkImageBlit * toTransform)2411 void transform_fromhost_VkImageBlit(
2412 ResourceTracker* resourceTracker,
2413 VkImageBlit* toTransform)
2414 {
2415 (void)resourceTracker;
2416 (void)toTransform;
2417 transform_fromhost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2418 for (uint32_t i = 0; i < (uint32_t)2; ++i)
2419 {
2420 transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->srcOffsets + i));
2421 }
2422 transform_fromhost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2423 for (uint32_t i = 0; i < (uint32_t)2; ++i)
2424 {
2425 transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->dstOffsets + i));
2426 }
2427 }
2428
transform_tohost_VkBufferImageCopy(ResourceTracker * resourceTracker,VkBufferImageCopy * toTransform)2429 void transform_tohost_VkBufferImageCopy(
2430 ResourceTracker* resourceTracker,
2431 VkBufferImageCopy* toTransform)
2432 {
2433 (void)resourceTracker;
2434 (void)toTransform;
2435 transform_tohost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
2436 transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
2437 transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
2438 }
2439
transform_fromhost_VkBufferImageCopy(ResourceTracker * resourceTracker,VkBufferImageCopy * toTransform)2440 void transform_fromhost_VkBufferImageCopy(
2441 ResourceTracker* resourceTracker,
2442 VkBufferImageCopy* toTransform)
2443 {
2444 (void)resourceTracker;
2445 (void)toTransform;
2446 transform_fromhost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
2447 transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
2448 transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
2449 }
2450
transform_tohost_VkClearColorValue(ResourceTracker * resourceTracker,VkClearColorValue * toTransform)2451 void transform_tohost_VkClearColorValue(
2452 ResourceTracker* resourceTracker,
2453 VkClearColorValue* toTransform)
2454 {
2455 (void)resourceTracker;
2456 (void)toTransform;
2457 }
2458
transform_fromhost_VkClearColorValue(ResourceTracker * resourceTracker,VkClearColorValue * toTransform)2459 void transform_fromhost_VkClearColorValue(
2460 ResourceTracker* resourceTracker,
2461 VkClearColorValue* toTransform)
2462 {
2463 (void)resourceTracker;
2464 (void)toTransform;
2465 }
2466
transform_tohost_VkClearDepthStencilValue(ResourceTracker * resourceTracker,VkClearDepthStencilValue * toTransform)2467 void transform_tohost_VkClearDepthStencilValue(
2468 ResourceTracker* resourceTracker,
2469 VkClearDepthStencilValue* toTransform)
2470 {
2471 (void)resourceTracker;
2472 (void)toTransform;
2473 }
2474
transform_fromhost_VkClearDepthStencilValue(ResourceTracker * resourceTracker,VkClearDepthStencilValue * toTransform)2475 void transform_fromhost_VkClearDepthStencilValue(
2476 ResourceTracker* resourceTracker,
2477 VkClearDepthStencilValue* toTransform)
2478 {
2479 (void)resourceTracker;
2480 (void)toTransform;
2481 }
2482
transform_tohost_VkClearValue(ResourceTracker * resourceTracker,VkClearValue * toTransform)2483 void transform_tohost_VkClearValue(
2484 ResourceTracker* resourceTracker,
2485 VkClearValue* toTransform)
2486 {
2487 (void)resourceTracker;
2488 (void)toTransform;
2489 transform_tohost_VkClearColorValue(resourceTracker, (VkClearColorValue*)(&toTransform->color));
2490 transform_tohost_VkClearDepthStencilValue(resourceTracker, (VkClearDepthStencilValue*)(&toTransform->depthStencil));
2491 }
2492
transform_fromhost_VkClearValue(ResourceTracker * resourceTracker,VkClearValue * toTransform)2493 void transform_fromhost_VkClearValue(
2494 ResourceTracker* resourceTracker,
2495 VkClearValue* toTransform)
2496 {
2497 (void)resourceTracker;
2498 (void)toTransform;
2499 transform_fromhost_VkClearColorValue(resourceTracker, (VkClearColorValue*)(&toTransform->color));
2500 transform_fromhost_VkClearDepthStencilValue(resourceTracker, (VkClearDepthStencilValue*)(&toTransform->depthStencil));
2501 }
2502
transform_tohost_VkClearAttachment(ResourceTracker * resourceTracker,VkClearAttachment * toTransform)2503 void transform_tohost_VkClearAttachment(
2504 ResourceTracker* resourceTracker,
2505 VkClearAttachment* toTransform)
2506 {
2507 (void)resourceTracker;
2508 (void)toTransform;
2509 transform_tohost_VkClearValue(resourceTracker, (VkClearValue*)(&toTransform->clearValue));
2510 }
2511
transform_fromhost_VkClearAttachment(ResourceTracker * resourceTracker,VkClearAttachment * toTransform)2512 void transform_fromhost_VkClearAttachment(
2513 ResourceTracker* resourceTracker,
2514 VkClearAttachment* toTransform)
2515 {
2516 (void)resourceTracker;
2517 (void)toTransform;
2518 transform_fromhost_VkClearValue(resourceTracker, (VkClearValue*)(&toTransform->clearValue));
2519 }
2520
transform_tohost_VkClearRect(ResourceTracker * resourceTracker,VkClearRect * toTransform)2521 void transform_tohost_VkClearRect(
2522 ResourceTracker* resourceTracker,
2523 VkClearRect* toTransform)
2524 {
2525 (void)resourceTracker;
2526 (void)toTransform;
2527 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->rect));
2528 }
2529
transform_fromhost_VkClearRect(ResourceTracker * resourceTracker,VkClearRect * toTransform)2530 void transform_fromhost_VkClearRect(
2531 ResourceTracker* resourceTracker,
2532 VkClearRect* toTransform)
2533 {
2534 (void)resourceTracker;
2535 (void)toTransform;
2536 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->rect));
2537 }
2538
transform_tohost_VkImageResolve(ResourceTracker * resourceTracker,VkImageResolve * toTransform)2539 void transform_tohost_VkImageResolve(
2540 ResourceTracker* resourceTracker,
2541 VkImageResolve* toTransform)
2542 {
2543 (void)resourceTracker;
2544 (void)toTransform;
2545 transform_tohost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2546 transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
2547 transform_tohost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2548 transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
2549 transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
2550 }
2551
transform_fromhost_VkImageResolve(ResourceTracker * resourceTracker,VkImageResolve * toTransform)2552 void transform_fromhost_VkImageResolve(
2553 ResourceTracker* resourceTracker,
2554 VkImageResolve* toTransform)
2555 {
2556 (void)resourceTracker;
2557 (void)toTransform;
2558 transform_fromhost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2559 transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
2560 transform_fromhost_VkImageSubresourceLayers(resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2561 transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
2562 transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
2563 }
2564
transform_tohost_VkMemoryBarrier(ResourceTracker * resourceTracker,VkMemoryBarrier * toTransform)2565 void transform_tohost_VkMemoryBarrier(
2566 ResourceTracker* resourceTracker,
2567 VkMemoryBarrier* toTransform)
2568 {
2569 (void)resourceTracker;
2570 (void)toTransform;
2571 if (toTransform->pNext)
2572 {
2573 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2574 }
2575 }
2576
transform_fromhost_VkMemoryBarrier(ResourceTracker * resourceTracker,VkMemoryBarrier * toTransform)2577 void transform_fromhost_VkMemoryBarrier(
2578 ResourceTracker* resourceTracker,
2579 VkMemoryBarrier* toTransform)
2580 {
2581 (void)resourceTracker;
2582 (void)toTransform;
2583 if (toTransform->pNext)
2584 {
2585 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2586 }
2587 }
2588
transform_tohost_VkBufferMemoryBarrier(ResourceTracker * resourceTracker,VkBufferMemoryBarrier * toTransform)2589 void transform_tohost_VkBufferMemoryBarrier(
2590 ResourceTracker* resourceTracker,
2591 VkBufferMemoryBarrier* toTransform)
2592 {
2593 (void)resourceTracker;
2594 (void)toTransform;
2595 if (toTransform->pNext)
2596 {
2597 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2598 }
2599 }
2600
transform_fromhost_VkBufferMemoryBarrier(ResourceTracker * resourceTracker,VkBufferMemoryBarrier * toTransform)2601 void transform_fromhost_VkBufferMemoryBarrier(
2602 ResourceTracker* resourceTracker,
2603 VkBufferMemoryBarrier* toTransform)
2604 {
2605 (void)resourceTracker;
2606 (void)toTransform;
2607 if (toTransform->pNext)
2608 {
2609 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2610 }
2611 }
2612
transform_tohost_VkImageMemoryBarrier(ResourceTracker * resourceTracker,VkImageMemoryBarrier * toTransform)2613 void transform_tohost_VkImageMemoryBarrier(
2614 ResourceTracker* resourceTracker,
2615 VkImageMemoryBarrier* toTransform)
2616 {
2617 (void)resourceTracker;
2618 (void)toTransform;
2619 if (toTransform->pNext)
2620 {
2621 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2622 }
2623 transform_tohost_VkImageSubresourceRange(resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
2624 }
2625
transform_fromhost_VkImageMemoryBarrier(ResourceTracker * resourceTracker,VkImageMemoryBarrier * toTransform)2626 void transform_fromhost_VkImageMemoryBarrier(
2627 ResourceTracker* resourceTracker,
2628 VkImageMemoryBarrier* toTransform)
2629 {
2630 (void)resourceTracker;
2631 (void)toTransform;
2632 if (toTransform->pNext)
2633 {
2634 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2635 }
2636 transform_fromhost_VkImageSubresourceRange(resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
2637 }
2638
transform_tohost_VkRenderPassBeginInfo(ResourceTracker * resourceTracker,VkRenderPassBeginInfo * toTransform)2639 void transform_tohost_VkRenderPassBeginInfo(
2640 ResourceTracker* resourceTracker,
2641 VkRenderPassBeginInfo* toTransform)
2642 {
2643 (void)resourceTracker;
2644 (void)toTransform;
2645 if (toTransform->pNext)
2646 {
2647 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2648 }
2649 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea));
2650 if (toTransform->pClearValues)
2651 {
2652 for (uint32_t i = 0; i < (uint32_t)toTransform->clearValueCount; ++i)
2653 {
2654 transform_tohost_VkClearValue(resourceTracker, (VkClearValue*)(toTransform->pClearValues + i));
2655 }
2656 }
2657 }
2658
transform_fromhost_VkRenderPassBeginInfo(ResourceTracker * resourceTracker,VkRenderPassBeginInfo * toTransform)2659 void transform_fromhost_VkRenderPassBeginInfo(
2660 ResourceTracker* resourceTracker,
2661 VkRenderPassBeginInfo* toTransform)
2662 {
2663 (void)resourceTracker;
2664 (void)toTransform;
2665 if (toTransform->pNext)
2666 {
2667 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2668 }
2669 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea));
2670 if (toTransform->pClearValues)
2671 {
2672 for (uint32_t i = 0; i < (uint32_t)toTransform->clearValueCount; ++i)
2673 {
2674 transform_fromhost_VkClearValue(resourceTracker, (VkClearValue*)(toTransform->pClearValues + i));
2675 }
2676 }
2677 }
2678
transform_tohost_VkDispatchIndirectCommand(ResourceTracker * resourceTracker,VkDispatchIndirectCommand * toTransform)2679 void transform_tohost_VkDispatchIndirectCommand(
2680 ResourceTracker* resourceTracker,
2681 VkDispatchIndirectCommand* toTransform)
2682 {
2683 (void)resourceTracker;
2684 (void)toTransform;
2685 }
2686
transform_fromhost_VkDispatchIndirectCommand(ResourceTracker * resourceTracker,VkDispatchIndirectCommand * toTransform)2687 void transform_fromhost_VkDispatchIndirectCommand(
2688 ResourceTracker* resourceTracker,
2689 VkDispatchIndirectCommand* toTransform)
2690 {
2691 (void)resourceTracker;
2692 (void)toTransform;
2693 }
2694
transform_tohost_VkDrawIndexedIndirectCommand(ResourceTracker * resourceTracker,VkDrawIndexedIndirectCommand * toTransform)2695 void transform_tohost_VkDrawIndexedIndirectCommand(
2696 ResourceTracker* resourceTracker,
2697 VkDrawIndexedIndirectCommand* toTransform)
2698 {
2699 (void)resourceTracker;
2700 (void)toTransform;
2701 }
2702
transform_fromhost_VkDrawIndexedIndirectCommand(ResourceTracker * resourceTracker,VkDrawIndexedIndirectCommand * toTransform)2703 void transform_fromhost_VkDrawIndexedIndirectCommand(
2704 ResourceTracker* resourceTracker,
2705 VkDrawIndexedIndirectCommand* toTransform)
2706 {
2707 (void)resourceTracker;
2708 (void)toTransform;
2709 }
2710
transform_tohost_VkDrawIndirectCommand(ResourceTracker * resourceTracker,VkDrawIndirectCommand * toTransform)2711 void transform_tohost_VkDrawIndirectCommand(
2712 ResourceTracker* resourceTracker,
2713 VkDrawIndirectCommand* toTransform)
2714 {
2715 (void)resourceTracker;
2716 (void)toTransform;
2717 }
2718
transform_fromhost_VkDrawIndirectCommand(ResourceTracker * resourceTracker,VkDrawIndirectCommand * toTransform)2719 void transform_fromhost_VkDrawIndirectCommand(
2720 ResourceTracker* resourceTracker,
2721 VkDrawIndirectCommand* toTransform)
2722 {
2723 (void)resourceTracker;
2724 (void)toTransform;
2725 }
2726
transform_tohost_VkBaseOutStructure(ResourceTracker * resourceTracker,VkBaseOutStructure * toTransform)2727 void transform_tohost_VkBaseOutStructure(
2728 ResourceTracker* resourceTracker,
2729 VkBaseOutStructure* toTransform)
2730 {
2731 (void)resourceTracker;
2732 (void)toTransform;
2733 if (toTransform->pNext)
2734 {
2735 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2736 }
2737 }
2738
transform_fromhost_VkBaseOutStructure(ResourceTracker * resourceTracker,VkBaseOutStructure * toTransform)2739 void transform_fromhost_VkBaseOutStructure(
2740 ResourceTracker* resourceTracker,
2741 VkBaseOutStructure* toTransform)
2742 {
2743 (void)resourceTracker;
2744 (void)toTransform;
2745 if (toTransform->pNext)
2746 {
2747 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2748 }
2749 }
2750
transform_tohost_VkBaseInStructure(ResourceTracker * resourceTracker,VkBaseInStructure * toTransform)2751 void transform_tohost_VkBaseInStructure(
2752 ResourceTracker* resourceTracker,
2753 VkBaseInStructure* toTransform)
2754 {
2755 (void)resourceTracker;
2756 (void)toTransform;
2757 if (toTransform->pNext)
2758 {
2759 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2760 }
2761 }
2762
transform_fromhost_VkBaseInStructure(ResourceTracker * resourceTracker,VkBaseInStructure * toTransform)2763 void transform_fromhost_VkBaseInStructure(
2764 ResourceTracker* resourceTracker,
2765 VkBaseInStructure* toTransform)
2766 {
2767 (void)resourceTracker;
2768 (void)toTransform;
2769 if (toTransform->pNext)
2770 {
2771 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2772 }
2773 }
2774
2775 #endif
2776 #ifdef VK_VERSION_1_1
transform_tohost_VkPhysicalDeviceSubgroupProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceSubgroupProperties * toTransform)2777 void transform_tohost_VkPhysicalDeviceSubgroupProperties(
2778 ResourceTracker* resourceTracker,
2779 VkPhysicalDeviceSubgroupProperties* toTransform)
2780 {
2781 (void)resourceTracker;
2782 (void)toTransform;
2783 if (toTransform->pNext)
2784 {
2785 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2786 }
2787 }
2788
transform_fromhost_VkPhysicalDeviceSubgroupProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceSubgroupProperties * toTransform)2789 void transform_fromhost_VkPhysicalDeviceSubgroupProperties(
2790 ResourceTracker* resourceTracker,
2791 VkPhysicalDeviceSubgroupProperties* toTransform)
2792 {
2793 (void)resourceTracker;
2794 (void)toTransform;
2795 if (toTransform->pNext)
2796 {
2797 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2798 }
2799 }
2800
transform_tohost_VkBindBufferMemoryInfo(ResourceTracker * resourceTracker,VkBindBufferMemoryInfo * toTransform)2801 void transform_tohost_VkBindBufferMemoryInfo(
2802 ResourceTracker* resourceTracker,
2803 VkBindBufferMemoryInfo* toTransform)
2804 {
2805 (void)resourceTracker;
2806 (void)toTransform;
2807 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
2808 if (toTransform->pNext)
2809 {
2810 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2811 }
2812 }
2813
transform_fromhost_VkBindBufferMemoryInfo(ResourceTracker * resourceTracker,VkBindBufferMemoryInfo * toTransform)2814 void transform_fromhost_VkBindBufferMemoryInfo(
2815 ResourceTracker* resourceTracker,
2816 VkBindBufferMemoryInfo* toTransform)
2817 {
2818 (void)resourceTracker;
2819 (void)toTransform;
2820 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
2821 if (toTransform->pNext)
2822 {
2823 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2824 }
2825 }
2826
transform_tohost_VkBindImageMemoryInfo(ResourceTracker * resourceTracker,VkBindImageMemoryInfo * toTransform)2827 void transform_tohost_VkBindImageMemoryInfo(
2828 ResourceTracker* resourceTracker,
2829 VkBindImageMemoryInfo* toTransform)
2830 {
2831 (void)resourceTracker;
2832 (void)toTransform;
2833 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
2834 if (toTransform->pNext)
2835 {
2836 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2837 }
2838 }
2839
transform_fromhost_VkBindImageMemoryInfo(ResourceTracker * resourceTracker,VkBindImageMemoryInfo * toTransform)2840 void transform_fromhost_VkBindImageMemoryInfo(
2841 ResourceTracker* resourceTracker,
2842 VkBindImageMemoryInfo* toTransform)
2843 {
2844 (void)resourceTracker;
2845 (void)toTransform;
2846 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
2847 if (toTransform->pNext)
2848 {
2849 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2850 }
2851 }
2852
transform_tohost_VkPhysicalDevice16BitStorageFeatures(ResourceTracker * resourceTracker,VkPhysicalDevice16BitStorageFeatures * toTransform)2853 void transform_tohost_VkPhysicalDevice16BitStorageFeatures(
2854 ResourceTracker* resourceTracker,
2855 VkPhysicalDevice16BitStorageFeatures* toTransform)
2856 {
2857 (void)resourceTracker;
2858 (void)toTransform;
2859 if (toTransform->pNext)
2860 {
2861 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2862 }
2863 }
2864
transform_fromhost_VkPhysicalDevice16BitStorageFeatures(ResourceTracker * resourceTracker,VkPhysicalDevice16BitStorageFeatures * toTransform)2865 void transform_fromhost_VkPhysicalDevice16BitStorageFeatures(
2866 ResourceTracker* resourceTracker,
2867 VkPhysicalDevice16BitStorageFeatures* toTransform)
2868 {
2869 (void)resourceTracker;
2870 (void)toTransform;
2871 if (toTransform->pNext)
2872 {
2873 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2874 }
2875 }
2876
transform_tohost_VkMemoryDedicatedRequirements(ResourceTracker * resourceTracker,VkMemoryDedicatedRequirements * toTransform)2877 void transform_tohost_VkMemoryDedicatedRequirements(
2878 ResourceTracker* resourceTracker,
2879 VkMemoryDedicatedRequirements* toTransform)
2880 {
2881 (void)resourceTracker;
2882 (void)toTransform;
2883 if (toTransform->pNext)
2884 {
2885 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2886 }
2887 }
2888
transform_fromhost_VkMemoryDedicatedRequirements(ResourceTracker * resourceTracker,VkMemoryDedicatedRequirements * toTransform)2889 void transform_fromhost_VkMemoryDedicatedRequirements(
2890 ResourceTracker* resourceTracker,
2891 VkMemoryDedicatedRequirements* toTransform)
2892 {
2893 (void)resourceTracker;
2894 (void)toTransform;
2895 if (toTransform->pNext)
2896 {
2897 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2898 }
2899 }
2900
transform_tohost_VkMemoryDedicatedAllocateInfo(ResourceTracker * resourceTracker,VkMemoryDedicatedAllocateInfo * toTransform)2901 void transform_tohost_VkMemoryDedicatedAllocateInfo(
2902 ResourceTracker* resourceTracker,
2903 VkMemoryDedicatedAllocateInfo* toTransform)
2904 {
2905 (void)resourceTracker;
2906 (void)toTransform;
2907 if (toTransform->pNext)
2908 {
2909 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2910 }
2911 }
2912
transform_fromhost_VkMemoryDedicatedAllocateInfo(ResourceTracker * resourceTracker,VkMemoryDedicatedAllocateInfo * toTransform)2913 void transform_fromhost_VkMemoryDedicatedAllocateInfo(
2914 ResourceTracker* resourceTracker,
2915 VkMemoryDedicatedAllocateInfo* toTransform)
2916 {
2917 (void)resourceTracker;
2918 (void)toTransform;
2919 if (toTransform->pNext)
2920 {
2921 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2922 }
2923 }
2924
transform_tohost_VkMemoryAllocateFlagsInfo(ResourceTracker * resourceTracker,VkMemoryAllocateFlagsInfo * toTransform)2925 void transform_tohost_VkMemoryAllocateFlagsInfo(
2926 ResourceTracker* resourceTracker,
2927 VkMemoryAllocateFlagsInfo* toTransform)
2928 {
2929 (void)resourceTracker;
2930 (void)toTransform;
2931 if (toTransform->pNext)
2932 {
2933 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2934 }
2935 }
2936
transform_fromhost_VkMemoryAllocateFlagsInfo(ResourceTracker * resourceTracker,VkMemoryAllocateFlagsInfo * toTransform)2937 void transform_fromhost_VkMemoryAllocateFlagsInfo(
2938 ResourceTracker* resourceTracker,
2939 VkMemoryAllocateFlagsInfo* toTransform)
2940 {
2941 (void)resourceTracker;
2942 (void)toTransform;
2943 if (toTransform->pNext)
2944 {
2945 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2946 }
2947 }
2948
transform_tohost_VkDeviceGroupRenderPassBeginInfo(ResourceTracker * resourceTracker,VkDeviceGroupRenderPassBeginInfo * toTransform)2949 void transform_tohost_VkDeviceGroupRenderPassBeginInfo(
2950 ResourceTracker* resourceTracker,
2951 VkDeviceGroupRenderPassBeginInfo* toTransform)
2952 {
2953 (void)resourceTracker;
2954 (void)toTransform;
2955 if (toTransform->pNext)
2956 {
2957 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2958 }
2959 if (toTransform->pDeviceRenderAreas)
2960 {
2961 for (uint32_t i = 0; i < (uint32_t)toTransform->deviceRenderAreaCount; ++i)
2962 {
2963 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pDeviceRenderAreas + i));
2964 }
2965 }
2966 }
2967
transform_fromhost_VkDeviceGroupRenderPassBeginInfo(ResourceTracker * resourceTracker,VkDeviceGroupRenderPassBeginInfo * toTransform)2968 void transform_fromhost_VkDeviceGroupRenderPassBeginInfo(
2969 ResourceTracker* resourceTracker,
2970 VkDeviceGroupRenderPassBeginInfo* toTransform)
2971 {
2972 (void)resourceTracker;
2973 (void)toTransform;
2974 if (toTransform->pNext)
2975 {
2976 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2977 }
2978 if (toTransform->pDeviceRenderAreas)
2979 {
2980 for (uint32_t i = 0; i < (uint32_t)toTransform->deviceRenderAreaCount; ++i)
2981 {
2982 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pDeviceRenderAreas + i));
2983 }
2984 }
2985 }
2986
transform_tohost_VkDeviceGroupCommandBufferBeginInfo(ResourceTracker * resourceTracker,VkDeviceGroupCommandBufferBeginInfo * toTransform)2987 void transform_tohost_VkDeviceGroupCommandBufferBeginInfo(
2988 ResourceTracker* resourceTracker,
2989 VkDeviceGroupCommandBufferBeginInfo* toTransform)
2990 {
2991 (void)resourceTracker;
2992 (void)toTransform;
2993 if (toTransform->pNext)
2994 {
2995 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2996 }
2997 }
2998
transform_fromhost_VkDeviceGroupCommandBufferBeginInfo(ResourceTracker * resourceTracker,VkDeviceGroupCommandBufferBeginInfo * toTransform)2999 void transform_fromhost_VkDeviceGroupCommandBufferBeginInfo(
3000 ResourceTracker* resourceTracker,
3001 VkDeviceGroupCommandBufferBeginInfo* toTransform)
3002 {
3003 (void)resourceTracker;
3004 (void)toTransform;
3005 if (toTransform->pNext)
3006 {
3007 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3008 }
3009 }
3010
transform_tohost_VkDeviceGroupSubmitInfo(ResourceTracker * resourceTracker,VkDeviceGroupSubmitInfo * toTransform)3011 void transform_tohost_VkDeviceGroupSubmitInfo(
3012 ResourceTracker* resourceTracker,
3013 VkDeviceGroupSubmitInfo* toTransform)
3014 {
3015 (void)resourceTracker;
3016 (void)toTransform;
3017 if (toTransform->pNext)
3018 {
3019 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3020 }
3021 }
3022
transform_fromhost_VkDeviceGroupSubmitInfo(ResourceTracker * resourceTracker,VkDeviceGroupSubmitInfo * toTransform)3023 void transform_fromhost_VkDeviceGroupSubmitInfo(
3024 ResourceTracker* resourceTracker,
3025 VkDeviceGroupSubmitInfo* toTransform)
3026 {
3027 (void)resourceTracker;
3028 (void)toTransform;
3029 if (toTransform->pNext)
3030 {
3031 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3032 }
3033 }
3034
transform_tohost_VkDeviceGroupBindSparseInfo(ResourceTracker * resourceTracker,VkDeviceGroupBindSparseInfo * toTransform)3035 void transform_tohost_VkDeviceGroupBindSparseInfo(
3036 ResourceTracker* resourceTracker,
3037 VkDeviceGroupBindSparseInfo* toTransform)
3038 {
3039 (void)resourceTracker;
3040 (void)toTransform;
3041 if (toTransform->pNext)
3042 {
3043 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3044 }
3045 }
3046
transform_fromhost_VkDeviceGroupBindSparseInfo(ResourceTracker * resourceTracker,VkDeviceGroupBindSparseInfo * toTransform)3047 void transform_fromhost_VkDeviceGroupBindSparseInfo(
3048 ResourceTracker* resourceTracker,
3049 VkDeviceGroupBindSparseInfo* toTransform)
3050 {
3051 (void)resourceTracker;
3052 (void)toTransform;
3053 if (toTransform->pNext)
3054 {
3055 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3056 }
3057 }
3058
transform_tohost_VkBindBufferMemoryDeviceGroupInfo(ResourceTracker * resourceTracker,VkBindBufferMemoryDeviceGroupInfo * toTransform)3059 void transform_tohost_VkBindBufferMemoryDeviceGroupInfo(
3060 ResourceTracker* resourceTracker,
3061 VkBindBufferMemoryDeviceGroupInfo* toTransform)
3062 {
3063 (void)resourceTracker;
3064 (void)toTransform;
3065 if (toTransform->pNext)
3066 {
3067 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3068 }
3069 }
3070
transform_fromhost_VkBindBufferMemoryDeviceGroupInfo(ResourceTracker * resourceTracker,VkBindBufferMemoryDeviceGroupInfo * toTransform)3071 void transform_fromhost_VkBindBufferMemoryDeviceGroupInfo(
3072 ResourceTracker* resourceTracker,
3073 VkBindBufferMemoryDeviceGroupInfo* toTransform)
3074 {
3075 (void)resourceTracker;
3076 (void)toTransform;
3077 if (toTransform->pNext)
3078 {
3079 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3080 }
3081 }
3082
transform_tohost_VkBindImageMemoryDeviceGroupInfo(ResourceTracker * resourceTracker,VkBindImageMemoryDeviceGroupInfo * toTransform)3083 void transform_tohost_VkBindImageMemoryDeviceGroupInfo(
3084 ResourceTracker* resourceTracker,
3085 VkBindImageMemoryDeviceGroupInfo* toTransform)
3086 {
3087 (void)resourceTracker;
3088 (void)toTransform;
3089 if (toTransform->pNext)
3090 {
3091 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3092 }
3093 if (toTransform->pSplitInstanceBindRegions)
3094 {
3095 for (uint32_t i = 0; i < (uint32_t)toTransform->splitInstanceBindRegionCount; ++i)
3096 {
3097 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pSplitInstanceBindRegions + i));
3098 }
3099 }
3100 }
3101
transform_fromhost_VkBindImageMemoryDeviceGroupInfo(ResourceTracker * resourceTracker,VkBindImageMemoryDeviceGroupInfo * toTransform)3102 void transform_fromhost_VkBindImageMemoryDeviceGroupInfo(
3103 ResourceTracker* resourceTracker,
3104 VkBindImageMemoryDeviceGroupInfo* toTransform)
3105 {
3106 (void)resourceTracker;
3107 (void)toTransform;
3108 if (toTransform->pNext)
3109 {
3110 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3111 }
3112 if (toTransform->pSplitInstanceBindRegions)
3113 {
3114 for (uint32_t i = 0; i < (uint32_t)toTransform->splitInstanceBindRegionCount; ++i)
3115 {
3116 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pSplitInstanceBindRegions + i));
3117 }
3118 }
3119 }
3120
transform_tohost_VkPhysicalDeviceGroupProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceGroupProperties * toTransform)3121 void transform_tohost_VkPhysicalDeviceGroupProperties(
3122 ResourceTracker* resourceTracker,
3123 VkPhysicalDeviceGroupProperties* toTransform)
3124 {
3125 (void)resourceTracker;
3126 (void)toTransform;
3127 if (toTransform->pNext)
3128 {
3129 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3130 }
3131 }
3132
transform_fromhost_VkPhysicalDeviceGroupProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceGroupProperties * toTransform)3133 void transform_fromhost_VkPhysicalDeviceGroupProperties(
3134 ResourceTracker* resourceTracker,
3135 VkPhysicalDeviceGroupProperties* toTransform)
3136 {
3137 (void)resourceTracker;
3138 (void)toTransform;
3139 if (toTransform->pNext)
3140 {
3141 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3142 }
3143 }
3144
transform_tohost_VkDeviceGroupDeviceCreateInfo(ResourceTracker * resourceTracker,VkDeviceGroupDeviceCreateInfo * toTransform)3145 void transform_tohost_VkDeviceGroupDeviceCreateInfo(
3146 ResourceTracker* resourceTracker,
3147 VkDeviceGroupDeviceCreateInfo* toTransform)
3148 {
3149 (void)resourceTracker;
3150 (void)toTransform;
3151 if (toTransform->pNext)
3152 {
3153 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3154 }
3155 }
3156
transform_fromhost_VkDeviceGroupDeviceCreateInfo(ResourceTracker * resourceTracker,VkDeviceGroupDeviceCreateInfo * toTransform)3157 void transform_fromhost_VkDeviceGroupDeviceCreateInfo(
3158 ResourceTracker* resourceTracker,
3159 VkDeviceGroupDeviceCreateInfo* toTransform)
3160 {
3161 (void)resourceTracker;
3162 (void)toTransform;
3163 if (toTransform->pNext)
3164 {
3165 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3166 }
3167 }
3168
transform_tohost_VkBufferMemoryRequirementsInfo2(ResourceTracker * resourceTracker,VkBufferMemoryRequirementsInfo2 * toTransform)3169 void transform_tohost_VkBufferMemoryRequirementsInfo2(
3170 ResourceTracker* resourceTracker,
3171 VkBufferMemoryRequirementsInfo2* toTransform)
3172 {
3173 (void)resourceTracker;
3174 (void)toTransform;
3175 if (toTransform->pNext)
3176 {
3177 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3178 }
3179 }
3180
transform_fromhost_VkBufferMemoryRequirementsInfo2(ResourceTracker * resourceTracker,VkBufferMemoryRequirementsInfo2 * toTransform)3181 void transform_fromhost_VkBufferMemoryRequirementsInfo2(
3182 ResourceTracker* resourceTracker,
3183 VkBufferMemoryRequirementsInfo2* toTransform)
3184 {
3185 (void)resourceTracker;
3186 (void)toTransform;
3187 if (toTransform->pNext)
3188 {
3189 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3190 }
3191 }
3192
transform_tohost_VkImageMemoryRequirementsInfo2(ResourceTracker * resourceTracker,VkImageMemoryRequirementsInfo2 * toTransform)3193 void transform_tohost_VkImageMemoryRequirementsInfo2(
3194 ResourceTracker* resourceTracker,
3195 VkImageMemoryRequirementsInfo2* toTransform)
3196 {
3197 (void)resourceTracker;
3198 (void)toTransform;
3199 if (toTransform->pNext)
3200 {
3201 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3202 }
3203 }
3204
transform_fromhost_VkImageMemoryRequirementsInfo2(ResourceTracker * resourceTracker,VkImageMemoryRequirementsInfo2 * toTransform)3205 void transform_fromhost_VkImageMemoryRequirementsInfo2(
3206 ResourceTracker* resourceTracker,
3207 VkImageMemoryRequirementsInfo2* toTransform)
3208 {
3209 (void)resourceTracker;
3210 (void)toTransform;
3211 if (toTransform->pNext)
3212 {
3213 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3214 }
3215 }
3216
transform_tohost_VkImageSparseMemoryRequirementsInfo2(ResourceTracker * resourceTracker,VkImageSparseMemoryRequirementsInfo2 * toTransform)3217 void transform_tohost_VkImageSparseMemoryRequirementsInfo2(
3218 ResourceTracker* resourceTracker,
3219 VkImageSparseMemoryRequirementsInfo2* toTransform)
3220 {
3221 (void)resourceTracker;
3222 (void)toTransform;
3223 if (toTransform->pNext)
3224 {
3225 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3226 }
3227 }
3228
transform_fromhost_VkImageSparseMemoryRequirementsInfo2(ResourceTracker * resourceTracker,VkImageSparseMemoryRequirementsInfo2 * toTransform)3229 void transform_fromhost_VkImageSparseMemoryRequirementsInfo2(
3230 ResourceTracker* resourceTracker,
3231 VkImageSparseMemoryRequirementsInfo2* toTransform)
3232 {
3233 (void)resourceTracker;
3234 (void)toTransform;
3235 if (toTransform->pNext)
3236 {
3237 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3238 }
3239 }
3240
transform_tohost_VkMemoryRequirements2(ResourceTracker * resourceTracker,VkMemoryRequirements2 * toTransform)3241 void transform_tohost_VkMemoryRequirements2(
3242 ResourceTracker* resourceTracker,
3243 VkMemoryRequirements2* toTransform)
3244 {
3245 (void)resourceTracker;
3246 (void)toTransform;
3247 if (toTransform->pNext)
3248 {
3249 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3250 }
3251 transform_tohost_VkMemoryRequirements(resourceTracker, (VkMemoryRequirements*)(&toTransform->memoryRequirements));
3252 }
3253
transform_fromhost_VkMemoryRequirements2(ResourceTracker * resourceTracker,VkMemoryRequirements2 * toTransform)3254 void transform_fromhost_VkMemoryRequirements2(
3255 ResourceTracker* resourceTracker,
3256 VkMemoryRequirements2* toTransform)
3257 {
3258 (void)resourceTracker;
3259 (void)toTransform;
3260 if (toTransform->pNext)
3261 {
3262 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3263 }
3264 transform_fromhost_VkMemoryRequirements(resourceTracker, (VkMemoryRequirements*)(&toTransform->memoryRequirements));
3265 }
3266
transform_tohost_VkSparseImageMemoryRequirements2(ResourceTracker * resourceTracker,VkSparseImageMemoryRequirements2 * toTransform)3267 void transform_tohost_VkSparseImageMemoryRequirements2(
3268 ResourceTracker* resourceTracker,
3269 VkSparseImageMemoryRequirements2* toTransform)
3270 {
3271 (void)resourceTracker;
3272 (void)toTransform;
3273 if (toTransform->pNext)
3274 {
3275 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3276 }
3277 transform_tohost_VkSparseImageMemoryRequirements(resourceTracker, (VkSparseImageMemoryRequirements*)(&toTransform->memoryRequirements));
3278 }
3279
transform_fromhost_VkSparseImageMemoryRequirements2(ResourceTracker * resourceTracker,VkSparseImageMemoryRequirements2 * toTransform)3280 void transform_fromhost_VkSparseImageMemoryRequirements2(
3281 ResourceTracker* resourceTracker,
3282 VkSparseImageMemoryRequirements2* toTransform)
3283 {
3284 (void)resourceTracker;
3285 (void)toTransform;
3286 if (toTransform->pNext)
3287 {
3288 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3289 }
3290 transform_fromhost_VkSparseImageMemoryRequirements(resourceTracker, (VkSparseImageMemoryRequirements*)(&toTransform->memoryRequirements));
3291 }
3292
transform_tohost_VkPhysicalDeviceFeatures2(ResourceTracker * resourceTracker,VkPhysicalDeviceFeatures2 * toTransform)3293 void transform_tohost_VkPhysicalDeviceFeatures2(
3294 ResourceTracker* resourceTracker,
3295 VkPhysicalDeviceFeatures2* toTransform)
3296 {
3297 (void)resourceTracker;
3298 (void)toTransform;
3299 if (toTransform->pNext)
3300 {
3301 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3302 }
3303 transform_tohost_VkPhysicalDeviceFeatures(resourceTracker, (VkPhysicalDeviceFeatures*)(&toTransform->features));
3304 }
3305
transform_fromhost_VkPhysicalDeviceFeatures2(ResourceTracker * resourceTracker,VkPhysicalDeviceFeatures2 * toTransform)3306 void transform_fromhost_VkPhysicalDeviceFeatures2(
3307 ResourceTracker* resourceTracker,
3308 VkPhysicalDeviceFeatures2* toTransform)
3309 {
3310 (void)resourceTracker;
3311 (void)toTransform;
3312 if (toTransform->pNext)
3313 {
3314 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3315 }
3316 transform_fromhost_VkPhysicalDeviceFeatures(resourceTracker, (VkPhysicalDeviceFeatures*)(&toTransform->features));
3317 }
3318
transform_tohost_VkPhysicalDeviceProperties2(ResourceTracker * resourceTracker,VkPhysicalDeviceProperties2 * toTransform)3319 void transform_tohost_VkPhysicalDeviceProperties2(
3320 ResourceTracker* resourceTracker,
3321 VkPhysicalDeviceProperties2* toTransform)
3322 {
3323 (void)resourceTracker;
3324 (void)toTransform;
3325 if (toTransform->pNext)
3326 {
3327 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3328 }
3329 transform_tohost_VkPhysicalDeviceProperties(resourceTracker, (VkPhysicalDeviceProperties*)(&toTransform->properties));
3330 }
3331
transform_fromhost_VkPhysicalDeviceProperties2(ResourceTracker * resourceTracker,VkPhysicalDeviceProperties2 * toTransform)3332 void transform_fromhost_VkPhysicalDeviceProperties2(
3333 ResourceTracker* resourceTracker,
3334 VkPhysicalDeviceProperties2* toTransform)
3335 {
3336 (void)resourceTracker;
3337 (void)toTransform;
3338 if (toTransform->pNext)
3339 {
3340 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3341 }
3342 transform_fromhost_VkPhysicalDeviceProperties(resourceTracker, (VkPhysicalDeviceProperties*)(&toTransform->properties));
3343 }
3344
transform_tohost_VkFormatProperties2(ResourceTracker * resourceTracker,VkFormatProperties2 * toTransform)3345 void transform_tohost_VkFormatProperties2(
3346 ResourceTracker* resourceTracker,
3347 VkFormatProperties2* toTransform)
3348 {
3349 (void)resourceTracker;
3350 (void)toTransform;
3351 if (toTransform->pNext)
3352 {
3353 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3354 }
3355 transform_tohost_VkFormatProperties(resourceTracker, (VkFormatProperties*)(&toTransform->formatProperties));
3356 }
3357
transform_fromhost_VkFormatProperties2(ResourceTracker * resourceTracker,VkFormatProperties2 * toTransform)3358 void transform_fromhost_VkFormatProperties2(
3359 ResourceTracker* resourceTracker,
3360 VkFormatProperties2* toTransform)
3361 {
3362 (void)resourceTracker;
3363 (void)toTransform;
3364 if (toTransform->pNext)
3365 {
3366 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3367 }
3368 transform_fromhost_VkFormatProperties(resourceTracker, (VkFormatProperties*)(&toTransform->formatProperties));
3369 }
3370
transform_tohost_VkImageFormatProperties2(ResourceTracker * resourceTracker,VkImageFormatProperties2 * toTransform)3371 void transform_tohost_VkImageFormatProperties2(
3372 ResourceTracker* resourceTracker,
3373 VkImageFormatProperties2* toTransform)
3374 {
3375 (void)resourceTracker;
3376 (void)toTransform;
3377 if (toTransform->pNext)
3378 {
3379 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3380 }
3381 transform_tohost_VkImageFormatProperties(resourceTracker, (VkImageFormatProperties*)(&toTransform->imageFormatProperties));
3382 }
3383
transform_fromhost_VkImageFormatProperties2(ResourceTracker * resourceTracker,VkImageFormatProperties2 * toTransform)3384 void transform_fromhost_VkImageFormatProperties2(
3385 ResourceTracker* resourceTracker,
3386 VkImageFormatProperties2* toTransform)
3387 {
3388 (void)resourceTracker;
3389 (void)toTransform;
3390 if (toTransform->pNext)
3391 {
3392 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3393 }
3394 transform_fromhost_VkImageFormatProperties(resourceTracker, (VkImageFormatProperties*)(&toTransform->imageFormatProperties));
3395 }
3396
transform_tohost_VkPhysicalDeviceImageFormatInfo2(ResourceTracker * resourceTracker,VkPhysicalDeviceImageFormatInfo2 * toTransform)3397 void transform_tohost_VkPhysicalDeviceImageFormatInfo2(
3398 ResourceTracker* resourceTracker,
3399 VkPhysicalDeviceImageFormatInfo2* toTransform)
3400 {
3401 (void)resourceTracker;
3402 (void)toTransform;
3403 if (toTransform->pNext)
3404 {
3405 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3406 }
3407 }
3408
transform_fromhost_VkPhysicalDeviceImageFormatInfo2(ResourceTracker * resourceTracker,VkPhysicalDeviceImageFormatInfo2 * toTransform)3409 void transform_fromhost_VkPhysicalDeviceImageFormatInfo2(
3410 ResourceTracker* resourceTracker,
3411 VkPhysicalDeviceImageFormatInfo2* toTransform)
3412 {
3413 (void)resourceTracker;
3414 (void)toTransform;
3415 if (toTransform->pNext)
3416 {
3417 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3418 }
3419 }
3420
transform_tohost_VkQueueFamilyProperties2(ResourceTracker * resourceTracker,VkQueueFamilyProperties2 * toTransform)3421 void transform_tohost_VkQueueFamilyProperties2(
3422 ResourceTracker* resourceTracker,
3423 VkQueueFamilyProperties2* toTransform)
3424 {
3425 (void)resourceTracker;
3426 (void)toTransform;
3427 if (toTransform->pNext)
3428 {
3429 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3430 }
3431 transform_tohost_VkQueueFamilyProperties(resourceTracker, (VkQueueFamilyProperties*)(&toTransform->queueFamilyProperties));
3432 }
3433
transform_fromhost_VkQueueFamilyProperties2(ResourceTracker * resourceTracker,VkQueueFamilyProperties2 * toTransform)3434 void transform_fromhost_VkQueueFamilyProperties2(
3435 ResourceTracker* resourceTracker,
3436 VkQueueFamilyProperties2* toTransform)
3437 {
3438 (void)resourceTracker;
3439 (void)toTransform;
3440 if (toTransform->pNext)
3441 {
3442 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3443 }
3444 transform_fromhost_VkQueueFamilyProperties(resourceTracker, (VkQueueFamilyProperties*)(&toTransform->queueFamilyProperties));
3445 }
3446
transform_tohost_VkPhysicalDeviceMemoryProperties2(ResourceTracker * resourceTracker,VkPhysicalDeviceMemoryProperties2 * toTransform)3447 void transform_tohost_VkPhysicalDeviceMemoryProperties2(
3448 ResourceTracker* resourceTracker,
3449 VkPhysicalDeviceMemoryProperties2* toTransform)
3450 {
3451 (void)resourceTracker;
3452 (void)toTransform;
3453 if (toTransform->pNext)
3454 {
3455 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3456 }
3457 transform_tohost_VkPhysicalDeviceMemoryProperties(resourceTracker, (VkPhysicalDeviceMemoryProperties*)(&toTransform->memoryProperties));
3458 }
3459
transform_fromhost_VkPhysicalDeviceMemoryProperties2(ResourceTracker * resourceTracker,VkPhysicalDeviceMemoryProperties2 * toTransform)3460 void transform_fromhost_VkPhysicalDeviceMemoryProperties2(
3461 ResourceTracker* resourceTracker,
3462 VkPhysicalDeviceMemoryProperties2* toTransform)
3463 {
3464 (void)resourceTracker;
3465 (void)toTransform;
3466 if (toTransform->pNext)
3467 {
3468 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3469 }
3470 transform_fromhost_VkPhysicalDeviceMemoryProperties(resourceTracker, (VkPhysicalDeviceMemoryProperties*)(&toTransform->memoryProperties));
3471 }
3472
transform_tohost_VkSparseImageFormatProperties2(ResourceTracker * resourceTracker,VkSparseImageFormatProperties2 * toTransform)3473 void transform_tohost_VkSparseImageFormatProperties2(
3474 ResourceTracker* resourceTracker,
3475 VkSparseImageFormatProperties2* toTransform)
3476 {
3477 (void)resourceTracker;
3478 (void)toTransform;
3479 if (toTransform->pNext)
3480 {
3481 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3482 }
3483 transform_tohost_VkSparseImageFormatProperties(resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->properties));
3484 }
3485
transform_fromhost_VkSparseImageFormatProperties2(ResourceTracker * resourceTracker,VkSparseImageFormatProperties2 * toTransform)3486 void transform_fromhost_VkSparseImageFormatProperties2(
3487 ResourceTracker* resourceTracker,
3488 VkSparseImageFormatProperties2* toTransform)
3489 {
3490 (void)resourceTracker;
3491 (void)toTransform;
3492 if (toTransform->pNext)
3493 {
3494 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3495 }
3496 transform_fromhost_VkSparseImageFormatProperties(resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->properties));
3497 }
3498
transform_tohost_VkPhysicalDeviceSparseImageFormatInfo2(ResourceTracker * resourceTracker,VkPhysicalDeviceSparseImageFormatInfo2 * toTransform)3499 void transform_tohost_VkPhysicalDeviceSparseImageFormatInfo2(
3500 ResourceTracker* resourceTracker,
3501 VkPhysicalDeviceSparseImageFormatInfo2* toTransform)
3502 {
3503 (void)resourceTracker;
3504 (void)toTransform;
3505 if (toTransform->pNext)
3506 {
3507 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3508 }
3509 }
3510
transform_fromhost_VkPhysicalDeviceSparseImageFormatInfo2(ResourceTracker * resourceTracker,VkPhysicalDeviceSparseImageFormatInfo2 * toTransform)3511 void transform_fromhost_VkPhysicalDeviceSparseImageFormatInfo2(
3512 ResourceTracker* resourceTracker,
3513 VkPhysicalDeviceSparseImageFormatInfo2* toTransform)
3514 {
3515 (void)resourceTracker;
3516 (void)toTransform;
3517 if (toTransform->pNext)
3518 {
3519 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3520 }
3521 }
3522
transform_tohost_VkPhysicalDevicePointClippingProperties(ResourceTracker * resourceTracker,VkPhysicalDevicePointClippingProperties * toTransform)3523 void transform_tohost_VkPhysicalDevicePointClippingProperties(
3524 ResourceTracker* resourceTracker,
3525 VkPhysicalDevicePointClippingProperties* toTransform)
3526 {
3527 (void)resourceTracker;
3528 (void)toTransform;
3529 if (toTransform->pNext)
3530 {
3531 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3532 }
3533 }
3534
transform_fromhost_VkPhysicalDevicePointClippingProperties(ResourceTracker * resourceTracker,VkPhysicalDevicePointClippingProperties * toTransform)3535 void transform_fromhost_VkPhysicalDevicePointClippingProperties(
3536 ResourceTracker* resourceTracker,
3537 VkPhysicalDevicePointClippingProperties* toTransform)
3538 {
3539 (void)resourceTracker;
3540 (void)toTransform;
3541 if (toTransform->pNext)
3542 {
3543 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3544 }
3545 }
3546
transform_tohost_VkInputAttachmentAspectReference(ResourceTracker * resourceTracker,VkInputAttachmentAspectReference * toTransform)3547 void transform_tohost_VkInputAttachmentAspectReference(
3548 ResourceTracker* resourceTracker,
3549 VkInputAttachmentAspectReference* toTransform)
3550 {
3551 (void)resourceTracker;
3552 (void)toTransform;
3553 }
3554
transform_fromhost_VkInputAttachmentAspectReference(ResourceTracker * resourceTracker,VkInputAttachmentAspectReference * toTransform)3555 void transform_fromhost_VkInputAttachmentAspectReference(
3556 ResourceTracker* resourceTracker,
3557 VkInputAttachmentAspectReference* toTransform)
3558 {
3559 (void)resourceTracker;
3560 (void)toTransform;
3561 }
3562
transform_tohost_VkRenderPassInputAttachmentAspectCreateInfo(ResourceTracker * resourceTracker,VkRenderPassInputAttachmentAspectCreateInfo * toTransform)3563 void transform_tohost_VkRenderPassInputAttachmentAspectCreateInfo(
3564 ResourceTracker* resourceTracker,
3565 VkRenderPassInputAttachmentAspectCreateInfo* toTransform)
3566 {
3567 (void)resourceTracker;
3568 (void)toTransform;
3569 if (toTransform->pNext)
3570 {
3571 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3572 }
3573 if (toTransform->pAspectReferences)
3574 {
3575 for (uint32_t i = 0; i < (uint32_t)toTransform->aspectReferenceCount; ++i)
3576 {
3577 transform_tohost_VkInputAttachmentAspectReference(resourceTracker, (VkInputAttachmentAspectReference*)(toTransform->pAspectReferences + i));
3578 }
3579 }
3580 }
3581
transform_fromhost_VkRenderPassInputAttachmentAspectCreateInfo(ResourceTracker * resourceTracker,VkRenderPassInputAttachmentAspectCreateInfo * toTransform)3582 void transform_fromhost_VkRenderPassInputAttachmentAspectCreateInfo(
3583 ResourceTracker* resourceTracker,
3584 VkRenderPassInputAttachmentAspectCreateInfo* toTransform)
3585 {
3586 (void)resourceTracker;
3587 (void)toTransform;
3588 if (toTransform->pNext)
3589 {
3590 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3591 }
3592 if (toTransform->pAspectReferences)
3593 {
3594 for (uint32_t i = 0; i < (uint32_t)toTransform->aspectReferenceCount; ++i)
3595 {
3596 transform_fromhost_VkInputAttachmentAspectReference(resourceTracker, (VkInputAttachmentAspectReference*)(toTransform->pAspectReferences + i));
3597 }
3598 }
3599 }
3600
transform_tohost_VkImageViewUsageCreateInfo(ResourceTracker * resourceTracker,VkImageViewUsageCreateInfo * toTransform)3601 void transform_tohost_VkImageViewUsageCreateInfo(
3602 ResourceTracker* resourceTracker,
3603 VkImageViewUsageCreateInfo* toTransform)
3604 {
3605 (void)resourceTracker;
3606 (void)toTransform;
3607 if (toTransform->pNext)
3608 {
3609 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3610 }
3611 }
3612
transform_fromhost_VkImageViewUsageCreateInfo(ResourceTracker * resourceTracker,VkImageViewUsageCreateInfo * toTransform)3613 void transform_fromhost_VkImageViewUsageCreateInfo(
3614 ResourceTracker* resourceTracker,
3615 VkImageViewUsageCreateInfo* toTransform)
3616 {
3617 (void)resourceTracker;
3618 (void)toTransform;
3619 if (toTransform->pNext)
3620 {
3621 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3622 }
3623 }
3624
transform_tohost_VkPipelineTessellationDomainOriginStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineTessellationDomainOriginStateCreateInfo * toTransform)3625 void transform_tohost_VkPipelineTessellationDomainOriginStateCreateInfo(
3626 ResourceTracker* resourceTracker,
3627 VkPipelineTessellationDomainOriginStateCreateInfo* toTransform)
3628 {
3629 (void)resourceTracker;
3630 (void)toTransform;
3631 if (toTransform->pNext)
3632 {
3633 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3634 }
3635 }
3636
transform_fromhost_VkPipelineTessellationDomainOriginStateCreateInfo(ResourceTracker * resourceTracker,VkPipelineTessellationDomainOriginStateCreateInfo * toTransform)3637 void transform_fromhost_VkPipelineTessellationDomainOriginStateCreateInfo(
3638 ResourceTracker* resourceTracker,
3639 VkPipelineTessellationDomainOriginStateCreateInfo* toTransform)
3640 {
3641 (void)resourceTracker;
3642 (void)toTransform;
3643 if (toTransform->pNext)
3644 {
3645 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3646 }
3647 }
3648
transform_tohost_VkRenderPassMultiviewCreateInfo(ResourceTracker * resourceTracker,VkRenderPassMultiviewCreateInfo * toTransform)3649 void transform_tohost_VkRenderPassMultiviewCreateInfo(
3650 ResourceTracker* resourceTracker,
3651 VkRenderPassMultiviewCreateInfo* toTransform)
3652 {
3653 (void)resourceTracker;
3654 (void)toTransform;
3655 if (toTransform->pNext)
3656 {
3657 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3658 }
3659 }
3660
transform_fromhost_VkRenderPassMultiviewCreateInfo(ResourceTracker * resourceTracker,VkRenderPassMultiviewCreateInfo * toTransform)3661 void transform_fromhost_VkRenderPassMultiviewCreateInfo(
3662 ResourceTracker* resourceTracker,
3663 VkRenderPassMultiviewCreateInfo* toTransform)
3664 {
3665 (void)resourceTracker;
3666 (void)toTransform;
3667 if (toTransform->pNext)
3668 {
3669 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3670 }
3671 }
3672
transform_tohost_VkPhysicalDeviceMultiviewFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceMultiviewFeatures * toTransform)3673 void transform_tohost_VkPhysicalDeviceMultiviewFeatures(
3674 ResourceTracker* resourceTracker,
3675 VkPhysicalDeviceMultiviewFeatures* toTransform)
3676 {
3677 (void)resourceTracker;
3678 (void)toTransform;
3679 if (toTransform->pNext)
3680 {
3681 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3682 }
3683 }
3684
transform_fromhost_VkPhysicalDeviceMultiviewFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceMultiviewFeatures * toTransform)3685 void transform_fromhost_VkPhysicalDeviceMultiviewFeatures(
3686 ResourceTracker* resourceTracker,
3687 VkPhysicalDeviceMultiviewFeatures* toTransform)
3688 {
3689 (void)resourceTracker;
3690 (void)toTransform;
3691 if (toTransform->pNext)
3692 {
3693 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3694 }
3695 }
3696
transform_tohost_VkPhysicalDeviceMultiviewProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceMultiviewProperties * toTransform)3697 void transform_tohost_VkPhysicalDeviceMultiviewProperties(
3698 ResourceTracker* resourceTracker,
3699 VkPhysicalDeviceMultiviewProperties* toTransform)
3700 {
3701 (void)resourceTracker;
3702 (void)toTransform;
3703 if (toTransform->pNext)
3704 {
3705 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3706 }
3707 }
3708
transform_fromhost_VkPhysicalDeviceMultiviewProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceMultiviewProperties * toTransform)3709 void transform_fromhost_VkPhysicalDeviceMultiviewProperties(
3710 ResourceTracker* resourceTracker,
3711 VkPhysicalDeviceMultiviewProperties* toTransform)
3712 {
3713 (void)resourceTracker;
3714 (void)toTransform;
3715 if (toTransform->pNext)
3716 {
3717 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3718 }
3719 }
3720
transform_tohost_VkPhysicalDeviceVariablePointerFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceVariablePointerFeatures * toTransform)3721 void transform_tohost_VkPhysicalDeviceVariablePointerFeatures(
3722 ResourceTracker* resourceTracker,
3723 VkPhysicalDeviceVariablePointerFeatures* toTransform)
3724 {
3725 (void)resourceTracker;
3726 (void)toTransform;
3727 if (toTransform->pNext)
3728 {
3729 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3730 }
3731 }
3732
transform_fromhost_VkPhysicalDeviceVariablePointerFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceVariablePointerFeatures * toTransform)3733 void transform_fromhost_VkPhysicalDeviceVariablePointerFeatures(
3734 ResourceTracker* resourceTracker,
3735 VkPhysicalDeviceVariablePointerFeatures* toTransform)
3736 {
3737 (void)resourceTracker;
3738 (void)toTransform;
3739 if (toTransform->pNext)
3740 {
3741 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3742 }
3743 }
3744
transform_tohost_VkPhysicalDeviceProtectedMemoryFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceProtectedMemoryFeatures * toTransform)3745 void transform_tohost_VkPhysicalDeviceProtectedMemoryFeatures(
3746 ResourceTracker* resourceTracker,
3747 VkPhysicalDeviceProtectedMemoryFeatures* toTransform)
3748 {
3749 (void)resourceTracker;
3750 (void)toTransform;
3751 if (toTransform->pNext)
3752 {
3753 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3754 }
3755 }
3756
transform_fromhost_VkPhysicalDeviceProtectedMemoryFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceProtectedMemoryFeatures * toTransform)3757 void transform_fromhost_VkPhysicalDeviceProtectedMemoryFeatures(
3758 ResourceTracker* resourceTracker,
3759 VkPhysicalDeviceProtectedMemoryFeatures* toTransform)
3760 {
3761 (void)resourceTracker;
3762 (void)toTransform;
3763 if (toTransform->pNext)
3764 {
3765 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3766 }
3767 }
3768
transform_tohost_VkPhysicalDeviceProtectedMemoryProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceProtectedMemoryProperties * toTransform)3769 void transform_tohost_VkPhysicalDeviceProtectedMemoryProperties(
3770 ResourceTracker* resourceTracker,
3771 VkPhysicalDeviceProtectedMemoryProperties* toTransform)
3772 {
3773 (void)resourceTracker;
3774 (void)toTransform;
3775 if (toTransform->pNext)
3776 {
3777 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3778 }
3779 }
3780
transform_fromhost_VkPhysicalDeviceProtectedMemoryProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceProtectedMemoryProperties * toTransform)3781 void transform_fromhost_VkPhysicalDeviceProtectedMemoryProperties(
3782 ResourceTracker* resourceTracker,
3783 VkPhysicalDeviceProtectedMemoryProperties* toTransform)
3784 {
3785 (void)resourceTracker;
3786 (void)toTransform;
3787 if (toTransform->pNext)
3788 {
3789 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3790 }
3791 }
3792
transform_tohost_VkDeviceQueueInfo2(ResourceTracker * resourceTracker,VkDeviceQueueInfo2 * toTransform)3793 void transform_tohost_VkDeviceQueueInfo2(
3794 ResourceTracker* resourceTracker,
3795 VkDeviceQueueInfo2* toTransform)
3796 {
3797 (void)resourceTracker;
3798 (void)toTransform;
3799 if (toTransform->pNext)
3800 {
3801 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3802 }
3803 }
3804
transform_fromhost_VkDeviceQueueInfo2(ResourceTracker * resourceTracker,VkDeviceQueueInfo2 * toTransform)3805 void transform_fromhost_VkDeviceQueueInfo2(
3806 ResourceTracker* resourceTracker,
3807 VkDeviceQueueInfo2* toTransform)
3808 {
3809 (void)resourceTracker;
3810 (void)toTransform;
3811 if (toTransform->pNext)
3812 {
3813 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3814 }
3815 }
3816
transform_tohost_VkProtectedSubmitInfo(ResourceTracker * resourceTracker,VkProtectedSubmitInfo * toTransform)3817 void transform_tohost_VkProtectedSubmitInfo(
3818 ResourceTracker* resourceTracker,
3819 VkProtectedSubmitInfo* toTransform)
3820 {
3821 (void)resourceTracker;
3822 (void)toTransform;
3823 if (toTransform->pNext)
3824 {
3825 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3826 }
3827 }
3828
transform_fromhost_VkProtectedSubmitInfo(ResourceTracker * resourceTracker,VkProtectedSubmitInfo * toTransform)3829 void transform_fromhost_VkProtectedSubmitInfo(
3830 ResourceTracker* resourceTracker,
3831 VkProtectedSubmitInfo* toTransform)
3832 {
3833 (void)resourceTracker;
3834 (void)toTransform;
3835 if (toTransform->pNext)
3836 {
3837 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3838 }
3839 }
3840
transform_tohost_VkSamplerYcbcrConversionCreateInfo(ResourceTracker * resourceTracker,VkSamplerYcbcrConversionCreateInfo * toTransform)3841 void transform_tohost_VkSamplerYcbcrConversionCreateInfo(
3842 ResourceTracker* resourceTracker,
3843 VkSamplerYcbcrConversionCreateInfo* toTransform)
3844 {
3845 (void)resourceTracker;
3846 (void)toTransform;
3847 if (toTransform->pNext)
3848 {
3849 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3850 }
3851 transform_tohost_VkComponentMapping(resourceTracker, (VkComponentMapping*)(&toTransform->components));
3852 }
3853
transform_fromhost_VkSamplerYcbcrConversionCreateInfo(ResourceTracker * resourceTracker,VkSamplerYcbcrConversionCreateInfo * toTransform)3854 void transform_fromhost_VkSamplerYcbcrConversionCreateInfo(
3855 ResourceTracker* resourceTracker,
3856 VkSamplerYcbcrConversionCreateInfo* toTransform)
3857 {
3858 (void)resourceTracker;
3859 (void)toTransform;
3860 if (toTransform->pNext)
3861 {
3862 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3863 }
3864 transform_fromhost_VkComponentMapping(resourceTracker, (VkComponentMapping*)(&toTransform->components));
3865 }
3866
transform_tohost_VkSamplerYcbcrConversionInfo(ResourceTracker * resourceTracker,VkSamplerYcbcrConversionInfo * toTransform)3867 void transform_tohost_VkSamplerYcbcrConversionInfo(
3868 ResourceTracker* resourceTracker,
3869 VkSamplerYcbcrConversionInfo* toTransform)
3870 {
3871 (void)resourceTracker;
3872 (void)toTransform;
3873 if (toTransform->pNext)
3874 {
3875 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3876 }
3877 }
3878
transform_fromhost_VkSamplerYcbcrConversionInfo(ResourceTracker * resourceTracker,VkSamplerYcbcrConversionInfo * toTransform)3879 void transform_fromhost_VkSamplerYcbcrConversionInfo(
3880 ResourceTracker* resourceTracker,
3881 VkSamplerYcbcrConversionInfo* toTransform)
3882 {
3883 (void)resourceTracker;
3884 (void)toTransform;
3885 if (toTransform->pNext)
3886 {
3887 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3888 }
3889 }
3890
transform_tohost_VkBindImagePlaneMemoryInfo(ResourceTracker * resourceTracker,VkBindImagePlaneMemoryInfo * toTransform)3891 void transform_tohost_VkBindImagePlaneMemoryInfo(
3892 ResourceTracker* resourceTracker,
3893 VkBindImagePlaneMemoryInfo* toTransform)
3894 {
3895 (void)resourceTracker;
3896 (void)toTransform;
3897 if (toTransform->pNext)
3898 {
3899 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3900 }
3901 }
3902
transform_fromhost_VkBindImagePlaneMemoryInfo(ResourceTracker * resourceTracker,VkBindImagePlaneMemoryInfo * toTransform)3903 void transform_fromhost_VkBindImagePlaneMemoryInfo(
3904 ResourceTracker* resourceTracker,
3905 VkBindImagePlaneMemoryInfo* toTransform)
3906 {
3907 (void)resourceTracker;
3908 (void)toTransform;
3909 if (toTransform->pNext)
3910 {
3911 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3912 }
3913 }
3914
transform_tohost_VkImagePlaneMemoryRequirementsInfo(ResourceTracker * resourceTracker,VkImagePlaneMemoryRequirementsInfo * toTransform)3915 void transform_tohost_VkImagePlaneMemoryRequirementsInfo(
3916 ResourceTracker* resourceTracker,
3917 VkImagePlaneMemoryRequirementsInfo* toTransform)
3918 {
3919 (void)resourceTracker;
3920 (void)toTransform;
3921 if (toTransform->pNext)
3922 {
3923 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3924 }
3925 }
3926
transform_fromhost_VkImagePlaneMemoryRequirementsInfo(ResourceTracker * resourceTracker,VkImagePlaneMemoryRequirementsInfo * toTransform)3927 void transform_fromhost_VkImagePlaneMemoryRequirementsInfo(
3928 ResourceTracker* resourceTracker,
3929 VkImagePlaneMemoryRequirementsInfo* toTransform)
3930 {
3931 (void)resourceTracker;
3932 (void)toTransform;
3933 if (toTransform->pNext)
3934 {
3935 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3936 }
3937 }
3938
transform_tohost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceSamplerYcbcrConversionFeatures * toTransform)3939 void transform_tohost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(
3940 ResourceTracker* resourceTracker,
3941 VkPhysicalDeviceSamplerYcbcrConversionFeatures* toTransform)
3942 {
3943 (void)resourceTracker;
3944 (void)toTransform;
3945 if (toTransform->pNext)
3946 {
3947 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3948 }
3949 }
3950
transform_fromhost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceSamplerYcbcrConversionFeatures * toTransform)3951 void transform_fromhost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(
3952 ResourceTracker* resourceTracker,
3953 VkPhysicalDeviceSamplerYcbcrConversionFeatures* toTransform)
3954 {
3955 (void)resourceTracker;
3956 (void)toTransform;
3957 if (toTransform->pNext)
3958 {
3959 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3960 }
3961 }
3962
transform_tohost_VkSamplerYcbcrConversionImageFormatProperties(ResourceTracker * resourceTracker,VkSamplerYcbcrConversionImageFormatProperties * toTransform)3963 void transform_tohost_VkSamplerYcbcrConversionImageFormatProperties(
3964 ResourceTracker* resourceTracker,
3965 VkSamplerYcbcrConversionImageFormatProperties* toTransform)
3966 {
3967 (void)resourceTracker;
3968 (void)toTransform;
3969 if (toTransform->pNext)
3970 {
3971 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3972 }
3973 }
3974
transform_fromhost_VkSamplerYcbcrConversionImageFormatProperties(ResourceTracker * resourceTracker,VkSamplerYcbcrConversionImageFormatProperties * toTransform)3975 void transform_fromhost_VkSamplerYcbcrConversionImageFormatProperties(
3976 ResourceTracker* resourceTracker,
3977 VkSamplerYcbcrConversionImageFormatProperties* toTransform)
3978 {
3979 (void)resourceTracker;
3980 (void)toTransform;
3981 if (toTransform->pNext)
3982 {
3983 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3984 }
3985 }
3986
transform_tohost_VkDescriptorUpdateTemplateEntry(ResourceTracker * resourceTracker,VkDescriptorUpdateTemplateEntry * toTransform)3987 void transform_tohost_VkDescriptorUpdateTemplateEntry(
3988 ResourceTracker* resourceTracker,
3989 VkDescriptorUpdateTemplateEntry* toTransform)
3990 {
3991 (void)resourceTracker;
3992 (void)toTransform;
3993 }
3994
transform_fromhost_VkDescriptorUpdateTemplateEntry(ResourceTracker * resourceTracker,VkDescriptorUpdateTemplateEntry * toTransform)3995 void transform_fromhost_VkDescriptorUpdateTemplateEntry(
3996 ResourceTracker* resourceTracker,
3997 VkDescriptorUpdateTemplateEntry* toTransform)
3998 {
3999 (void)resourceTracker;
4000 (void)toTransform;
4001 }
4002
transform_tohost_VkDescriptorUpdateTemplateCreateInfo(ResourceTracker * resourceTracker,VkDescriptorUpdateTemplateCreateInfo * toTransform)4003 void transform_tohost_VkDescriptorUpdateTemplateCreateInfo(
4004 ResourceTracker* resourceTracker,
4005 VkDescriptorUpdateTemplateCreateInfo* toTransform)
4006 {
4007 (void)resourceTracker;
4008 (void)toTransform;
4009 if (toTransform->pNext)
4010 {
4011 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4012 }
4013 if (toTransform->pDescriptorUpdateEntries)
4014 {
4015 for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorUpdateEntryCount; ++i)
4016 {
4017 transform_tohost_VkDescriptorUpdateTemplateEntry(resourceTracker, (VkDescriptorUpdateTemplateEntry*)(toTransform->pDescriptorUpdateEntries + i));
4018 }
4019 }
4020 }
4021
transform_fromhost_VkDescriptorUpdateTemplateCreateInfo(ResourceTracker * resourceTracker,VkDescriptorUpdateTemplateCreateInfo * toTransform)4022 void transform_fromhost_VkDescriptorUpdateTemplateCreateInfo(
4023 ResourceTracker* resourceTracker,
4024 VkDescriptorUpdateTemplateCreateInfo* toTransform)
4025 {
4026 (void)resourceTracker;
4027 (void)toTransform;
4028 if (toTransform->pNext)
4029 {
4030 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4031 }
4032 if (toTransform->pDescriptorUpdateEntries)
4033 {
4034 for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorUpdateEntryCount; ++i)
4035 {
4036 transform_fromhost_VkDescriptorUpdateTemplateEntry(resourceTracker, (VkDescriptorUpdateTemplateEntry*)(toTransform->pDescriptorUpdateEntries + i));
4037 }
4038 }
4039 }
4040
transform_tohost_VkExternalMemoryProperties(ResourceTracker * resourceTracker,VkExternalMemoryProperties * toTransform)4041 void transform_tohost_VkExternalMemoryProperties(
4042 ResourceTracker* resourceTracker,
4043 VkExternalMemoryProperties* toTransform)
4044 {
4045 (void)resourceTracker;
4046 (void)toTransform;
4047 }
4048
transform_fromhost_VkExternalMemoryProperties(ResourceTracker * resourceTracker,VkExternalMemoryProperties * toTransform)4049 void transform_fromhost_VkExternalMemoryProperties(
4050 ResourceTracker* resourceTracker,
4051 VkExternalMemoryProperties* toTransform)
4052 {
4053 (void)resourceTracker;
4054 (void)toTransform;
4055 }
4056
transform_tohost_VkPhysicalDeviceExternalImageFormatInfo(ResourceTracker * resourceTracker,VkPhysicalDeviceExternalImageFormatInfo * toTransform)4057 void transform_tohost_VkPhysicalDeviceExternalImageFormatInfo(
4058 ResourceTracker* resourceTracker,
4059 VkPhysicalDeviceExternalImageFormatInfo* toTransform)
4060 {
4061 (void)resourceTracker;
4062 (void)toTransform;
4063 if (toTransform->pNext)
4064 {
4065 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4066 }
4067 }
4068
transform_fromhost_VkPhysicalDeviceExternalImageFormatInfo(ResourceTracker * resourceTracker,VkPhysicalDeviceExternalImageFormatInfo * toTransform)4069 void transform_fromhost_VkPhysicalDeviceExternalImageFormatInfo(
4070 ResourceTracker* resourceTracker,
4071 VkPhysicalDeviceExternalImageFormatInfo* toTransform)
4072 {
4073 (void)resourceTracker;
4074 (void)toTransform;
4075 if (toTransform->pNext)
4076 {
4077 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4078 }
4079 }
4080
transform_tohost_VkExternalImageFormatProperties(ResourceTracker * resourceTracker,VkExternalImageFormatProperties * toTransform)4081 void transform_tohost_VkExternalImageFormatProperties(
4082 ResourceTracker* resourceTracker,
4083 VkExternalImageFormatProperties* toTransform)
4084 {
4085 (void)resourceTracker;
4086 (void)toTransform;
4087 if (toTransform->pNext)
4088 {
4089 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4090 }
4091 resourceTracker->transformImpl_VkExternalMemoryProperties_tohost(&toTransform->externalMemoryProperties, 1);
4092 transform_tohost_VkExternalMemoryProperties(resourceTracker, (VkExternalMemoryProperties*)(&toTransform->externalMemoryProperties));
4093 }
4094
transform_fromhost_VkExternalImageFormatProperties(ResourceTracker * resourceTracker,VkExternalImageFormatProperties * toTransform)4095 void transform_fromhost_VkExternalImageFormatProperties(
4096 ResourceTracker* resourceTracker,
4097 VkExternalImageFormatProperties* toTransform)
4098 {
4099 (void)resourceTracker;
4100 (void)toTransform;
4101 if (toTransform->pNext)
4102 {
4103 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4104 }
4105 resourceTracker->transformImpl_VkExternalMemoryProperties_fromhost(&toTransform->externalMemoryProperties, 1);
4106 transform_fromhost_VkExternalMemoryProperties(resourceTracker, (VkExternalMemoryProperties*)(&toTransform->externalMemoryProperties));
4107 }
4108
transform_tohost_VkPhysicalDeviceExternalBufferInfo(ResourceTracker * resourceTracker,VkPhysicalDeviceExternalBufferInfo * toTransform)4109 void transform_tohost_VkPhysicalDeviceExternalBufferInfo(
4110 ResourceTracker* resourceTracker,
4111 VkPhysicalDeviceExternalBufferInfo* toTransform)
4112 {
4113 (void)resourceTracker;
4114 (void)toTransform;
4115 if (toTransform->pNext)
4116 {
4117 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4118 }
4119 }
4120
transform_fromhost_VkPhysicalDeviceExternalBufferInfo(ResourceTracker * resourceTracker,VkPhysicalDeviceExternalBufferInfo * toTransform)4121 void transform_fromhost_VkPhysicalDeviceExternalBufferInfo(
4122 ResourceTracker* resourceTracker,
4123 VkPhysicalDeviceExternalBufferInfo* toTransform)
4124 {
4125 (void)resourceTracker;
4126 (void)toTransform;
4127 if (toTransform->pNext)
4128 {
4129 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4130 }
4131 }
4132
transform_tohost_VkExternalBufferProperties(ResourceTracker * resourceTracker,VkExternalBufferProperties * toTransform)4133 void transform_tohost_VkExternalBufferProperties(
4134 ResourceTracker* resourceTracker,
4135 VkExternalBufferProperties* toTransform)
4136 {
4137 (void)resourceTracker;
4138 (void)toTransform;
4139 if (toTransform->pNext)
4140 {
4141 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4142 }
4143 resourceTracker->transformImpl_VkExternalMemoryProperties_tohost(&toTransform->externalMemoryProperties, 1);
4144 transform_tohost_VkExternalMemoryProperties(resourceTracker, (VkExternalMemoryProperties*)(&toTransform->externalMemoryProperties));
4145 }
4146
transform_fromhost_VkExternalBufferProperties(ResourceTracker * resourceTracker,VkExternalBufferProperties * toTransform)4147 void transform_fromhost_VkExternalBufferProperties(
4148 ResourceTracker* resourceTracker,
4149 VkExternalBufferProperties* toTransform)
4150 {
4151 (void)resourceTracker;
4152 (void)toTransform;
4153 if (toTransform->pNext)
4154 {
4155 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4156 }
4157 resourceTracker->transformImpl_VkExternalMemoryProperties_fromhost(&toTransform->externalMemoryProperties, 1);
4158 transform_fromhost_VkExternalMemoryProperties(resourceTracker, (VkExternalMemoryProperties*)(&toTransform->externalMemoryProperties));
4159 }
4160
transform_tohost_VkPhysicalDeviceIDProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceIDProperties * toTransform)4161 void transform_tohost_VkPhysicalDeviceIDProperties(
4162 ResourceTracker* resourceTracker,
4163 VkPhysicalDeviceIDProperties* toTransform)
4164 {
4165 (void)resourceTracker;
4166 (void)toTransform;
4167 if (toTransform->pNext)
4168 {
4169 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4170 }
4171 }
4172
transform_fromhost_VkPhysicalDeviceIDProperties(ResourceTracker * resourceTracker,VkPhysicalDeviceIDProperties * toTransform)4173 void transform_fromhost_VkPhysicalDeviceIDProperties(
4174 ResourceTracker* resourceTracker,
4175 VkPhysicalDeviceIDProperties* toTransform)
4176 {
4177 (void)resourceTracker;
4178 (void)toTransform;
4179 if (toTransform->pNext)
4180 {
4181 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4182 }
4183 }
4184
transform_tohost_VkExternalMemoryImageCreateInfo(ResourceTracker * resourceTracker,VkExternalMemoryImageCreateInfo * toTransform)4185 void transform_tohost_VkExternalMemoryImageCreateInfo(
4186 ResourceTracker* resourceTracker,
4187 VkExternalMemoryImageCreateInfo* toTransform)
4188 {
4189 (void)resourceTracker;
4190 (void)toTransform;
4191 if (toTransform->pNext)
4192 {
4193 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4194 }
4195 }
4196
transform_fromhost_VkExternalMemoryImageCreateInfo(ResourceTracker * resourceTracker,VkExternalMemoryImageCreateInfo * toTransform)4197 void transform_fromhost_VkExternalMemoryImageCreateInfo(
4198 ResourceTracker* resourceTracker,
4199 VkExternalMemoryImageCreateInfo* toTransform)
4200 {
4201 (void)resourceTracker;
4202 (void)toTransform;
4203 if (toTransform->pNext)
4204 {
4205 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4206 }
4207 }
4208
transform_tohost_VkExternalMemoryBufferCreateInfo(ResourceTracker * resourceTracker,VkExternalMemoryBufferCreateInfo * toTransform)4209 void transform_tohost_VkExternalMemoryBufferCreateInfo(
4210 ResourceTracker* resourceTracker,
4211 VkExternalMemoryBufferCreateInfo* toTransform)
4212 {
4213 (void)resourceTracker;
4214 (void)toTransform;
4215 if (toTransform->pNext)
4216 {
4217 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4218 }
4219 }
4220
transform_fromhost_VkExternalMemoryBufferCreateInfo(ResourceTracker * resourceTracker,VkExternalMemoryBufferCreateInfo * toTransform)4221 void transform_fromhost_VkExternalMemoryBufferCreateInfo(
4222 ResourceTracker* resourceTracker,
4223 VkExternalMemoryBufferCreateInfo* toTransform)
4224 {
4225 (void)resourceTracker;
4226 (void)toTransform;
4227 if (toTransform->pNext)
4228 {
4229 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4230 }
4231 }
4232
transform_tohost_VkExportMemoryAllocateInfo(ResourceTracker * resourceTracker,VkExportMemoryAllocateInfo * toTransform)4233 void transform_tohost_VkExportMemoryAllocateInfo(
4234 ResourceTracker* resourceTracker,
4235 VkExportMemoryAllocateInfo* toTransform)
4236 {
4237 (void)resourceTracker;
4238 (void)toTransform;
4239 if (toTransform->pNext)
4240 {
4241 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4242 }
4243 }
4244
transform_fromhost_VkExportMemoryAllocateInfo(ResourceTracker * resourceTracker,VkExportMemoryAllocateInfo * toTransform)4245 void transform_fromhost_VkExportMemoryAllocateInfo(
4246 ResourceTracker* resourceTracker,
4247 VkExportMemoryAllocateInfo* toTransform)
4248 {
4249 (void)resourceTracker;
4250 (void)toTransform;
4251 if (toTransform->pNext)
4252 {
4253 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4254 }
4255 }
4256
transform_tohost_VkPhysicalDeviceExternalFenceInfo(ResourceTracker * resourceTracker,VkPhysicalDeviceExternalFenceInfo * toTransform)4257 void transform_tohost_VkPhysicalDeviceExternalFenceInfo(
4258 ResourceTracker* resourceTracker,
4259 VkPhysicalDeviceExternalFenceInfo* toTransform)
4260 {
4261 (void)resourceTracker;
4262 (void)toTransform;
4263 if (toTransform->pNext)
4264 {
4265 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4266 }
4267 }
4268
transform_fromhost_VkPhysicalDeviceExternalFenceInfo(ResourceTracker * resourceTracker,VkPhysicalDeviceExternalFenceInfo * toTransform)4269 void transform_fromhost_VkPhysicalDeviceExternalFenceInfo(
4270 ResourceTracker* resourceTracker,
4271 VkPhysicalDeviceExternalFenceInfo* toTransform)
4272 {
4273 (void)resourceTracker;
4274 (void)toTransform;
4275 if (toTransform->pNext)
4276 {
4277 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4278 }
4279 }
4280
transform_tohost_VkExternalFenceProperties(ResourceTracker * resourceTracker,VkExternalFenceProperties * toTransform)4281 void transform_tohost_VkExternalFenceProperties(
4282 ResourceTracker* resourceTracker,
4283 VkExternalFenceProperties* toTransform)
4284 {
4285 (void)resourceTracker;
4286 (void)toTransform;
4287 if (toTransform->pNext)
4288 {
4289 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4290 }
4291 }
4292
transform_fromhost_VkExternalFenceProperties(ResourceTracker * resourceTracker,VkExternalFenceProperties * toTransform)4293 void transform_fromhost_VkExternalFenceProperties(
4294 ResourceTracker* resourceTracker,
4295 VkExternalFenceProperties* toTransform)
4296 {
4297 (void)resourceTracker;
4298 (void)toTransform;
4299 if (toTransform->pNext)
4300 {
4301 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4302 }
4303 }
4304
transform_tohost_VkExportFenceCreateInfo(ResourceTracker * resourceTracker,VkExportFenceCreateInfo * toTransform)4305 void transform_tohost_VkExportFenceCreateInfo(
4306 ResourceTracker* resourceTracker,
4307 VkExportFenceCreateInfo* toTransform)
4308 {
4309 (void)resourceTracker;
4310 (void)toTransform;
4311 if (toTransform->pNext)
4312 {
4313 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4314 }
4315 }
4316
transform_fromhost_VkExportFenceCreateInfo(ResourceTracker * resourceTracker,VkExportFenceCreateInfo * toTransform)4317 void transform_fromhost_VkExportFenceCreateInfo(
4318 ResourceTracker* resourceTracker,
4319 VkExportFenceCreateInfo* toTransform)
4320 {
4321 (void)resourceTracker;
4322 (void)toTransform;
4323 if (toTransform->pNext)
4324 {
4325 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4326 }
4327 }
4328
transform_tohost_VkExportSemaphoreCreateInfo(ResourceTracker * resourceTracker,VkExportSemaphoreCreateInfo * toTransform)4329 void transform_tohost_VkExportSemaphoreCreateInfo(
4330 ResourceTracker* resourceTracker,
4331 VkExportSemaphoreCreateInfo* toTransform)
4332 {
4333 (void)resourceTracker;
4334 (void)toTransform;
4335 if (toTransform->pNext)
4336 {
4337 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4338 }
4339 }
4340
transform_fromhost_VkExportSemaphoreCreateInfo(ResourceTracker * resourceTracker,VkExportSemaphoreCreateInfo * toTransform)4341 void transform_fromhost_VkExportSemaphoreCreateInfo(
4342 ResourceTracker* resourceTracker,
4343 VkExportSemaphoreCreateInfo* toTransform)
4344 {
4345 (void)resourceTracker;
4346 (void)toTransform;
4347 if (toTransform->pNext)
4348 {
4349 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4350 }
4351 }
4352
transform_tohost_VkPhysicalDeviceExternalSemaphoreInfo(ResourceTracker * resourceTracker,VkPhysicalDeviceExternalSemaphoreInfo * toTransform)4353 void transform_tohost_VkPhysicalDeviceExternalSemaphoreInfo(
4354 ResourceTracker* resourceTracker,
4355 VkPhysicalDeviceExternalSemaphoreInfo* toTransform)
4356 {
4357 (void)resourceTracker;
4358 (void)toTransform;
4359 if (toTransform->pNext)
4360 {
4361 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4362 }
4363 }
4364
transform_fromhost_VkPhysicalDeviceExternalSemaphoreInfo(ResourceTracker * resourceTracker,VkPhysicalDeviceExternalSemaphoreInfo * toTransform)4365 void transform_fromhost_VkPhysicalDeviceExternalSemaphoreInfo(
4366 ResourceTracker* resourceTracker,
4367 VkPhysicalDeviceExternalSemaphoreInfo* toTransform)
4368 {
4369 (void)resourceTracker;
4370 (void)toTransform;
4371 if (toTransform->pNext)
4372 {
4373 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4374 }
4375 }
4376
transform_tohost_VkExternalSemaphoreProperties(ResourceTracker * resourceTracker,VkExternalSemaphoreProperties * toTransform)4377 void transform_tohost_VkExternalSemaphoreProperties(
4378 ResourceTracker* resourceTracker,
4379 VkExternalSemaphoreProperties* toTransform)
4380 {
4381 (void)resourceTracker;
4382 (void)toTransform;
4383 if (toTransform->pNext)
4384 {
4385 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4386 }
4387 }
4388
transform_fromhost_VkExternalSemaphoreProperties(ResourceTracker * resourceTracker,VkExternalSemaphoreProperties * toTransform)4389 void transform_fromhost_VkExternalSemaphoreProperties(
4390 ResourceTracker* resourceTracker,
4391 VkExternalSemaphoreProperties* toTransform)
4392 {
4393 (void)resourceTracker;
4394 (void)toTransform;
4395 if (toTransform->pNext)
4396 {
4397 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4398 }
4399 }
4400
transform_tohost_VkPhysicalDeviceMaintenance3Properties(ResourceTracker * resourceTracker,VkPhysicalDeviceMaintenance3Properties * toTransform)4401 void transform_tohost_VkPhysicalDeviceMaintenance3Properties(
4402 ResourceTracker* resourceTracker,
4403 VkPhysicalDeviceMaintenance3Properties* toTransform)
4404 {
4405 (void)resourceTracker;
4406 (void)toTransform;
4407 if (toTransform->pNext)
4408 {
4409 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4410 }
4411 }
4412
transform_fromhost_VkPhysicalDeviceMaintenance3Properties(ResourceTracker * resourceTracker,VkPhysicalDeviceMaintenance3Properties * toTransform)4413 void transform_fromhost_VkPhysicalDeviceMaintenance3Properties(
4414 ResourceTracker* resourceTracker,
4415 VkPhysicalDeviceMaintenance3Properties* toTransform)
4416 {
4417 (void)resourceTracker;
4418 (void)toTransform;
4419 if (toTransform->pNext)
4420 {
4421 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4422 }
4423 }
4424
transform_tohost_VkDescriptorSetLayoutSupport(ResourceTracker * resourceTracker,VkDescriptorSetLayoutSupport * toTransform)4425 void transform_tohost_VkDescriptorSetLayoutSupport(
4426 ResourceTracker* resourceTracker,
4427 VkDescriptorSetLayoutSupport* toTransform)
4428 {
4429 (void)resourceTracker;
4430 (void)toTransform;
4431 if (toTransform->pNext)
4432 {
4433 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4434 }
4435 }
4436
transform_fromhost_VkDescriptorSetLayoutSupport(ResourceTracker * resourceTracker,VkDescriptorSetLayoutSupport * toTransform)4437 void transform_fromhost_VkDescriptorSetLayoutSupport(
4438 ResourceTracker* resourceTracker,
4439 VkDescriptorSetLayoutSupport* toTransform)
4440 {
4441 (void)resourceTracker;
4442 (void)toTransform;
4443 if (toTransform->pNext)
4444 {
4445 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4446 }
4447 }
4448
transform_tohost_VkPhysicalDeviceShaderDrawParameterFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceShaderDrawParameterFeatures * toTransform)4449 void transform_tohost_VkPhysicalDeviceShaderDrawParameterFeatures(
4450 ResourceTracker* resourceTracker,
4451 VkPhysicalDeviceShaderDrawParameterFeatures* toTransform)
4452 {
4453 (void)resourceTracker;
4454 (void)toTransform;
4455 if (toTransform->pNext)
4456 {
4457 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4458 }
4459 }
4460
transform_fromhost_VkPhysicalDeviceShaderDrawParameterFeatures(ResourceTracker * resourceTracker,VkPhysicalDeviceShaderDrawParameterFeatures * toTransform)4461 void transform_fromhost_VkPhysicalDeviceShaderDrawParameterFeatures(
4462 ResourceTracker* resourceTracker,
4463 VkPhysicalDeviceShaderDrawParameterFeatures* toTransform)
4464 {
4465 (void)resourceTracker;
4466 (void)toTransform;
4467 if (toTransform->pNext)
4468 {
4469 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4470 }
4471 }
4472
4473 #endif
4474 #ifdef VK_KHR_surface
transform_tohost_VkSurfaceCapabilitiesKHR(ResourceTracker * resourceTracker,VkSurfaceCapabilitiesKHR * toTransform)4475 void transform_tohost_VkSurfaceCapabilitiesKHR(
4476 ResourceTracker* resourceTracker,
4477 VkSurfaceCapabilitiesKHR* toTransform)
4478 {
4479 (void)resourceTracker;
4480 (void)toTransform;
4481 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->currentExtent));
4482 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->minImageExtent));
4483 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxImageExtent));
4484 }
4485
transform_fromhost_VkSurfaceCapabilitiesKHR(ResourceTracker * resourceTracker,VkSurfaceCapabilitiesKHR * toTransform)4486 void transform_fromhost_VkSurfaceCapabilitiesKHR(
4487 ResourceTracker* resourceTracker,
4488 VkSurfaceCapabilitiesKHR* toTransform)
4489 {
4490 (void)resourceTracker;
4491 (void)toTransform;
4492 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->currentExtent));
4493 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->minImageExtent));
4494 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxImageExtent));
4495 }
4496
transform_tohost_VkSurfaceFormatKHR(ResourceTracker * resourceTracker,VkSurfaceFormatKHR * toTransform)4497 void transform_tohost_VkSurfaceFormatKHR(
4498 ResourceTracker* resourceTracker,
4499 VkSurfaceFormatKHR* toTransform)
4500 {
4501 (void)resourceTracker;
4502 (void)toTransform;
4503 }
4504
transform_fromhost_VkSurfaceFormatKHR(ResourceTracker * resourceTracker,VkSurfaceFormatKHR * toTransform)4505 void transform_fromhost_VkSurfaceFormatKHR(
4506 ResourceTracker* resourceTracker,
4507 VkSurfaceFormatKHR* toTransform)
4508 {
4509 (void)resourceTracker;
4510 (void)toTransform;
4511 }
4512
4513 #endif
4514 #ifdef VK_KHR_swapchain
transform_tohost_VkSwapchainCreateInfoKHR(ResourceTracker * resourceTracker,VkSwapchainCreateInfoKHR * toTransform)4515 void transform_tohost_VkSwapchainCreateInfoKHR(
4516 ResourceTracker* resourceTracker,
4517 VkSwapchainCreateInfoKHR* toTransform)
4518 {
4519 (void)resourceTracker;
4520 (void)toTransform;
4521 if (toTransform->pNext)
4522 {
4523 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4524 }
4525 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->imageExtent));
4526 }
4527
transform_fromhost_VkSwapchainCreateInfoKHR(ResourceTracker * resourceTracker,VkSwapchainCreateInfoKHR * toTransform)4528 void transform_fromhost_VkSwapchainCreateInfoKHR(
4529 ResourceTracker* resourceTracker,
4530 VkSwapchainCreateInfoKHR* toTransform)
4531 {
4532 (void)resourceTracker;
4533 (void)toTransform;
4534 if (toTransform->pNext)
4535 {
4536 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4537 }
4538 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->imageExtent));
4539 }
4540
transform_tohost_VkPresentInfoKHR(ResourceTracker * resourceTracker,VkPresentInfoKHR * toTransform)4541 void transform_tohost_VkPresentInfoKHR(
4542 ResourceTracker* resourceTracker,
4543 VkPresentInfoKHR* toTransform)
4544 {
4545 (void)resourceTracker;
4546 (void)toTransform;
4547 if (toTransform->pNext)
4548 {
4549 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4550 }
4551 }
4552
transform_fromhost_VkPresentInfoKHR(ResourceTracker * resourceTracker,VkPresentInfoKHR * toTransform)4553 void transform_fromhost_VkPresentInfoKHR(
4554 ResourceTracker* resourceTracker,
4555 VkPresentInfoKHR* toTransform)
4556 {
4557 (void)resourceTracker;
4558 (void)toTransform;
4559 if (toTransform->pNext)
4560 {
4561 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4562 }
4563 }
4564
transform_tohost_VkImageSwapchainCreateInfoKHR(ResourceTracker * resourceTracker,VkImageSwapchainCreateInfoKHR * toTransform)4565 void transform_tohost_VkImageSwapchainCreateInfoKHR(
4566 ResourceTracker* resourceTracker,
4567 VkImageSwapchainCreateInfoKHR* toTransform)
4568 {
4569 (void)resourceTracker;
4570 (void)toTransform;
4571 if (toTransform->pNext)
4572 {
4573 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4574 }
4575 }
4576
transform_fromhost_VkImageSwapchainCreateInfoKHR(ResourceTracker * resourceTracker,VkImageSwapchainCreateInfoKHR * toTransform)4577 void transform_fromhost_VkImageSwapchainCreateInfoKHR(
4578 ResourceTracker* resourceTracker,
4579 VkImageSwapchainCreateInfoKHR* toTransform)
4580 {
4581 (void)resourceTracker;
4582 (void)toTransform;
4583 if (toTransform->pNext)
4584 {
4585 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4586 }
4587 }
4588
transform_tohost_VkBindImageMemorySwapchainInfoKHR(ResourceTracker * resourceTracker,VkBindImageMemorySwapchainInfoKHR * toTransform)4589 void transform_tohost_VkBindImageMemorySwapchainInfoKHR(
4590 ResourceTracker* resourceTracker,
4591 VkBindImageMemorySwapchainInfoKHR* toTransform)
4592 {
4593 (void)resourceTracker;
4594 (void)toTransform;
4595 if (toTransform->pNext)
4596 {
4597 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4598 }
4599 }
4600
transform_fromhost_VkBindImageMemorySwapchainInfoKHR(ResourceTracker * resourceTracker,VkBindImageMemorySwapchainInfoKHR * toTransform)4601 void transform_fromhost_VkBindImageMemorySwapchainInfoKHR(
4602 ResourceTracker* resourceTracker,
4603 VkBindImageMemorySwapchainInfoKHR* toTransform)
4604 {
4605 (void)resourceTracker;
4606 (void)toTransform;
4607 if (toTransform->pNext)
4608 {
4609 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4610 }
4611 }
4612
transform_tohost_VkAcquireNextImageInfoKHR(ResourceTracker * resourceTracker,VkAcquireNextImageInfoKHR * toTransform)4613 void transform_tohost_VkAcquireNextImageInfoKHR(
4614 ResourceTracker* resourceTracker,
4615 VkAcquireNextImageInfoKHR* toTransform)
4616 {
4617 (void)resourceTracker;
4618 (void)toTransform;
4619 if (toTransform->pNext)
4620 {
4621 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4622 }
4623 }
4624
transform_fromhost_VkAcquireNextImageInfoKHR(ResourceTracker * resourceTracker,VkAcquireNextImageInfoKHR * toTransform)4625 void transform_fromhost_VkAcquireNextImageInfoKHR(
4626 ResourceTracker* resourceTracker,
4627 VkAcquireNextImageInfoKHR* toTransform)
4628 {
4629 (void)resourceTracker;
4630 (void)toTransform;
4631 if (toTransform->pNext)
4632 {
4633 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4634 }
4635 }
4636
transform_tohost_VkDeviceGroupPresentCapabilitiesKHR(ResourceTracker * resourceTracker,VkDeviceGroupPresentCapabilitiesKHR * toTransform)4637 void transform_tohost_VkDeviceGroupPresentCapabilitiesKHR(
4638 ResourceTracker* resourceTracker,
4639 VkDeviceGroupPresentCapabilitiesKHR* toTransform)
4640 {
4641 (void)resourceTracker;
4642 (void)toTransform;
4643 if (toTransform->pNext)
4644 {
4645 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4646 }
4647 }
4648
transform_fromhost_VkDeviceGroupPresentCapabilitiesKHR(ResourceTracker * resourceTracker,VkDeviceGroupPresentCapabilitiesKHR * toTransform)4649 void transform_fromhost_VkDeviceGroupPresentCapabilitiesKHR(
4650 ResourceTracker* resourceTracker,
4651 VkDeviceGroupPresentCapabilitiesKHR* toTransform)
4652 {
4653 (void)resourceTracker;
4654 (void)toTransform;
4655 if (toTransform->pNext)
4656 {
4657 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4658 }
4659 }
4660
transform_tohost_VkDeviceGroupPresentInfoKHR(ResourceTracker * resourceTracker,VkDeviceGroupPresentInfoKHR * toTransform)4661 void transform_tohost_VkDeviceGroupPresentInfoKHR(
4662 ResourceTracker* resourceTracker,
4663 VkDeviceGroupPresentInfoKHR* toTransform)
4664 {
4665 (void)resourceTracker;
4666 (void)toTransform;
4667 if (toTransform->pNext)
4668 {
4669 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4670 }
4671 }
4672
transform_fromhost_VkDeviceGroupPresentInfoKHR(ResourceTracker * resourceTracker,VkDeviceGroupPresentInfoKHR * toTransform)4673 void transform_fromhost_VkDeviceGroupPresentInfoKHR(
4674 ResourceTracker* resourceTracker,
4675 VkDeviceGroupPresentInfoKHR* toTransform)
4676 {
4677 (void)resourceTracker;
4678 (void)toTransform;
4679 if (toTransform->pNext)
4680 {
4681 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4682 }
4683 }
4684
transform_tohost_VkDeviceGroupSwapchainCreateInfoKHR(ResourceTracker * resourceTracker,VkDeviceGroupSwapchainCreateInfoKHR * toTransform)4685 void transform_tohost_VkDeviceGroupSwapchainCreateInfoKHR(
4686 ResourceTracker* resourceTracker,
4687 VkDeviceGroupSwapchainCreateInfoKHR* toTransform)
4688 {
4689 (void)resourceTracker;
4690 (void)toTransform;
4691 if (toTransform->pNext)
4692 {
4693 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4694 }
4695 }
4696
transform_fromhost_VkDeviceGroupSwapchainCreateInfoKHR(ResourceTracker * resourceTracker,VkDeviceGroupSwapchainCreateInfoKHR * toTransform)4697 void transform_fromhost_VkDeviceGroupSwapchainCreateInfoKHR(
4698 ResourceTracker* resourceTracker,
4699 VkDeviceGroupSwapchainCreateInfoKHR* toTransform)
4700 {
4701 (void)resourceTracker;
4702 (void)toTransform;
4703 if (toTransform->pNext)
4704 {
4705 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4706 }
4707 }
4708
4709 #endif
4710 #ifdef VK_KHR_display
transform_tohost_VkDisplayPropertiesKHR(ResourceTracker * resourceTracker,VkDisplayPropertiesKHR * toTransform)4711 void transform_tohost_VkDisplayPropertiesKHR(
4712 ResourceTracker* resourceTracker,
4713 VkDisplayPropertiesKHR* toTransform)
4714 {
4715 (void)resourceTracker;
4716 (void)toTransform;
4717 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->physicalDimensions));
4718 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->physicalResolution));
4719 }
4720
transform_fromhost_VkDisplayPropertiesKHR(ResourceTracker * resourceTracker,VkDisplayPropertiesKHR * toTransform)4721 void transform_fromhost_VkDisplayPropertiesKHR(
4722 ResourceTracker* resourceTracker,
4723 VkDisplayPropertiesKHR* toTransform)
4724 {
4725 (void)resourceTracker;
4726 (void)toTransform;
4727 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->physicalDimensions));
4728 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->physicalResolution));
4729 }
4730
transform_tohost_VkDisplayModeParametersKHR(ResourceTracker * resourceTracker,VkDisplayModeParametersKHR * toTransform)4731 void transform_tohost_VkDisplayModeParametersKHR(
4732 ResourceTracker* resourceTracker,
4733 VkDisplayModeParametersKHR* toTransform)
4734 {
4735 (void)resourceTracker;
4736 (void)toTransform;
4737 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->visibleRegion));
4738 }
4739
transform_fromhost_VkDisplayModeParametersKHR(ResourceTracker * resourceTracker,VkDisplayModeParametersKHR * toTransform)4740 void transform_fromhost_VkDisplayModeParametersKHR(
4741 ResourceTracker* resourceTracker,
4742 VkDisplayModeParametersKHR* toTransform)
4743 {
4744 (void)resourceTracker;
4745 (void)toTransform;
4746 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->visibleRegion));
4747 }
4748
transform_tohost_VkDisplayModePropertiesKHR(ResourceTracker * resourceTracker,VkDisplayModePropertiesKHR * toTransform)4749 void transform_tohost_VkDisplayModePropertiesKHR(
4750 ResourceTracker* resourceTracker,
4751 VkDisplayModePropertiesKHR* toTransform)
4752 {
4753 (void)resourceTracker;
4754 (void)toTransform;
4755 transform_tohost_VkDisplayModeParametersKHR(resourceTracker, (VkDisplayModeParametersKHR*)(&toTransform->parameters));
4756 }
4757
transform_fromhost_VkDisplayModePropertiesKHR(ResourceTracker * resourceTracker,VkDisplayModePropertiesKHR * toTransform)4758 void transform_fromhost_VkDisplayModePropertiesKHR(
4759 ResourceTracker* resourceTracker,
4760 VkDisplayModePropertiesKHR* toTransform)
4761 {
4762 (void)resourceTracker;
4763 (void)toTransform;
4764 transform_fromhost_VkDisplayModeParametersKHR(resourceTracker, (VkDisplayModeParametersKHR*)(&toTransform->parameters));
4765 }
4766
transform_tohost_VkDisplayModeCreateInfoKHR(ResourceTracker * resourceTracker,VkDisplayModeCreateInfoKHR * toTransform)4767 void transform_tohost_VkDisplayModeCreateInfoKHR(
4768 ResourceTracker* resourceTracker,
4769 VkDisplayModeCreateInfoKHR* toTransform)
4770 {
4771 (void)resourceTracker;
4772 (void)toTransform;
4773 if (toTransform->pNext)
4774 {
4775 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4776 }
4777 transform_tohost_VkDisplayModeParametersKHR(resourceTracker, (VkDisplayModeParametersKHR*)(&toTransform->parameters));
4778 }
4779
transform_fromhost_VkDisplayModeCreateInfoKHR(ResourceTracker * resourceTracker,VkDisplayModeCreateInfoKHR * toTransform)4780 void transform_fromhost_VkDisplayModeCreateInfoKHR(
4781 ResourceTracker* resourceTracker,
4782 VkDisplayModeCreateInfoKHR* toTransform)
4783 {
4784 (void)resourceTracker;
4785 (void)toTransform;
4786 if (toTransform->pNext)
4787 {
4788 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4789 }
4790 transform_fromhost_VkDisplayModeParametersKHR(resourceTracker, (VkDisplayModeParametersKHR*)(&toTransform->parameters));
4791 }
4792
transform_tohost_VkDisplayPlaneCapabilitiesKHR(ResourceTracker * resourceTracker,VkDisplayPlaneCapabilitiesKHR * toTransform)4793 void transform_tohost_VkDisplayPlaneCapabilitiesKHR(
4794 ResourceTracker* resourceTracker,
4795 VkDisplayPlaneCapabilitiesKHR* toTransform)
4796 {
4797 (void)resourceTracker;
4798 (void)toTransform;
4799 transform_tohost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->minSrcPosition));
4800 transform_tohost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->maxSrcPosition));
4801 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->minSrcExtent));
4802 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxSrcExtent));
4803 transform_tohost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->minDstPosition));
4804 transform_tohost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->maxDstPosition));
4805 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->minDstExtent));
4806 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxDstExtent));
4807 }
4808
transform_fromhost_VkDisplayPlaneCapabilitiesKHR(ResourceTracker * resourceTracker,VkDisplayPlaneCapabilitiesKHR * toTransform)4809 void transform_fromhost_VkDisplayPlaneCapabilitiesKHR(
4810 ResourceTracker* resourceTracker,
4811 VkDisplayPlaneCapabilitiesKHR* toTransform)
4812 {
4813 (void)resourceTracker;
4814 (void)toTransform;
4815 transform_fromhost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->minSrcPosition));
4816 transform_fromhost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->maxSrcPosition));
4817 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->minSrcExtent));
4818 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxSrcExtent));
4819 transform_fromhost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->minDstPosition));
4820 transform_fromhost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->maxDstPosition));
4821 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->minDstExtent));
4822 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxDstExtent));
4823 }
4824
transform_tohost_VkDisplayPlanePropertiesKHR(ResourceTracker * resourceTracker,VkDisplayPlanePropertiesKHR * toTransform)4825 void transform_tohost_VkDisplayPlanePropertiesKHR(
4826 ResourceTracker* resourceTracker,
4827 VkDisplayPlanePropertiesKHR* toTransform)
4828 {
4829 (void)resourceTracker;
4830 (void)toTransform;
4831 }
4832
transform_fromhost_VkDisplayPlanePropertiesKHR(ResourceTracker * resourceTracker,VkDisplayPlanePropertiesKHR * toTransform)4833 void transform_fromhost_VkDisplayPlanePropertiesKHR(
4834 ResourceTracker* resourceTracker,
4835 VkDisplayPlanePropertiesKHR* toTransform)
4836 {
4837 (void)resourceTracker;
4838 (void)toTransform;
4839 }
4840
transform_tohost_VkDisplaySurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkDisplaySurfaceCreateInfoKHR * toTransform)4841 void transform_tohost_VkDisplaySurfaceCreateInfoKHR(
4842 ResourceTracker* resourceTracker,
4843 VkDisplaySurfaceCreateInfoKHR* toTransform)
4844 {
4845 (void)resourceTracker;
4846 (void)toTransform;
4847 if (toTransform->pNext)
4848 {
4849 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4850 }
4851 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->imageExtent));
4852 }
4853
transform_fromhost_VkDisplaySurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkDisplaySurfaceCreateInfoKHR * toTransform)4854 void transform_fromhost_VkDisplaySurfaceCreateInfoKHR(
4855 ResourceTracker* resourceTracker,
4856 VkDisplaySurfaceCreateInfoKHR* toTransform)
4857 {
4858 (void)resourceTracker;
4859 (void)toTransform;
4860 if (toTransform->pNext)
4861 {
4862 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4863 }
4864 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->imageExtent));
4865 }
4866
4867 #endif
4868 #ifdef VK_KHR_display_swapchain
transform_tohost_VkDisplayPresentInfoKHR(ResourceTracker * resourceTracker,VkDisplayPresentInfoKHR * toTransform)4869 void transform_tohost_VkDisplayPresentInfoKHR(
4870 ResourceTracker* resourceTracker,
4871 VkDisplayPresentInfoKHR* toTransform)
4872 {
4873 (void)resourceTracker;
4874 (void)toTransform;
4875 if (toTransform->pNext)
4876 {
4877 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4878 }
4879 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->srcRect));
4880 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->dstRect));
4881 }
4882
transform_fromhost_VkDisplayPresentInfoKHR(ResourceTracker * resourceTracker,VkDisplayPresentInfoKHR * toTransform)4883 void transform_fromhost_VkDisplayPresentInfoKHR(
4884 ResourceTracker* resourceTracker,
4885 VkDisplayPresentInfoKHR* toTransform)
4886 {
4887 (void)resourceTracker;
4888 (void)toTransform;
4889 if (toTransform->pNext)
4890 {
4891 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4892 }
4893 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->srcRect));
4894 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->dstRect));
4895 }
4896
4897 #endif
4898 #ifdef VK_KHR_xlib_surface
transform_tohost_VkXlibSurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkXlibSurfaceCreateInfoKHR * toTransform)4899 void transform_tohost_VkXlibSurfaceCreateInfoKHR(
4900 ResourceTracker* resourceTracker,
4901 VkXlibSurfaceCreateInfoKHR* toTransform)
4902 {
4903 (void)resourceTracker;
4904 (void)toTransform;
4905 if (toTransform->pNext)
4906 {
4907 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4908 }
4909 }
4910
transform_fromhost_VkXlibSurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkXlibSurfaceCreateInfoKHR * toTransform)4911 void transform_fromhost_VkXlibSurfaceCreateInfoKHR(
4912 ResourceTracker* resourceTracker,
4913 VkXlibSurfaceCreateInfoKHR* toTransform)
4914 {
4915 (void)resourceTracker;
4916 (void)toTransform;
4917 if (toTransform->pNext)
4918 {
4919 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4920 }
4921 }
4922
4923 #endif
4924 #ifdef VK_KHR_xcb_surface
transform_tohost_VkXcbSurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkXcbSurfaceCreateInfoKHR * toTransform)4925 void transform_tohost_VkXcbSurfaceCreateInfoKHR(
4926 ResourceTracker* resourceTracker,
4927 VkXcbSurfaceCreateInfoKHR* toTransform)
4928 {
4929 (void)resourceTracker;
4930 (void)toTransform;
4931 if (toTransform->pNext)
4932 {
4933 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4934 }
4935 }
4936
transform_fromhost_VkXcbSurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkXcbSurfaceCreateInfoKHR * toTransform)4937 void transform_fromhost_VkXcbSurfaceCreateInfoKHR(
4938 ResourceTracker* resourceTracker,
4939 VkXcbSurfaceCreateInfoKHR* toTransform)
4940 {
4941 (void)resourceTracker;
4942 (void)toTransform;
4943 if (toTransform->pNext)
4944 {
4945 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4946 }
4947 }
4948
4949 #endif
4950 #ifdef VK_KHR_wayland_surface
transform_tohost_VkWaylandSurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkWaylandSurfaceCreateInfoKHR * toTransform)4951 void transform_tohost_VkWaylandSurfaceCreateInfoKHR(
4952 ResourceTracker* resourceTracker,
4953 VkWaylandSurfaceCreateInfoKHR* toTransform)
4954 {
4955 (void)resourceTracker;
4956 (void)toTransform;
4957 if (toTransform->pNext)
4958 {
4959 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4960 }
4961 }
4962
transform_fromhost_VkWaylandSurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkWaylandSurfaceCreateInfoKHR * toTransform)4963 void transform_fromhost_VkWaylandSurfaceCreateInfoKHR(
4964 ResourceTracker* resourceTracker,
4965 VkWaylandSurfaceCreateInfoKHR* toTransform)
4966 {
4967 (void)resourceTracker;
4968 (void)toTransform;
4969 if (toTransform->pNext)
4970 {
4971 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4972 }
4973 }
4974
4975 #endif
4976 #ifdef VK_KHR_mir_surface
transform_tohost_VkMirSurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkMirSurfaceCreateInfoKHR * toTransform)4977 void transform_tohost_VkMirSurfaceCreateInfoKHR(
4978 ResourceTracker* resourceTracker,
4979 VkMirSurfaceCreateInfoKHR* toTransform)
4980 {
4981 (void)resourceTracker;
4982 (void)toTransform;
4983 if (toTransform->pNext)
4984 {
4985 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4986 }
4987 }
4988
transform_fromhost_VkMirSurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkMirSurfaceCreateInfoKHR * toTransform)4989 void transform_fromhost_VkMirSurfaceCreateInfoKHR(
4990 ResourceTracker* resourceTracker,
4991 VkMirSurfaceCreateInfoKHR* toTransform)
4992 {
4993 (void)resourceTracker;
4994 (void)toTransform;
4995 if (toTransform->pNext)
4996 {
4997 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4998 }
4999 }
5000
5001 #endif
5002 #ifdef VK_KHR_android_surface
transform_tohost_VkAndroidSurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkAndroidSurfaceCreateInfoKHR * toTransform)5003 void transform_tohost_VkAndroidSurfaceCreateInfoKHR(
5004 ResourceTracker* resourceTracker,
5005 VkAndroidSurfaceCreateInfoKHR* toTransform)
5006 {
5007 (void)resourceTracker;
5008 (void)toTransform;
5009 if (toTransform->pNext)
5010 {
5011 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5012 }
5013 }
5014
transform_fromhost_VkAndroidSurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkAndroidSurfaceCreateInfoKHR * toTransform)5015 void transform_fromhost_VkAndroidSurfaceCreateInfoKHR(
5016 ResourceTracker* resourceTracker,
5017 VkAndroidSurfaceCreateInfoKHR* toTransform)
5018 {
5019 (void)resourceTracker;
5020 (void)toTransform;
5021 if (toTransform->pNext)
5022 {
5023 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5024 }
5025 }
5026
5027 #endif
5028 #ifdef VK_KHR_win32_surface
transform_tohost_VkWin32SurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkWin32SurfaceCreateInfoKHR * toTransform)5029 void transform_tohost_VkWin32SurfaceCreateInfoKHR(
5030 ResourceTracker* resourceTracker,
5031 VkWin32SurfaceCreateInfoKHR* toTransform)
5032 {
5033 (void)resourceTracker;
5034 (void)toTransform;
5035 if (toTransform->pNext)
5036 {
5037 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5038 }
5039 }
5040
transform_fromhost_VkWin32SurfaceCreateInfoKHR(ResourceTracker * resourceTracker,VkWin32SurfaceCreateInfoKHR * toTransform)5041 void transform_fromhost_VkWin32SurfaceCreateInfoKHR(
5042 ResourceTracker* resourceTracker,
5043 VkWin32SurfaceCreateInfoKHR* toTransform)
5044 {
5045 (void)resourceTracker;
5046 (void)toTransform;
5047 if (toTransform->pNext)
5048 {
5049 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5050 }
5051 }
5052
5053 #endif
5054 #ifdef VK_KHR_sampler_mirror_clamp_to_edge
5055 #endif
5056 #ifdef VK_KHR_multiview
5057 #endif
5058 #ifdef VK_KHR_get_physical_device_properties2
5059 #endif
5060 #ifdef VK_KHR_device_group
5061 #endif
5062 #ifdef VK_KHR_shader_draw_parameters
5063 #endif
5064 #ifdef VK_KHR_maintenance1
5065 #endif
5066 #ifdef VK_KHR_device_group_creation
5067 #endif
5068 #ifdef VK_KHR_external_memory_capabilities
5069 #endif
5070 #ifdef VK_KHR_external_memory
5071 #endif
5072 #ifdef VK_KHR_external_memory_win32
transform_tohost_VkImportMemoryWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkImportMemoryWin32HandleInfoKHR * toTransform)5073 void transform_tohost_VkImportMemoryWin32HandleInfoKHR(
5074 ResourceTracker* resourceTracker,
5075 VkImportMemoryWin32HandleInfoKHR* toTransform)
5076 {
5077 (void)resourceTracker;
5078 (void)toTransform;
5079 if (toTransform->pNext)
5080 {
5081 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5082 }
5083 }
5084
transform_fromhost_VkImportMemoryWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkImportMemoryWin32HandleInfoKHR * toTransform)5085 void transform_fromhost_VkImportMemoryWin32HandleInfoKHR(
5086 ResourceTracker* resourceTracker,
5087 VkImportMemoryWin32HandleInfoKHR* toTransform)
5088 {
5089 (void)resourceTracker;
5090 (void)toTransform;
5091 if (toTransform->pNext)
5092 {
5093 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5094 }
5095 }
5096
transform_tohost_VkExportMemoryWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkExportMemoryWin32HandleInfoKHR * toTransform)5097 void transform_tohost_VkExportMemoryWin32HandleInfoKHR(
5098 ResourceTracker* resourceTracker,
5099 VkExportMemoryWin32HandleInfoKHR* toTransform)
5100 {
5101 (void)resourceTracker;
5102 (void)toTransform;
5103 if (toTransform->pNext)
5104 {
5105 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5106 }
5107 }
5108
transform_fromhost_VkExportMemoryWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkExportMemoryWin32HandleInfoKHR * toTransform)5109 void transform_fromhost_VkExportMemoryWin32HandleInfoKHR(
5110 ResourceTracker* resourceTracker,
5111 VkExportMemoryWin32HandleInfoKHR* toTransform)
5112 {
5113 (void)resourceTracker;
5114 (void)toTransform;
5115 if (toTransform->pNext)
5116 {
5117 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5118 }
5119 }
5120
transform_tohost_VkMemoryWin32HandlePropertiesKHR(ResourceTracker * resourceTracker,VkMemoryWin32HandlePropertiesKHR * toTransform)5121 void transform_tohost_VkMemoryWin32HandlePropertiesKHR(
5122 ResourceTracker* resourceTracker,
5123 VkMemoryWin32HandlePropertiesKHR* toTransform)
5124 {
5125 (void)resourceTracker;
5126 (void)toTransform;
5127 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
5128 if (toTransform->pNext)
5129 {
5130 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5131 }
5132 }
5133
transform_fromhost_VkMemoryWin32HandlePropertiesKHR(ResourceTracker * resourceTracker,VkMemoryWin32HandlePropertiesKHR * toTransform)5134 void transform_fromhost_VkMemoryWin32HandlePropertiesKHR(
5135 ResourceTracker* resourceTracker,
5136 VkMemoryWin32HandlePropertiesKHR* toTransform)
5137 {
5138 (void)resourceTracker;
5139 (void)toTransform;
5140 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
5141 if (toTransform->pNext)
5142 {
5143 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5144 }
5145 }
5146
transform_tohost_VkMemoryGetWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkMemoryGetWin32HandleInfoKHR * toTransform)5147 void transform_tohost_VkMemoryGetWin32HandleInfoKHR(
5148 ResourceTracker* resourceTracker,
5149 VkMemoryGetWin32HandleInfoKHR* toTransform)
5150 {
5151 (void)resourceTracker;
5152 (void)toTransform;
5153 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
5154 if (toTransform->pNext)
5155 {
5156 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5157 }
5158 }
5159
transform_fromhost_VkMemoryGetWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkMemoryGetWin32HandleInfoKHR * toTransform)5160 void transform_fromhost_VkMemoryGetWin32HandleInfoKHR(
5161 ResourceTracker* resourceTracker,
5162 VkMemoryGetWin32HandleInfoKHR* toTransform)
5163 {
5164 (void)resourceTracker;
5165 (void)toTransform;
5166 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
5167 if (toTransform->pNext)
5168 {
5169 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5170 }
5171 }
5172
5173 #endif
5174 #ifdef VK_KHR_external_memory_fd
transform_tohost_VkImportMemoryFdInfoKHR(ResourceTracker * resourceTracker,VkImportMemoryFdInfoKHR * toTransform)5175 void transform_tohost_VkImportMemoryFdInfoKHR(
5176 ResourceTracker* resourceTracker,
5177 VkImportMemoryFdInfoKHR* toTransform)
5178 {
5179 (void)resourceTracker;
5180 (void)toTransform;
5181 if (toTransform->pNext)
5182 {
5183 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5184 }
5185 }
5186
transform_fromhost_VkImportMemoryFdInfoKHR(ResourceTracker * resourceTracker,VkImportMemoryFdInfoKHR * toTransform)5187 void transform_fromhost_VkImportMemoryFdInfoKHR(
5188 ResourceTracker* resourceTracker,
5189 VkImportMemoryFdInfoKHR* toTransform)
5190 {
5191 (void)resourceTracker;
5192 (void)toTransform;
5193 if (toTransform->pNext)
5194 {
5195 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5196 }
5197 }
5198
transform_tohost_VkMemoryFdPropertiesKHR(ResourceTracker * resourceTracker,VkMemoryFdPropertiesKHR * toTransform)5199 void transform_tohost_VkMemoryFdPropertiesKHR(
5200 ResourceTracker* resourceTracker,
5201 VkMemoryFdPropertiesKHR* toTransform)
5202 {
5203 (void)resourceTracker;
5204 (void)toTransform;
5205 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
5206 if (toTransform->pNext)
5207 {
5208 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5209 }
5210 }
5211
transform_fromhost_VkMemoryFdPropertiesKHR(ResourceTracker * resourceTracker,VkMemoryFdPropertiesKHR * toTransform)5212 void transform_fromhost_VkMemoryFdPropertiesKHR(
5213 ResourceTracker* resourceTracker,
5214 VkMemoryFdPropertiesKHR* toTransform)
5215 {
5216 (void)resourceTracker;
5217 (void)toTransform;
5218 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
5219 if (toTransform->pNext)
5220 {
5221 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5222 }
5223 }
5224
transform_tohost_VkMemoryGetFdInfoKHR(ResourceTracker * resourceTracker,VkMemoryGetFdInfoKHR * toTransform)5225 void transform_tohost_VkMemoryGetFdInfoKHR(
5226 ResourceTracker* resourceTracker,
5227 VkMemoryGetFdInfoKHR* toTransform)
5228 {
5229 (void)resourceTracker;
5230 (void)toTransform;
5231 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
5232 if (toTransform->pNext)
5233 {
5234 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5235 }
5236 }
5237
transform_fromhost_VkMemoryGetFdInfoKHR(ResourceTracker * resourceTracker,VkMemoryGetFdInfoKHR * toTransform)5238 void transform_fromhost_VkMemoryGetFdInfoKHR(
5239 ResourceTracker* resourceTracker,
5240 VkMemoryGetFdInfoKHR* toTransform)
5241 {
5242 (void)resourceTracker;
5243 (void)toTransform;
5244 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
5245 if (toTransform->pNext)
5246 {
5247 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5248 }
5249 }
5250
5251 #endif
5252 #ifdef VK_KHR_win32_keyed_mutex
transform_tohost_VkWin32KeyedMutexAcquireReleaseInfoKHR(ResourceTracker * resourceTracker,VkWin32KeyedMutexAcquireReleaseInfoKHR * toTransform)5253 void transform_tohost_VkWin32KeyedMutexAcquireReleaseInfoKHR(
5254 ResourceTracker* resourceTracker,
5255 VkWin32KeyedMutexAcquireReleaseInfoKHR* toTransform)
5256 {
5257 (void)resourceTracker;
5258 (void)toTransform;
5259 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)toTransform->pReleaseSyncs, toTransform->releaseCount, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
5260 if (toTransform->pNext)
5261 {
5262 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5263 }
5264 }
5265
transform_fromhost_VkWin32KeyedMutexAcquireReleaseInfoKHR(ResourceTracker * resourceTracker,VkWin32KeyedMutexAcquireReleaseInfoKHR * toTransform)5266 void transform_fromhost_VkWin32KeyedMutexAcquireReleaseInfoKHR(
5267 ResourceTracker* resourceTracker,
5268 VkWin32KeyedMutexAcquireReleaseInfoKHR* toTransform)
5269 {
5270 (void)resourceTracker;
5271 (void)toTransform;
5272 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)toTransform->pReleaseSyncs, toTransform->releaseCount, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
5273 if (toTransform->pNext)
5274 {
5275 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5276 }
5277 }
5278
5279 #endif
5280 #ifdef VK_KHR_external_semaphore_capabilities
5281 #endif
5282 #ifdef VK_KHR_external_semaphore
5283 #endif
5284 #ifdef VK_KHR_external_semaphore_win32
transform_tohost_VkImportSemaphoreWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkImportSemaphoreWin32HandleInfoKHR * toTransform)5285 void transform_tohost_VkImportSemaphoreWin32HandleInfoKHR(
5286 ResourceTracker* resourceTracker,
5287 VkImportSemaphoreWin32HandleInfoKHR* toTransform)
5288 {
5289 (void)resourceTracker;
5290 (void)toTransform;
5291 if (toTransform->pNext)
5292 {
5293 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5294 }
5295 }
5296
transform_fromhost_VkImportSemaphoreWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkImportSemaphoreWin32HandleInfoKHR * toTransform)5297 void transform_fromhost_VkImportSemaphoreWin32HandleInfoKHR(
5298 ResourceTracker* resourceTracker,
5299 VkImportSemaphoreWin32HandleInfoKHR* toTransform)
5300 {
5301 (void)resourceTracker;
5302 (void)toTransform;
5303 if (toTransform->pNext)
5304 {
5305 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5306 }
5307 }
5308
transform_tohost_VkExportSemaphoreWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkExportSemaphoreWin32HandleInfoKHR * toTransform)5309 void transform_tohost_VkExportSemaphoreWin32HandleInfoKHR(
5310 ResourceTracker* resourceTracker,
5311 VkExportSemaphoreWin32HandleInfoKHR* toTransform)
5312 {
5313 (void)resourceTracker;
5314 (void)toTransform;
5315 if (toTransform->pNext)
5316 {
5317 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5318 }
5319 }
5320
transform_fromhost_VkExportSemaphoreWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkExportSemaphoreWin32HandleInfoKHR * toTransform)5321 void transform_fromhost_VkExportSemaphoreWin32HandleInfoKHR(
5322 ResourceTracker* resourceTracker,
5323 VkExportSemaphoreWin32HandleInfoKHR* toTransform)
5324 {
5325 (void)resourceTracker;
5326 (void)toTransform;
5327 if (toTransform->pNext)
5328 {
5329 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5330 }
5331 }
5332
transform_tohost_VkD3D12FenceSubmitInfoKHR(ResourceTracker * resourceTracker,VkD3D12FenceSubmitInfoKHR * toTransform)5333 void transform_tohost_VkD3D12FenceSubmitInfoKHR(
5334 ResourceTracker* resourceTracker,
5335 VkD3D12FenceSubmitInfoKHR* toTransform)
5336 {
5337 (void)resourceTracker;
5338 (void)toTransform;
5339 if (toTransform->pNext)
5340 {
5341 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5342 }
5343 }
5344
transform_fromhost_VkD3D12FenceSubmitInfoKHR(ResourceTracker * resourceTracker,VkD3D12FenceSubmitInfoKHR * toTransform)5345 void transform_fromhost_VkD3D12FenceSubmitInfoKHR(
5346 ResourceTracker* resourceTracker,
5347 VkD3D12FenceSubmitInfoKHR* toTransform)
5348 {
5349 (void)resourceTracker;
5350 (void)toTransform;
5351 if (toTransform->pNext)
5352 {
5353 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5354 }
5355 }
5356
transform_tohost_VkSemaphoreGetWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkSemaphoreGetWin32HandleInfoKHR * toTransform)5357 void transform_tohost_VkSemaphoreGetWin32HandleInfoKHR(
5358 ResourceTracker* resourceTracker,
5359 VkSemaphoreGetWin32HandleInfoKHR* toTransform)
5360 {
5361 (void)resourceTracker;
5362 (void)toTransform;
5363 if (toTransform->pNext)
5364 {
5365 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5366 }
5367 }
5368
transform_fromhost_VkSemaphoreGetWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkSemaphoreGetWin32HandleInfoKHR * toTransform)5369 void transform_fromhost_VkSemaphoreGetWin32HandleInfoKHR(
5370 ResourceTracker* resourceTracker,
5371 VkSemaphoreGetWin32HandleInfoKHR* toTransform)
5372 {
5373 (void)resourceTracker;
5374 (void)toTransform;
5375 if (toTransform->pNext)
5376 {
5377 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5378 }
5379 }
5380
5381 #endif
5382 #ifdef VK_KHR_external_semaphore_fd
transform_tohost_VkImportSemaphoreFdInfoKHR(ResourceTracker * resourceTracker,VkImportSemaphoreFdInfoKHR * toTransform)5383 void transform_tohost_VkImportSemaphoreFdInfoKHR(
5384 ResourceTracker* resourceTracker,
5385 VkImportSemaphoreFdInfoKHR* toTransform)
5386 {
5387 (void)resourceTracker;
5388 (void)toTransform;
5389 if (toTransform->pNext)
5390 {
5391 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5392 }
5393 }
5394
transform_fromhost_VkImportSemaphoreFdInfoKHR(ResourceTracker * resourceTracker,VkImportSemaphoreFdInfoKHR * toTransform)5395 void transform_fromhost_VkImportSemaphoreFdInfoKHR(
5396 ResourceTracker* resourceTracker,
5397 VkImportSemaphoreFdInfoKHR* toTransform)
5398 {
5399 (void)resourceTracker;
5400 (void)toTransform;
5401 if (toTransform->pNext)
5402 {
5403 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5404 }
5405 }
5406
transform_tohost_VkSemaphoreGetFdInfoKHR(ResourceTracker * resourceTracker,VkSemaphoreGetFdInfoKHR * toTransform)5407 void transform_tohost_VkSemaphoreGetFdInfoKHR(
5408 ResourceTracker* resourceTracker,
5409 VkSemaphoreGetFdInfoKHR* toTransform)
5410 {
5411 (void)resourceTracker;
5412 (void)toTransform;
5413 if (toTransform->pNext)
5414 {
5415 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5416 }
5417 }
5418
transform_fromhost_VkSemaphoreGetFdInfoKHR(ResourceTracker * resourceTracker,VkSemaphoreGetFdInfoKHR * toTransform)5419 void transform_fromhost_VkSemaphoreGetFdInfoKHR(
5420 ResourceTracker* resourceTracker,
5421 VkSemaphoreGetFdInfoKHR* toTransform)
5422 {
5423 (void)resourceTracker;
5424 (void)toTransform;
5425 if (toTransform->pNext)
5426 {
5427 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5428 }
5429 }
5430
5431 #endif
5432 #ifdef VK_KHR_push_descriptor
transform_tohost_VkPhysicalDevicePushDescriptorPropertiesKHR(ResourceTracker * resourceTracker,VkPhysicalDevicePushDescriptorPropertiesKHR * toTransform)5433 void transform_tohost_VkPhysicalDevicePushDescriptorPropertiesKHR(
5434 ResourceTracker* resourceTracker,
5435 VkPhysicalDevicePushDescriptorPropertiesKHR* toTransform)
5436 {
5437 (void)resourceTracker;
5438 (void)toTransform;
5439 if (toTransform->pNext)
5440 {
5441 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5442 }
5443 }
5444
transform_fromhost_VkPhysicalDevicePushDescriptorPropertiesKHR(ResourceTracker * resourceTracker,VkPhysicalDevicePushDescriptorPropertiesKHR * toTransform)5445 void transform_fromhost_VkPhysicalDevicePushDescriptorPropertiesKHR(
5446 ResourceTracker* resourceTracker,
5447 VkPhysicalDevicePushDescriptorPropertiesKHR* toTransform)
5448 {
5449 (void)resourceTracker;
5450 (void)toTransform;
5451 if (toTransform->pNext)
5452 {
5453 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5454 }
5455 }
5456
5457 #endif
5458 #ifdef VK_KHR_16bit_storage
5459 #endif
5460 #ifdef VK_KHR_incremental_present
transform_tohost_VkRectLayerKHR(ResourceTracker * resourceTracker,VkRectLayerKHR * toTransform)5461 void transform_tohost_VkRectLayerKHR(
5462 ResourceTracker* resourceTracker,
5463 VkRectLayerKHR* toTransform)
5464 {
5465 (void)resourceTracker;
5466 (void)toTransform;
5467 transform_tohost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->offset));
5468 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->extent));
5469 }
5470
transform_fromhost_VkRectLayerKHR(ResourceTracker * resourceTracker,VkRectLayerKHR * toTransform)5471 void transform_fromhost_VkRectLayerKHR(
5472 ResourceTracker* resourceTracker,
5473 VkRectLayerKHR* toTransform)
5474 {
5475 (void)resourceTracker;
5476 (void)toTransform;
5477 transform_fromhost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->offset));
5478 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->extent));
5479 }
5480
transform_tohost_VkPresentRegionKHR(ResourceTracker * resourceTracker,VkPresentRegionKHR * toTransform)5481 void transform_tohost_VkPresentRegionKHR(
5482 ResourceTracker* resourceTracker,
5483 VkPresentRegionKHR* toTransform)
5484 {
5485 (void)resourceTracker;
5486 (void)toTransform;
5487 if (toTransform->pRectangles)
5488 {
5489 for (uint32_t i = 0; i < (uint32_t)toTransform->rectangleCount; ++i)
5490 {
5491 transform_tohost_VkRectLayerKHR(resourceTracker, (VkRectLayerKHR*)(toTransform->pRectangles + i));
5492 }
5493 }
5494 }
5495
transform_fromhost_VkPresentRegionKHR(ResourceTracker * resourceTracker,VkPresentRegionKHR * toTransform)5496 void transform_fromhost_VkPresentRegionKHR(
5497 ResourceTracker* resourceTracker,
5498 VkPresentRegionKHR* toTransform)
5499 {
5500 (void)resourceTracker;
5501 (void)toTransform;
5502 if (toTransform->pRectangles)
5503 {
5504 for (uint32_t i = 0; i < (uint32_t)toTransform->rectangleCount; ++i)
5505 {
5506 transform_fromhost_VkRectLayerKHR(resourceTracker, (VkRectLayerKHR*)(toTransform->pRectangles + i));
5507 }
5508 }
5509 }
5510
transform_tohost_VkPresentRegionsKHR(ResourceTracker * resourceTracker,VkPresentRegionsKHR * toTransform)5511 void transform_tohost_VkPresentRegionsKHR(
5512 ResourceTracker* resourceTracker,
5513 VkPresentRegionsKHR* toTransform)
5514 {
5515 (void)resourceTracker;
5516 (void)toTransform;
5517 if (toTransform->pNext)
5518 {
5519 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5520 }
5521 if (toTransform->pRegions)
5522 {
5523 for (uint32_t i = 0; i < (uint32_t)toTransform->swapchainCount; ++i)
5524 {
5525 transform_tohost_VkPresentRegionKHR(resourceTracker, (VkPresentRegionKHR*)(toTransform->pRegions + i));
5526 }
5527 }
5528 }
5529
transform_fromhost_VkPresentRegionsKHR(ResourceTracker * resourceTracker,VkPresentRegionsKHR * toTransform)5530 void transform_fromhost_VkPresentRegionsKHR(
5531 ResourceTracker* resourceTracker,
5532 VkPresentRegionsKHR* toTransform)
5533 {
5534 (void)resourceTracker;
5535 (void)toTransform;
5536 if (toTransform->pNext)
5537 {
5538 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5539 }
5540 if (toTransform->pRegions)
5541 {
5542 for (uint32_t i = 0; i < (uint32_t)toTransform->swapchainCount; ++i)
5543 {
5544 transform_fromhost_VkPresentRegionKHR(resourceTracker, (VkPresentRegionKHR*)(toTransform->pRegions + i));
5545 }
5546 }
5547 }
5548
5549 #endif
5550 #ifdef VK_KHR_descriptor_update_template
5551 #endif
5552 #ifdef VK_KHR_create_renderpass2
transform_tohost_VkAttachmentDescription2KHR(ResourceTracker * resourceTracker,VkAttachmentDescription2KHR * toTransform)5553 void transform_tohost_VkAttachmentDescription2KHR(
5554 ResourceTracker* resourceTracker,
5555 VkAttachmentDescription2KHR* toTransform)
5556 {
5557 (void)resourceTracker;
5558 (void)toTransform;
5559 if (toTransform->pNext)
5560 {
5561 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5562 }
5563 }
5564
transform_fromhost_VkAttachmentDescription2KHR(ResourceTracker * resourceTracker,VkAttachmentDescription2KHR * toTransform)5565 void transform_fromhost_VkAttachmentDescription2KHR(
5566 ResourceTracker* resourceTracker,
5567 VkAttachmentDescription2KHR* toTransform)
5568 {
5569 (void)resourceTracker;
5570 (void)toTransform;
5571 if (toTransform->pNext)
5572 {
5573 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5574 }
5575 }
5576
transform_tohost_VkAttachmentReference2KHR(ResourceTracker * resourceTracker,VkAttachmentReference2KHR * toTransform)5577 void transform_tohost_VkAttachmentReference2KHR(
5578 ResourceTracker* resourceTracker,
5579 VkAttachmentReference2KHR* toTransform)
5580 {
5581 (void)resourceTracker;
5582 (void)toTransform;
5583 if (toTransform->pNext)
5584 {
5585 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5586 }
5587 }
5588
transform_fromhost_VkAttachmentReference2KHR(ResourceTracker * resourceTracker,VkAttachmentReference2KHR * toTransform)5589 void transform_fromhost_VkAttachmentReference2KHR(
5590 ResourceTracker* resourceTracker,
5591 VkAttachmentReference2KHR* toTransform)
5592 {
5593 (void)resourceTracker;
5594 (void)toTransform;
5595 if (toTransform->pNext)
5596 {
5597 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5598 }
5599 }
5600
transform_tohost_VkSubpassDescription2KHR(ResourceTracker * resourceTracker,VkSubpassDescription2KHR * toTransform)5601 void transform_tohost_VkSubpassDescription2KHR(
5602 ResourceTracker* resourceTracker,
5603 VkSubpassDescription2KHR* toTransform)
5604 {
5605 (void)resourceTracker;
5606 (void)toTransform;
5607 if (toTransform->pNext)
5608 {
5609 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5610 }
5611 if (toTransform->pInputAttachments)
5612 {
5613 for (uint32_t i = 0; i < (uint32_t)toTransform->inputAttachmentCount; ++i)
5614 {
5615 transform_tohost_VkAttachmentReference2KHR(resourceTracker, (VkAttachmentReference2KHR*)(toTransform->pInputAttachments + i));
5616 }
5617 }
5618 if (toTransform->pColorAttachments)
5619 {
5620 for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i)
5621 {
5622 transform_tohost_VkAttachmentReference2KHR(resourceTracker, (VkAttachmentReference2KHR*)(toTransform->pColorAttachments + i));
5623 }
5624 }
5625 if (toTransform->pResolveAttachments)
5626 {
5627 for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i)
5628 {
5629 transform_tohost_VkAttachmentReference2KHR(resourceTracker, (VkAttachmentReference2KHR*)(toTransform->pResolveAttachments + i));
5630 }
5631 }
5632 if (toTransform->pDepthStencilAttachment)
5633 {
5634 transform_tohost_VkAttachmentReference2KHR(resourceTracker, (VkAttachmentReference2KHR*)(toTransform->pDepthStencilAttachment));
5635 }
5636 }
5637
transform_fromhost_VkSubpassDescription2KHR(ResourceTracker * resourceTracker,VkSubpassDescription2KHR * toTransform)5638 void transform_fromhost_VkSubpassDescription2KHR(
5639 ResourceTracker* resourceTracker,
5640 VkSubpassDescription2KHR* toTransform)
5641 {
5642 (void)resourceTracker;
5643 (void)toTransform;
5644 if (toTransform->pNext)
5645 {
5646 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5647 }
5648 if (toTransform->pInputAttachments)
5649 {
5650 for (uint32_t i = 0; i < (uint32_t)toTransform->inputAttachmentCount; ++i)
5651 {
5652 transform_fromhost_VkAttachmentReference2KHR(resourceTracker, (VkAttachmentReference2KHR*)(toTransform->pInputAttachments + i));
5653 }
5654 }
5655 if (toTransform->pColorAttachments)
5656 {
5657 for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i)
5658 {
5659 transform_fromhost_VkAttachmentReference2KHR(resourceTracker, (VkAttachmentReference2KHR*)(toTransform->pColorAttachments + i));
5660 }
5661 }
5662 if (toTransform->pResolveAttachments)
5663 {
5664 for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i)
5665 {
5666 transform_fromhost_VkAttachmentReference2KHR(resourceTracker, (VkAttachmentReference2KHR*)(toTransform->pResolveAttachments + i));
5667 }
5668 }
5669 if (toTransform->pDepthStencilAttachment)
5670 {
5671 transform_fromhost_VkAttachmentReference2KHR(resourceTracker, (VkAttachmentReference2KHR*)(toTransform->pDepthStencilAttachment));
5672 }
5673 }
5674
transform_tohost_VkSubpassDependency2KHR(ResourceTracker * resourceTracker,VkSubpassDependency2KHR * toTransform)5675 void transform_tohost_VkSubpassDependency2KHR(
5676 ResourceTracker* resourceTracker,
5677 VkSubpassDependency2KHR* toTransform)
5678 {
5679 (void)resourceTracker;
5680 (void)toTransform;
5681 if (toTransform->pNext)
5682 {
5683 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5684 }
5685 }
5686
transform_fromhost_VkSubpassDependency2KHR(ResourceTracker * resourceTracker,VkSubpassDependency2KHR * toTransform)5687 void transform_fromhost_VkSubpassDependency2KHR(
5688 ResourceTracker* resourceTracker,
5689 VkSubpassDependency2KHR* toTransform)
5690 {
5691 (void)resourceTracker;
5692 (void)toTransform;
5693 if (toTransform->pNext)
5694 {
5695 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5696 }
5697 }
5698
transform_tohost_VkRenderPassCreateInfo2KHR(ResourceTracker * resourceTracker,VkRenderPassCreateInfo2KHR * toTransform)5699 void transform_tohost_VkRenderPassCreateInfo2KHR(
5700 ResourceTracker* resourceTracker,
5701 VkRenderPassCreateInfo2KHR* toTransform)
5702 {
5703 (void)resourceTracker;
5704 (void)toTransform;
5705 if (toTransform->pNext)
5706 {
5707 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5708 }
5709 if (toTransform->pAttachments)
5710 {
5711 for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i)
5712 {
5713 transform_tohost_VkAttachmentDescription2KHR(resourceTracker, (VkAttachmentDescription2KHR*)(toTransform->pAttachments + i));
5714 }
5715 }
5716 if (toTransform->pSubpasses)
5717 {
5718 for (uint32_t i = 0; i < (uint32_t)toTransform->subpassCount; ++i)
5719 {
5720 transform_tohost_VkSubpassDescription2KHR(resourceTracker, (VkSubpassDescription2KHR*)(toTransform->pSubpasses + i));
5721 }
5722 }
5723 if (toTransform->pDependencies)
5724 {
5725 for (uint32_t i = 0; i < (uint32_t)toTransform->dependencyCount; ++i)
5726 {
5727 transform_tohost_VkSubpassDependency2KHR(resourceTracker, (VkSubpassDependency2KHR*)(toTransform->pDependencies + i));
5728 }
5729 }
5730 }
5731
transform_fromhost_VkRenderPassCreateInfo2KHR(ResourceTracker * resourceTracker,VkRenderPassCreateInfo2KHR * toTransform)5732 void transform_fromhost_VkRenderPassCreateInfo2KHR(
5733 ResourceTracker* resourceTracker,
5734 VkRenderPassCreateInfo2KHR* toTransform)
5735 {
5736 (void)resourceTracker;
5737 (void)toTransform;
5738 if (toTransform->pNext)
5739 {
5740 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5741 }
5742 if (toTransform->pAttachments)
5743 {
5744 for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i)
5745 {
5746 transform_fromhost_VkAttachmentDescription2KHR(resourceTracker, (VkAttachmentDescription2KHR*)(toTransform->pAttachments + i));
5747 }
5748 }
5749 if (toTransform->pSubpasses)
5750 {
5751 for (uint32_t i = 0; i < (uint32_t)toTransform->subpassCount; ++i)
5752 {
5753 transform_fromhost_VkSubpassDescription2KHR(resourceTracker, (VkSubpassDescription2KHR*)(toTransform->pSubpasses + i));
5754 }
5755 }
5756 if (toTransform->pDependencies)
5757 {
5758 for (uint32_t i = 0; i < (uint32_t)toTransform->dependencyCount; ++i)
5759 {
5760 transform_fromhost_VkSubpassDependency2KHR(resourceTracker, (VkSubpassDependency2KHR*)(toTransform->pDependencies + i));
5761 }
5762 }
5763 }
5764
transform_tohost_VkSubpassBeginInfoKHR(ResourceTracker * resourceTracker,VkSubpassBeginInfoKHR * toTransform)5765 void transform_tohost_VkSubpassBeginInfoKHR(
5766 ResourceTracker* resourceTracker,
5767 VkSubpassBeginInfoKHR* toTransform)
5768 {
5769 (void)resourceTracker;
5770 (void)toTransform;
5771 if (toTransform->pNext)
5772 {
5773 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5774 }
5775 }
5776
transform_fromhost_VkSubpassBeginInfoKHR(ResourceTracker * resourceTracker,VkSubpassBeginInfoKHR * toTransform)5777 void transform_fromhost_VkSubpassBeginInfoKHR(
5778 ResourceTracker* resourceTracker,
5779 VkSubpassBeginInfoKHR* toTransform)
5780 {
5781 (void)resourceTracker;
5782 (void)toTransform;
5783 if (toTransform->pNext)
5784 {
5785 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5786 }
5787 }
5788
transform_tohost_VkSubpassEndInfoKHR(ResourceTracker * resourceTracker,VkSubpassEndInfoKHR * toTransform)5789 void transform_tohost_VkSubpassEndInfoKHR(
5790 ResourceTracker* resourceTracker,
5791 VkSubpassEndInfoKHR* toTransform)
5792 {
5793 (void)resourceTracker;
5794 (void)toTransform;
5795 if (toTransform->pNext)
5796 {
5797 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5798 }
5799 }
5800
transform_fromhost_VkSubpassEndInfoKHR(ResourceTracker * resourceTracker,VkSubpassEndInfoKHR * toTransform)5801 void transform_fromhost_VkSubpassEndInfoKHR(
5802 ResourceTracker* resourceTracker,
5803 VkSubpassEndInfoKHR* toTransform)
5804 {
5805 (void)resourceTracker;
5806 (void)toTransform;
5807 if (toTransform->pNext)
5808 {
5809 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5810 }
5811 }
5812
5813 #endif
5814 #ifdef VK_KHR_shared_presentable_image
transform_tohost_VkSharedPresentSurfaceCapabilitiesKHR(ResourceTracker * resourceTracker,VkSharedPresentSurfaceCapabilitiesKHR * toTransform)5815 void transform_tohost_VkSharedPresentSurfaceCapabilitiesKHR(
5816 ResourceTracker* resourceTracker,
5817 VkSharedPresentSurfaceCapabilitiesKHR* toTransform)
5818 {
5819 (void)resourceTracker;
5820 (void)toTransform;
5821 if (toTransform->pNext)
5822 {
5823 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5824 }
5825 }
5826
transform_fromhost_VkSharedPresentSurfaceCapabilitiesKHR(ResourceTracker * resourceTracker,VkSharedPresentSurfaceCapabilitiesKHR * toTransform)5827 void transform_fromhost_VkSharedPresentSurfaceCapabilitiesKHR(
5828 ResourceTracker* resourceTracker,
5829 VkSharedPresentSurfaceCapabilitiesKHR* toTransform)
5830 {
5831 (void)resourceTracker;
5832 (void)toTransform;
5833 if (toTransform->pNext)
5834 {
5835 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5836 }
5837 }
5838
5839 #endif
5840 #ifdef VK_KHR_external_fence_capabilities
5841 #endif
5842 #ifdef VK_KHR_external_fence
5843 #endif
5844 #ifdef VK_KHR_external_fence_win32
transform_tohost_VkImportFenceWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkImportFenceWin32HandleInfoKHR * toTransform)5845 void transform_tohost_VkImportFenceWin32HandleInfoKHR(
5846 ResourceTracker* resourceTracker,
5847 VkImportFenceWin32HandleInfoKHR* toTransform)
5848 {
5849 (void)resourceTracker;
5850 (void)toTransform;
5851 if (toTransform->pNext)
5852 {
5853 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5854 }
5855 }
5856
transform_fromhost_VkImportFenceWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkImportFenceWin32HandleInfoKHR * toTransform)5857 void transform_fromhost_VkImportFenceWin32HandleInfoKHR(
5858 ResourceTracker* resourceTracker,
5859 VkImportFenceWin32HandleInfoKHR* toTransform)
5860 {
5861 (void)resourceTracker;
5862 (void)toTransform;
5863 if (toTransform->pNext)
5864 {
5865 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5866 }
5867 }
5868
transform_tohost_VkExportFenceWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkExportFenceWin32HandleInfoKHR * toTransform)5869 void transform_tohost_VkExportFenceWin32HandleInfoKHR(
5870 ResourceTracker* resourceTracker,
5871 VkExportFenceWin32HandleInfoKHR* toTransform)
5872 {
5873 (void)resourceTracker;
5874 (void)toTransform;
5875 if (toTransform->pNext)
5876 {
5877 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5878 }
5879 }
5880
transform_fromhost_VkExportFenceWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkExportFenceWin32HandleInfoKHR * toTransform)5881 void transform_fromhost_VkExportFenceWin32HandleInfoKHR(
5882 ResourceTracker* resourceTracker,
5883 VkExportFenceWin32HandleInfoKHR* toTransform)
5884 {
5885 (void)resourceTracker;
5886 (void)toTransform;
5887 if (toTransform->pNext)
5888 {
5889 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5890 }
5891 }
5892
transform_tohost_VkFenceGetWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkFenceGetWin32HandleInfoKHR * toTransform)5893 void transform_tohost_VkFenceGetWin32HandleInfoKHR(
5894 ResourceTracker* resourceTracker,
5895 VkFenceGetWin32HandleInfoKHR* toTransform)
5896 {
5897 (void)resourceTracker;
5898 (void)toTransform;
5899 if (toTransform->pNext)
5900 {
5901 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5902 }
5903 }
5904
transform_fromhost_VkFenceGetWin32HandleInfoKHR(ResourceTracker * resourceTracker,VkFenceGetWin32HandleInfoKHR * toTransform)5905 void transform_fromhost_VkFenceGetWin32HandleInfoKHR(
5906 ResourceTracker* resourceTracker,
5907 VkFenceGetWin32HandleInfoKHR* toTransform)
5908 {
5909 (void)resourceTracker;
5910 (void)toTransform;
5911 if (toTransform->pNext)
5912 {
5913 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5914 }
5915 }
5916
5917 #endif
5918 #ifdef VK_KHR_external_fence_fd
transform_tohost_VkImportFenceFdInfoKHR(ResourceTracker * resourceTracker,VkImportFenceFdInfoKHR * toTransform)5919 void transform_tohost_VkImportFenceFdInfoKHR(
5920 ResourceTracker* resourceTracker,
5921 VkImportFenceFdInfoKHR* toTransform)
5922 {
5923 (void)resourceTracker;
5924 (void)toTransform;
5925 if (toTransform->pNext)
5926 {
5927 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5928 }
5929 }
5930
transform_fromhost_VkImportFenceFdInfoKHR(ResourceTracker * resourceTracker,VkImportFenceFdInfoKHR * toTransform)5931 void transform_fromhost_VkImportFenceFdInfoKHR(
5932 ResourceTracker* resourceTracker,
5933 VkImportFenceFdInfoKHR* toTransform)
5934 {
5935 (void)resourceTracker;
5936 (void)toTransform;
5937 if (toTransform->pNext)
5938 {
5939 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5940 }
5941 }
5942
transform_tohost_VkFenceGetFdInfoKHR(ResourceTracker * resourceTracker,VkFenceGetFdInfoKHR * toTransform)5943 void transform_tohost_VkFenceGetFdInfoKHR(
5944 ResourceTracker* resourceTracker,
5945 VkFenceGetFdInfoKHR* toTransform)
5946 {
5947 (void)resourceTracker;
5948 (void)toTransform;
5949 if (toTransform->pNext)
5950 {
5951 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5952 }
5953 }
5954
transform_fromhost_VkFenceGetFdInfoKHR(ResourceTracker * resourceTracker,VkFenceGetFdInfoKHR * toTransform)5955 void transform_fromhost_VkFenceGetFdInfoKHR(
5956 ResourceTracker* resourceTracker,
5957 VkFenceGetFdInfoKHR* toTransform)
5958 {
5959 (void)resourceTracker;
5960 (void)toTransform;
5961 if (toTransform->pNext)
5962 {
5963 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5964 }
5965 }
5966
5967 #endif
5968 #ifdef VK_KHR_maintenance2
5969 #endif
5970 #ifdef VK_KHR_get_surface_capabilities2
transform_tohost_VkPhysicalDeviceSurfaceInfo2KHR(ResourceTracker * resourceTracker,VkPhysicalDeviceSurfaceInfo2KHR * toTransform)5971 void transform_tohost_VkPhysicalDeviceSurfaceInfo2KHR(
5972 ResourceTracker* resourceTracker,
5973 VkPhysicalDeviceSurfaceInfo2KHR* toTransform)
5974 {
5975 (void)resourceTracker;
5976 (void)toTransform;
5977 if (toTransform->pNext)
5978 {
5979 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5980 }
5981 }
5982
transform_fromhost_VkPhysicalDeviceSurfaceInfo2KHR(ResourceTracker * resourceTracker,VkPhysicalDeviceSurfaceInfo2KHR * toTransform)5983 void transform_fromhost_VkPhysicalDeviceSurfaceInfo2KHR(
5984 ResourceTracker* resourceTracker,
5985 VkPhysicalDeviceSurfaceInfo2KHR* toTransform)
5986 {
5987 (void)resourceTracker;
5988 (void)toTransform;
5989 if (toTransform->pNext)
5990 {
5991 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5992 }
5993 }
5994
transform_tohost_VkSurfaceCapabilities2KHR(ResourceTracker * resourceTracker,VkSurfaceCapabilities2KHR * toTransform)5995 void transform_tohost_VkSurfaceCapabilities2KHR(
5996 ResourceTracker* resourceTracker,
5997 VkSurfaceCapabilities2KHR* toTransform)
5998 {
5999 (void)resourceTracker;
6000 (void)toTransform;
6001 if (toTransform->pNext)
6002 {
6003 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6004 }
6005 transform_tohost_VkSurfaceCapabilitiesKHR(resourceTracker, (VkSurfaceCapabilitiesKHR*)(&toTransform->surfaceCapabilities));
6006 }
6007
transform_fromhost_VkSurfaceCapabilities2KHR(ResourceTracker * resourceTracker,VkSurfaceCapabilities2KHR * toTransform)6008 void transform_fromhost_VkSurfaceCapabilities2KHR(
6009 ResourceTracker* resourceTracker,
6010 VkSurfaceCapabilities2KHR* toTransform)
6011 {
6012 (void)resourceTracker;
6013 (void)toTransform;
6014 if (toTransform->pNext)
6015 {
6016 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6017 }
6018 transform_fromhost_VkSurfaceCapabilitiesKHR(resourceTracker, (VkSurfaceCapabilitiesKHR*)(&toTransform->surfaceCapabilities));
6019 }
6020
transform_tohost_VkSurfaceFormat2KHR(ResourceTracker * resourceTracker,VkSurfaceFormat2KHR * toTransform)6021 void transform_tohost_VkSurfaceFormat2KHR(
6022 ResourceTracker* resourceTracker,
6023 VkSurfaceFormat2KHR* toTransform)
6024 {
6025 (void)resourceTracker;
6026 (void)toTransform;
6027 if (toTransform->pNext)
6028 {
6029 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6030 }
6031 transform_tohost_VkSurfaceFormatKHR(resourceTracker, (VkSurfaceFormatKHR*)(&toTransform->surfaceFormat));
6032 }
6033
transform_fromhost_VkSurfaceFormat2KHR(ResourceTracker * resourceTracker,VkSurfaceFormat2KHR * toTransform)6034 void transform_fromhost_VkSurfaceFormat2KHR(
6035 ResourceTracker* resourceTracker,
6036 VkSurfaceFormat2KHR* toTransform)
6037 {
6038 (void)resourceTracker;
6039 (void)toTransform;
6040 if (toTransform->pNext)
6041 {
6042 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6043 }
6044 transform_fromhost_VkSurfaceFormatKHR(resourceTracker, (VkSurfaceFormatKHR*)(&toTransform->surfaceFormat));
6045 }
6046
6047 #endif
6048 #ifdef VK_KHR_variable_pointers
6049 #endif
6050 #ifdef VK_KHR_get_display_properties2
transform_tohost_VkDisplayProperties2KHR(ResourceTracker * resourceTracker,VkDisplayProperties2KHR * toTransform)6051 void transform_tohost_VkDisplayProperties2KHR(
6052 ResourceTracker* resourceTracker,
6053 VkDisplayProperties2KHR* toTransform)
6054 {
6055 (void)resourceTracker;
6056 (void)toTransform;
6057 if (toTransform->pNext)
6058 {
6059 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6060 }
6061 transform_tohost_VkDisplayPropertiesKHR(resourceTracker, (VkDisplayPropertiesKHR*)(&toTransform->displayProperties));
6062 }
6063
transform_fromhost_VkDisplayProperties2KHR(ResourceTracker * resourceTracker,VkDisplayProperties2KHR * toTransform)6064 void transform_fromhost_VkDisplayProperties2KHR(
6065 ResourceTracker* resourceTracker,
6066 VkDisplayProperties2KHR* toTransform)
6067 {
6068 (void)resourceTracker;
6069 (void)toTransform;
6070 if (toTransform->pNext)
6071 {
6072 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6073 }
6074 transform_fromhost_VkDisplayPropertiesKHR(resourceTracker, (VkDisplayPropertiesKHR*)(&toTransform->displayProperties));
6075 }
6076
transform_tohost_VkDisplayPlaneProperties2KHR(ResourceTracker * resourceTracker,VkDisplayPlaneProperties2KHR * toTransform)6077 void transform_tohost_VkDisplayPlaneProperties2KHR(
6078 ResourceTracker* resourceTracker,
6079 VkDisplayPlaneProperties2KHR* toTransform)
6080 {
6081 (void)resourceTracker;
6082 (void)toTransform;
6083 if (toTransform->pNext)
6084 {
6085 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6086 }
6087 transform_tohost_VkDisplayPlanePropertiesKHR(resourceTracker, (VkDisplayPlanePropertiesKHR*)(&toTransform->displayPlaneProperties));
6088 }
6089
transform_fromhost_VkDisplayPlaneProperties2KHR(ResourceTracker * resourceTracker,VkDisplayPlaneProperties2KHR * toTransform)6090 void transform_fromhost_VkDisplayPlaneProperties2KHR(
6091 ResourceTracker* resourceTracker,
6092 VkDisplayPlaneProperties2KHR* toTransform)
6093 {
6094 (void)resourceTracker;
6095 (void)toTransform;
6096 if (toTransform->pNext)
6097 {
6098 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6099 }
6100 transform_fromhost_VkDisplayPlanePropertiesKHR(resourceTracker, (VkDisplayPlanePropertiesKHR*)(&toTransform->displayPlaneProperties));
6101 }
6102
transform_tohost_VkDisplayModeProperties2KHR(ResourceTracker * resourceTracker,VkDisplayModeProperties2KHR * toTransform)6103 void transform_tohost_VkDisplayModeProperties2KHR(
6104 ResourceTracker* resourceTracker,
6105 VkDisplayModeProperties2KHR* toTransform)
6106 {
6107 (void)resourceTracker;
6108 (void)toTransform;
6109 if (toTransform->pNext)
6110 {
6111 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6112 }
6113 transform_tohost_VkDisplayModePropertiesKHR(resourceTracker, (VkDisplayModePropertiesKHR*)(&toTransform->displayModeProperties));
6114 }
6115
transform_fromhost_VkDisplayModeProperties2KHR(ResourceTracker * resourceTracker,VkDisplayModeProperties2KHR * toTransform)6116 void transform_fromhost_VkDisplayModeProperties2KHR(
6117 ResourceTracker* resourceTracker,
6118 VkDisplayModeProperties2KHR* toTransform)
6119 {
6120 (void)resourceTracker;
6121 (void)toTransform;
6122 if (toTransform->pNext)
6123 {
6124 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6125 }
6126 transform_fromhost_VkDisplayModePropertiesKHR(resourceTracker, (VkDisplayModePropertiesKHR*)(&toTransform->displayModeProperties));
6127 }
6128
transform_tohost_VkDisplayPlaneInfo2KHR(ResourceTracker * resourceTracker,VkDisplayPlaneInfo2KHR * toTransform)6129 void transform_tohost_VkDisplayPlaneInfo2KHR(
6130 ResourceTracker* resourceTracker,
6131 VkDisplayPlaneInfo2KHR* toTransform)
6132 {
6133 (void)resourceTracker;
6134 (void)toTransform;
6135 if (toTransform->pNext)
6136 {
6137 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6138 }
6139 }
6140
transform_fromhost_VkDisplayPlaneInfo2KHR(ResourceTracker * resourceTracker,VkDisplayPlaneInfo2KHR * toTransform)6141 void transform_fromhost_VkDisplayPlaneInfo2KHR(
6142 ResourceTracker* resourceTracker,
6143 VkDisplayPlaneInfo2KHR* toTransform)
6144 {
6145 (void)resourceTracker;
6146 (void)toTransform;
6147 if (toTransform->pNext)
6148 {
6149 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6150 }
6151 }
6152
transform_tohost_VkDisplayPlaneCapabilities2KHR(ResourceTracker * resourceTracker,VkDisplayPlaneCapabilities2KHR * toTransform)6153 void transform_tohost_VkDisplayPlaneCapabilities2KHR(
6154 ResourceTracker* resourceTracker,
6155 VkDisplayPlaneCapabilities2KHR* toTransform)
6156 {
6157 (void)resourceTracker;
6158 (void)toTransform;
6159 if (toTransform->pNext)
6160 {
6161 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6162 }
6163 transform_tohost_VkDisplayPlaneCapabilitiesKHR(resourceTracker, (VkDisplayPlaneCapabilitiesKHR*)(&toTransform->capabilities));
6164 }
6165
transform_fromhost_VkDisplayPlaneCapabilities2KHR(ResourceTracker * resourceTracker,VkDisplayPlaneCapabilities2KHR * toTransform)6166 void transform_fromhost_VkDisplayPlaneCapabilities2KHR(
6167 ResourceTracker* resourceTracker,
6168 VkDisplayPlaneCapabilities2KHR* toTransform)
6169 {
6170 (void)resourceTracker;
6171 (void)toTransform;
6172 if (toTransform->pNext)
6173 {
6174 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6175 }
6176 transform_fromhost_VkDisplayPlaneCapabilitiesKHR(resourceTracker, (VkDisplayPlaneCapabilitiesKHR*)(&toTransform->capabilities));
6177 }
6178
6179 #endif
6180 #ifdef VK_KHR_dedicated_allocation
6181 #endif
6182 #ifdef VK_KHR_storage_buffer_storage_class
6183 #endif
6184 #ifdef VK_KHR_relaxed_block_layout
6185 #endif
6186 #ifdef VK_KHR_get_memory_requirements2
6187 #endif
6188 #ifdef VK_KHR_image_format_list
transform_tohost_VkImageFormatListCreateInfoKHR(ResourceTracker * resourceTracker,VkImageFormatListCreateInfoKHR * toTransform)6189 void transform_tohost_VkImageFormatListCreateInfoKHR(
6190 ResourceTracker* resourceTracker,
6191 VkImageFormatListCreateInfoKHR* toTransform)
6192 {
6193 (void)resourceTracker;
6194 (void)toTransform;
6195 if (toTransform->pNext)
6196 {
6197 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6198 }
6199 }
6200
transform_fromhost_VkImageFormatListCreateInfoKHR(ResourceTracker * resourceTracker,VkImageFormatListCreateInfoKHR * toTransform)6201 void transform_fromhost_VkImageFormatListCreateInfoKHR(
6202 ResourceTracker* resourceTracker,
6203 VkImageFormatListCreateInfoKHR* toTransform)
6204 {
6205 (void)resourceTracker;
6206 (void)toTransform;
6207 if (toTransform->pNext)
6208 {
6209 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6210 }
6211 }
6212
6213 #endif
6214 #ifdef VK_KHR_sampler_ycbcr_conversion
6215 #endif
6216 #ifdef VK_KHR_bind_memory2
6217 #endif
6218 #ifdef VK_KHR_maintenance3
6219 #endif
6220 #ifdef VK_KHR_draw_indirect_count
6221 #endif
6222 #ifdef VK_KHR_8bit_storage
transform_tohost_VkPhysicalDevice8BitStorageFeaturesKHR(ResourceTracker * resourceTracker,VkPhysicalDevice8BitStorageFeaturesKHR * toTransform)6223 void transform_tohost_VkPhysicalDevice8BitStorageFeaturesKHR(
6224 ResourceTracker* resourceTracker,
6225 VkPhysicalDevice8BitStorageFeaturesKHR* toTransform)
6226 {
6227 (void)resourceTracker;
6228 (void)toTransform;
6229 if (toTransform->pNext)
6230 {
6231 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6232 }
6233 }
6234
transform_fromhost_VkPhysicalDevice8BitStorageFeaturesKHR(ResourceTracker * resourceTracker,VkPhysicalDevice8BitStorageFeaturesKHR * toTransform)6235 void transform_fromhost_VkPhysicalDevice8BitStorageFeaturesKHR(
6236 ResourceTracker* resourceTracker,
6237 VkPhysicalDevice8BitStorageFeaturesKHR* toTransform)
6238 {
6239 (void)resourceTracker;
6240 (void)toTransform;
6241 if (toTransform->pNext)
6242 {
6243 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6244 }
6245 }
6246
6247 #endif
6248 #ifdef VK_KHR_shader_float16_int8
transform_tohost_VkPhysicalDeviceShaderFloat16Int8Features(ResourceTracker * resourceTracker,VkPhysicalDeviceShaderFloat16Int8Features * toTransform)6249 void transform_tohost_VkPhysicalDeviceShaderFloat16Int8Features(
6250 ResourceTracker* resourceTracker,
6251 VkPhysicalDeviceShaderFloat16Int8Features* toTransform)
6252 {
6253 (void)resourceTracker;
6254 (void)toTransform;
6255 if (toTransform->pNext)
6256 {
6257 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6258 }
6259 }
6260
transform_fromhost_VkPhysicalDeviceShaderFloat16Int8Features(ResourceTracker * resourceTracker,VkPhysicalDeviceShaderFloat16Int8Features * toTransform)6261 void transform_fromhost_VkPhysicalDeviceShaderFloat16Int8Features(
6262 ResourceTracker* resourceTracker,
6263 VkPhysicalDeviceShaderFloat16Int8Features* toTransform)
6264 {
6265 (void)resourceTracker;
6266 (void)toTransform;
6267 if (toTransform->pNext)
6268 {
6269 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6270 }
6271 }
6272
6273 #endif
6274 #ifdef VK_ANDROID_native_buffer
transform_tohost_VkNativeBufferANDROID(ResourceTracker * resourceTracker,VkNativeBufferANDROID * toTransform)6275 void transform_tohost_VkNativeBufferANDROID(
6276 ResourceTracker* resourceTracker,
6277 VkNativeBufferANDROID* toTransform)
6278 {
6279 (void)resourceTracker;
6280 (void)toTransform;
6281 if (toTransform->pNext)
6282 {
6283 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6284 }
6285 }
6286
transform_fromhost_VkNativeBufferANDROID(ResourceTracker * resourceTracker,VkNativeBufferANDROID * toTransform)6287 void transform_fromhost_VkNativeBufferANDROID(
6288 ResourceTracker* resourceTracker,
6289 VkNativeBufferANDROID* toTransform)
6290 {
6291 (void)resourceTracker;
6292 (void)toTransform;
6293 if (toTransform->pNext)
6294 {
6295 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6296 }
6297 }
6298
6299 #endif
6300 #ifdef VK_EXT_debug_report
transform_tohost_VkDebugReportCallbackCreateInfoEXT(ResourceTracker * resourceTracker,VkDebugReportCallbackCreateInfoEXT * toTransform)6301 void transform_tohost_VkDebugReportCallbackCreateInfoEXT(
6302 ResourceTracker* resourceTracker,
6303 VkDebugReportCallbackCreateInfoEXT* toTransform)
6304 {
6305 (void)resourceTracker;
6306 (void)toTransform;
6307 if (toTransform->pNext)
6308 {
6309 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6310 }
6311 }
6312
transform_fromhost_VkDebugReportCallbackCreateInfoEXT(ResourceTracker * resourceTracker,VkDebugReportCallbackCreateInfoEXT * toTransform)6313 void transform_fromhost_VkDebugReportCallbackCreateInfoEXT(
6314 ResourceTracker* resourceTracker,
6315 VkDebugReportCallbackCreateInfoEXT* toTransform)
6316 {
6317 (void)resourceTracker;
6318 (void)toTransform;
6319 if (toTransform->pNext)
6320 {
6321 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6322 }
6323 }
6324
6325 #endif
6326 #ifdef VK_NV_glsl_shader
6327 #endif
6328 #ifdef VK_EXT_depth_range_unrestricted
6329 #endif
6330 #ifdef VK_IMG_filter_cubic
6331 #endif
6332 #ifdef VK_AMD_rasterization_order
transform_tohost_VkPipelineRasterizationStateRasterizationOrderAMD(ResourceTracker * resourceTracker,VkPipelineRasterizationStateRasterizationOrderAMD * toTransform)6333 void transform_tohost_VkPipelineRasterizationStateRasterizationOrderAMD(
6334 ResourceTracker* resourceTracker,
6335 VkPipelineRasterizationStateRasterizationOrderAMD* toTransform)
6336 {
6337 (void)resourceTracker;
6338 (void)toTransform;
6339 if (toTransform->pNext)
6340 {
6341 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6342 }
6343 }
6344
transform_fromhost_VkPipelineRasterizationStateRasterizationOrderAMD(ResourceTracker * resourceTracker,VkPipelineRasterizationStateRasterizationOrderAMD * toTransform)6345 void transform_fromhost_VkPipelineRasterizationStateRasterizationOrderAMD(
6346 ResourceTracker* resourceTracker,
6347 VkPipelineRasterizationStateRasterizationOrderAMD* toTransform)
6348 {
6349 (void)resourceTracker;
6350 (void)toTransform;
6351 if (toTransform->pNext)
6352 {
6353 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6354 }
6355 }
6356
6357 #endif
6358 #ifdef VK_AMD_shader_trinary_minmax
6359 #endif
6360 #ifdef VK_AMD_shader_explicit_vertex_parameter
6361 #endif
6362 #ifdef VK_EXT_debug_marker
transform_tohost_VkDebugMarkerObjectNameInfoEXT(ResourceTracker * resourceTracker,VkDebugMarkerObjectNameInfoEXT * toTransform)6363 void transform_tohost_VkDebugMarkerObjectNameInfoEXT(
6364 ResourceTracker* resourceTracker,
6365 VkDebugMarkerObjectNameInfoEXT* toTransform)
6366 {
6367 (void)resourceTracker;
6368 (void)toTransform;
6369 if (toTransform->pNext)
6370 {
6371 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6372 }
6373 }
6374
transform_fromhost_VkDebugMarkerObjectNameInfoEXT(ResourceTracker * resourceTracker,VkDebugMarkerObjectNameInfoEXT * toTransform)6375 void transform_fromhost_VkDebugMarkerObjectNameInfoEXT(
6376 ResourceTracker* resourceTracker,
6377 VkDebugMarkerObjectNameInfoEXT* toTransform)
6378 {
6379 (void)resourceTracker;
6380 (void)toTransform;
6381 if (toTransform->pNext)
6382 {
6383 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6384 }
6385 }
6386
transform_tohost_VkDebugMarkerObjectTagInfoEXT(ResourceTracker * resourceTracker,VkDebugMarkerObjectTagInfoEXT * toTransform)6387 void transform_tohost_VkDebugMarkerObjectTagInfoEXT(
6388 ResourceTracker* resourceTracker,
6389 VkDebugMarkerObjectTagInfoEXT* toTransform)
6390 {
6391 (void)resourceTracker;
6392 (void)toTransform;
6393 if (toTransform->pNext)
6394 {
6395 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6396 }
6397 }
6398
transform_fromhost_VkDebugMarkerObjectTagInfoEXT(ResourceTracker * resourceTracker,VkDebugMarkerObjectTagInfoEXT * toTransform)6399 void transform_fromhost_VkDebugMarkerObjectTagInfoEXT(
6400 ResourceTracker* resourceTracker,
6401 VkDebugMarkerObjectTagInfoEXT* toTransform)
6402 {
6403 (void)resourceTracker;
6404 (void)toTransform;
6405 if (toTransform->pNext)
6406 {
6407 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6408 }
6409 }
6410
transform_tohost_VkDebugMarkerMarkerInfoEXT(ResourceTracker * resourceTracker,VkDebugMarkerMarkerInfoEXT * toTransform)6411 void transform_tohost_VkDebugMarkerMarkerInfoEXT(
6412 ResourceTracker* resourceTracker,
6413 VkDebugMarkerMarkerInfoEXT* toTransform)
6414 {
6415 (void)resourceTracker;
6416 (void)toTransform;
6417 if (toTransform->pNext)
6418 {
6419 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6420 }
6421 }
6422
transform_fromhost_VkDebugMarkerMarkerInfoEXT(ResourceTracker * resourceTracker,VkDebugMarkerMarkerInfoEXT * toTransform)6423 void transform_fromhost_VkDebugMarkerMarkerInfoEXT(
6424 ResourceTracker* resourceTracker,
6425 VkDebugMarkerMarkerInfoEXT* toTransform)
6426 {
6427 (void)resourceTracker;
6428 (void)toTransform;
6429 if (toTransform->pNext)
6430 {
6431 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6432 }
6433 }
6434
6435 #endif
6436 #ifdef VK_AMD_gcn_shader
6437 #endif
6438 #ifdef VK_NV_dedicated_allocation
transform_tohost_VkDedicatedAllocationImageCreateInfoNV(ResourceTracker * resourceTracker,VkDedicatedAllocationImageCreateInfoNV * toTransform)6439 void transform_tohost_VkDedicatedAllocationImageCreateInfoNV(
6440 ResourceTracker* resourceTracker,
6441 VkDedicatedAllocationImageCreateInfoNV* toTransform)
6442 {
6443 (void)resourceTracker;
6444 (void)toTransform;
6445 if (toTransform->pNext)
6446 {
6447 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6448 }
6449 }
6450
transform_fromhost_VkDedicatedAllocationImageCreateInfoNV(ResourceTracker * resourceTracker,VkDedicatedAllocationImageCreateInfoNV * toTransform)6451 void transform_fromhost_VkDedicatedAllocationImageCreateInfoNV(
6452 ResourceTracker* resourceTracker,
6453 VkDedicatedAllocationImageCreateInfoNV* toTransform)
6454 {
6455 (void)resourceTracker;
6456 (void)toTransform;
6457 if (toTransform->pNext)
6458 {
6459 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6460 }
6461 }
6462
transform_tohost_VkDedicatedAllocationBufferCreateInfoNV(ResourceTracker * resourceTracker,VkDedicatedAllocationBufferCreateInfoNV * toTransform)6463 void transform_tohost_VkDedicatedAllocationBufferCreateInfoNV(
6464 ResourceTracker* resourceTracker,
6465 VkDedicatedAllocationBufferCreateInfoNV* toTransform)
6466 {
6467 (void)resourceTracker;
6468 (void)toTransform;
6469 if (toTransform->pNext)
6470 {
6471 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6472 }
6473 }
6474
transform_fromhost_VkDedicatedAllocationBufferCreateInfoNV(ResourceTracker * resourceTracker,VkDedicatedAllocationBufferCreateInfoNV * toTransform)6475 void transform_fromhost_VkDedicatedAllocationBufferCreateInfoNV(
6476 ResourceTracker* resourceTracker,
6477 VkDedicatedAllocationBufferCreateInfoNV* toTransform)
6478 {
6479 (void)resourceTracker;
6480 (void)toTransform;
6481 if (toTransform->pNext)
6482 {
6483 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6484 }
6485 }
6486
transform_tohost_VkDedicatedAllocationMemoryAllocateInfoNV(ResourceTracker * resourceTracker,VkDedicatedAllocationMemoryAllocateInfoNV * toTransform)6487 void transform_tohost_VkDedicatedAllocationMemoryAllocateInfoNV(
6488 ResourceTracker* resourceTracker,
6489 VkDedicatedAllocationMemoryAllocateInfoNV* toTransform)
6490 {
6491 (void)resourceTracker;
6492 (void)toTransform;
6493 if (toTransform->pNext)
6494 {
6495 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6496 }
6497 }
6498
transform_fromhost_VkDedicatedAllocationMemoryAllocateInfoNV(ResourceTracker * resourceTracker,VkDedicatedAllocationMemoryAllocateInfoNV * toTransform)6499 void transform_fromhost_VkDedicatedAllocationMemoryAllocateInfoNV(
6500 ResourceTracker* resourceTracker,
6501 VkDedicatedAllocationMemoryAllocateInfoNV* toTransform)
6502 {
6503 (void)resourceTracker;
6504 (void)toTransform;
6505 if (toTransform->pNext)
6506 {
6507 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6508 }
6509 }
6510
6511 #endif
6512 #ifdef VK_AMD_draw_indirect_count
6513 #endif
6514 #ifdef VK_AMD_negative_viewport_height
6515 #endif
6516 #ifdef VK_AMD_gpu_shader_half_float
6517 #endif
6518 #ifdef VK_AMD_shader_ballot
6519 #endif
6520 #ifdef VK_AMD_texture_gather_bias_lod
transform_tohost_VkTextureLODGatherFormatPropertiesAMD(ResourceTracker * resourceTracker,VkTextureLODGatherFormatPropertiesAMD * toTransform)6521 void transform_tohost_VkTextureLODGatherFormatPropertiesAMD(
6522 ResourceTracker* resourceTracker,
6523 VkTextureLODGatherFormatPropertiesAMD* toTransform)
6524 {
6525 (void)resourceTracker;
6526 (void)toTransform;
6527 if (toTransform->pNext)
6528 {
6529 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6530 }
6531 }
6532
transform_fromhost_VkTextureLODGatherFormatPropertiesAMD(ResourceTracker * resourceTracker,VkTextureLODGatherFormatPropertiesAMD * toTransform)6533 void transform_fromhost_VkTextureLODGatherFormatPropertiesAMD(
6534 ResourceTracker* resourceTracker,
6535 VkTextureLODGatherFormatPropertiesAMD* toTransform)
6536 {
6537 (void)resourceTracker;
6538 (void)toTransform;
6539 if (toTransform->pNext)
6540 {
6541 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6542 }
6543 }
6544
6545 #endif
6546 #ifdef VK_AMD_shader_info
transform_tohost_VkShaderResourceUsageAMD(ResourceTracker * resourceTracker,VkShaderResourceUsageAMD * toTransform)6547 void transform_tohost_VkShaderResourceUsageAMD(
6548 ResourceTracker* resourceTracker,
6549 VkShaderResourceUsageAMD* toTransform)
6550 {
6551 (void)resourceTracker;
6552 (void)toTransform;
6553 }
6554
transform_fromhost_VkShaderResourceUsageAMD(ResourceTracker * resourceTracker,VkShaderResourceUsageAMD * toTransform)6555 void transform_fromhost_VkShaderResourceUsageAMD(
6556 ResourceTracker* resourceTracker,
6557 VkShaderResourceUsageAMD* toTransform)
6558 {
6559 (void)resourceTracker;
6560 (void)toTransform;
6561 }
6562
transform_tohost_VkShaderStatisticsInfoAMD(ResourceTracker * resourceTracker,VkShaderStatisticsInfoAMD * toTransform)6563 void transform_tohost_VkShaderStatisticsInfoAMD(
6564 ResourceTracker* resourceTracker,
6565 VkShaderStatisticsInfoAMD* toTransform)
6566 {
6567 (void)resourceTracker;
6568 (void)toTransform;
6569 transform_tohost_VkShaderResourceUsageAMD(resourceTracker, (VkShaderResourceUsageAMD*)(&toTransform->resourceUsage));
6570 }
6571
transform_fromhost_VkShaderStatisticsInfoAMD(ResourceTracker * resourceTracker,VkShaderStatisticsInfoAMD * toTransform)6572 void transform_fromhost_VkShaderStatisticsInfoAMD(
6573 ResourceTracker* resourceTracker,
6574 VkShaderStatisticsInfoAMD* toTransform)
6575 {
6576 (void)resourceTracker;
6577 (void)toTransform;
6578 transform_fromhost_VkShaderResourceUsageAMD(resourceTracker, (VkShaderResourceUsageAMD*)(&toTransform->resourceUsage));
6579 }
6580
6581 #endif
6582 #ifdef VK_AMD_shader_image_load_store_lod
6583 #endif
6584 #ifdef VK_IMG_format_pvrtc
6585 #endif
6586 #ifdef VK_NV_external_memory_capabilities
transform_tohost_VkExternalImageFormatPropertiesNV(ResourceTracker * resourceTracker,VkExternalImageFormatPropertiesNV * toTransform)6587 void transform_tohost_VkExternalImageFormatPropertiesNV(
6588 ResourceTracker* resourceTracker,
6589 VkExternalImageFormatPropertiesNV* toTransform)
6590 {
6591 (void)resourceTracker;
6592 (void)toTransform;
6593 transform_tohost_VkImageFormatProperties(resourceTracker, (VkImageFormatProperties*)(&toTransform->imageFormatProperties));
6594 }
6595
transform_fromhost_VkExternalImageFormatPropertiesNV(ResourceTracker * resourceTracker,VkExternalImageFormatPropertiesNV * toTransform)6596 void transform_fromhost_VkExternalImageFormatPropertiesNV(
6597 ResourceTracker* resourceTracker,
6598 VkExternalImageFormatPropertiesNV* toTransform)
6599 {
6600 (void)resourceTracker;
6601 (void)toTransform;
6602 transform_fromhost_VkImageFormatProperties(resourceTracker, (VkImageFormatProperties*)(&toTransform->imageFormatProperties));
6603 }
6604
6605 #endif
6606 #ifdef VK_NV_external_memory
transform_tohost_VkExternalMemoryImageCreateInfoNV(ResourceTracker * resourceTracker,VkExternalMemoryImageCreateInfoNV * toTransform)6607 void transform_tohost_VkExternalMemoryImageCreateInfoNV(
6608 ResourceTracker* resourceTracker,
6609 VkExternalMemoryImageCreateInfoNV* toTransform)
6610 {
6611 (void)resourceTracker;
6612 (void)toTransform;
6613 if (toTransform->pNext)
6614 {
6615 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6616 }
6617 }
6618
transform_fromhost_VkExternalMemoryImageCreateInfoNV(ResourceTracker * resourceTracker,VkExternalMemoryImageCreateInfoNV * toTransform)6619 void transform_fromhost_VkExternalMemoryImageCreateInfoNV(
6620 ResourceTracker* resourceTracker,
6621 VkExternalMemoryImageCreateInfoNV* toTransform)
6622 {
6623 (void)resourceTracker;
6624 (void)toTransform;
6625 if (toTransform->pNext)
6626 {
6627 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6628 }
6629 }
6630
transform_tohost_VkExportMemoryAllocateInfoNV(ResourceTracker * resourceTracker,VkExportMemoryAllocateInfoNV * toTransform)6631 void transform_tohost_VkExportMemoryAllocateInfoNV(
6632 ResourceTracker* resourceTracker,
6633 VkExportMemoryAllocateInfoNV* toTransform)
6634 {
6635 (void)resourceTracker;
6636 (void)toTransform;
6637 if (toTransform->pNext)
6638 {
6639 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6640 }
6641 }
6642
transform_fromhost_VkExportMemoryAllocateInfoNV(ResourceTracker * resourceTracker,VkExportMemoryAllocateInfoNV * toTransform)6643 void transform_fromhost_VkExportMemoryAllocateInfoNV(
6644 ResourceTracker* resourceTracker,
6645 VkExportMemoryAllocateInfoNV* toTransform)
6646 {
6647 (void)resourceTracker;
6648 (void)toTransform;
6649 if (toTransform->pNext)
6650 {
6651 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6652 }
6653 }
6654
6655 #endif
6656 #ifdef VK_NV_external_memory_win32
transform_tohost_VkImportMemoryWin32HandleInfoNV(ResourceTracker * resourceTracker,VkImportMemoryWin32HandleInfoNV * toTransform)6657 void transform_tohost_VkImportMemoryWin32HandleInfoNV(
6658 ResourceTracker* resourceTracker,
6659 VkImportMemoryWin32HandleInfoNV* toTransform)
6660 {
6661 (void)resourceTracker;
6662 (void)toTransform;
6663 if (toTransform->pNext)
6664 {
6665 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6666 }
6667 }
6668
transform_fromhost_VkImportMemoryWin32HandleInfoNV(ResourceTracker * resourceTracker,VkImportMemoryWin32HandleInfoNV * toTransform)6669 void transform_fromhost_VkImportMemoryWin32HandleInfoNV(
6670 ResourceTracker* resourceTracker,
6671 VkImportMemoryWin32HandleInfoNV* toTransform)
6672 {
6673 (void)resourceTracker;
6674 (void)toTransform;
6675 if (toTransform->pNext)
6676 {
6677 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6678 }
6679 }
6680
transform_tohost_VkExportMemoryWin32HandleInfoNV(ResourceTracker * resourceTracker,VkExportMemoryWin32HandleInfoNV * toTransform)6681 void transform_tohost_VkExportMemoryWin32HandleInfoNV(
6682 ResourceTracker* resourceTracker,
6683 VkExportMemoryWin32HandleInfoNV* toTransform)
6684 {
6685 (void)resourceTracker;
6686 (void)toTransform;
6687 if (toTransform->pNext)
6688 {
6689 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6690 }
6691 }
6692
transform_fromhost_VkExportMemoryWin32HandleInfoNV(ResourceTracker * resourceTracker,VkExportMemoryWin32HandleInfoNV * toTransform)6693 void transform_fromhost_VkExportMemoryWin32HandleInfoNV(
6694 ResourceTracker* resourceTracker,
6695 VkExportMemoryWin32HandleInfoNV* toTransform)
6696 {
6697 (void)resourceTracker;
6698 (void)toTransform;
6699 if (toTransform->pNext)
6700 {
6701 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6702 }
6703 }
6704
6705 #endif
6706 #ifdef VK_NV_win32_keyed_mutex
transform_tohost_VkWin32KeyedMutexAcquireReleaseInfoNV(ResourceTracker * resourceTracker,VkWin32KeyedMutexAcquireReleaseInfoNV * toTransform)6707 void transform_tohost_VkWin32KeyedMutexAcquireReleaseInfoNV(
6708 ResourceTracker* resourceTracker,
6709 VkWin32KeyedMutexAcquireReleaseInfoNV* toTransform)
6710 {
6711 (void)resourceTracker;
6712 (void)toTransform;
6713 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)toTransform->pReleaseSyncs, toTransform->releaseCount, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
6714 if (toTransform->pNext)
6715 {
6716 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6717 }
6718 }
6719
transform_fromhost_VkWin32KeyedMutexAcquireReleaseInfoNV(ResourceTracker * resourceTracker,VkWin32KeyedMutexAcquireReleaseInfoNV * toTransform)6720 void transform_fromhost_VkWin32KeyedMutexAcquireReleaseInfoNV(
6721 ResourceTracker* resourceTracker,
6722 VkWin32KeyedMutexAcquireReleaseInfoNV* toTransform)
6723 {
6724 (void)resourceTracker;
6725 (void)toTransform;
6726 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)toTransform->pReleaseSyncs, toTransform->releaseCount, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
6727 if (toTransform->pNext)
6728 {
6729 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6730 }
6731 }
6732
6733 #endif
6734 #ifdef VK_EXT_validation_flags
transform_tohost_VkValidationFlagsEXT(ResourceTracker * resourceTracker,VkValidationFlagsEXT * toTransform)6735 void transform_tohost_VkValidationFlagsEXT(
6736 ResourceTracker* resourceTracker,
6737 VkValidationFlagsEXT* toTransform)
6738 {
6739 (void)resourceTracker;
6740 (void)toTransform;
6741 if (toTransform->pNext)
6742 {
6743 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6744 }
6745 }
6746
transform_fromhost_VkValidationFlagsEXT(ResourceTracker * resourceTracker,VkValidationFlagsEXT * toTransform)6747 void transform_fromhost_VkValidationFlagsEXT(
6748 ResourceTracker* resourceTracker,
6749 VkValidationFlagsEXT* toTransform)
6750 {
6751 (void)resourceTracker;
6752 (void)toTransform;
6753 if (toTransform->pNext)
6754 {
6755 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6756 }
6757 }
6758
6759 #endif
6760 #ifdef VK_NN_vi_surface
transform_tohost_VkViSurfaceCreateInfoNN(ResourceTracker * resourceTracker,VkViSurfaceCreateInfoNN * toTransform)6761 void transform_tohost_VkViSurfaceCreateInfoNN(
6762 ResourceTracker* resourceTracker,
6763 VkViSurfaceCreateInfoNN* toTransform)
6764 {
6765 (void)resourceTracker;
6766 (void)toTransform;
6767 if (toTransform->pNext)
6768 {
6769 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6770 }
6771 }
6772
transform_fromhost_VkViSurfaceCreateInfoNN(ResourceTracker * resourceTracker,VkViSurfaceCreateInfoNN * toTransform)6773 void transform_fromhost_VkViSurfaceCreateInfoNN(
6774 ResourceTracker* resourceTracker,
6775 VkViSurfaceCreateInfoNN* toTransform)
6776 {
6777 (void)resourceTracker;
6778 (void)toTransform;
6779 if (toTransform->pNext)
6780 {
6781 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6782 }
6783 }
6784
6785 #endif
6786 #ifdef VK_EXT_shader_subgroup_ballot
6787 #endif
6788 #ifdef VK_EXT_shader_subgroup_vote
6789 #endif
6790 #ifdef VK_EXT_conditional_rendering
transform_tohost_VkConditionalRenderingBeginInfoEXT(ResourceTracker * resourceTracker,VkConditionalRenderingBeginInfoEXT * toTransform)6791 void transform_tohost_VkConditionalRenderingBeginInfoEXT(
6792 ResourceTracker* resourceTracker,
6793 VkConditionalRenderingBeginInfoEXT* toTransform)
6794 {
6795 (void)resourceTracker;
6796 (void)toTransform;
6797 if (toTransform->pNext)
6798 {
6799 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6800 }
6801 }
6802
transform_fromhost_VkConditionalRenderingBeginInfoEXT(ResourceTracker * resourceTracker,VkConditionalRenderingBeginInfoEXT * toTransform)6803 void transform_fromhost_VkConditionalRenderingBeginInfoEXT(
6804 ResourceTracker* resourceTracker,
6805 VkConditionalRenderingBeginInfoEXT* toTransform)
6806 {
6807 (void)resourceTracker;
6808 (void)toTransform;
6809 if (toTransform->pNext)
6810 {
6811 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6812 }
6813 }
6814
transform_tohost_VkPhysicalDeviceConditionalRenderingFeaturesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceConditionalRenderingFeaturesEXT * toTransform)6815 void transform_tohost_VkPhysicalDeviceConditionalRenderingFeaturesEXT(
6816 ResourceTracker* resourceTracker,
6817 VkPhysicalDeviceConditionalRenderingFeaturesEXT* toTransform)
6818 {
6819 (void)resourceTracker;
6820 (void)toTransform;
6821 if (toTransform->pNext)
6822 {
6823 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6824 }
6825 }
6826
transform_fromhost_VkPhysicalDeviceConditionalRenderingFeaturesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceConditionalRenderingFeaturesEXT * toTransform)6827 void transform_fromhost_VkPhysicalDeviceConditionalRenderingFeaturesEXT(
6828 ResourceTracker* resourceTracker,
6829 VkPhysicalDeviceConditionalRenderingFeaturesEXT* toTransform)
6830 {
6831 (void)resourceTracker;
6832 (void)toTransform;
6833 if (toTransform->pNext)
6834 {
6835 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6836 }
6837 }
6838
transform_tohost_VkCommandBufferInheritanceConditionalRenderingInfoEXT(ResourceTracker * resourceTracker,VkCommandBufferInheritanceConditionalRenderingInfoEXT * toTransform)6839 void transform_tohost_VkCommandBufferInheritanceConditionalRenderingInfoEXT(
6840 ResourceTracker* resourceTracker,
6841 VkCommandBufferInheritanceConditionalRenderingInfoEXT* toTransform)
6842 {
6843 (void)resourceTracker;
6844 (void)toTransform;
6845 if (toTransform->pNext)
6846 {
6847 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6848 }
6849 }
6850
transform_fromhost_VkCommandBufferInheritanceConditionalRenderingInfoEXT(ResourceTracker * resourceTracker,VkCommandBufferInheritanceConditionalRenderingInfoEXT * toTransform)6851 void transform_fromhost_VkCommandBufferInheritanceConditionalRenderingInfoEXT(
6852 ResourceTracker* resourceTracker,
6853 VkCommandBufferInheritanceConditionalRenderingInfoEXT* toTransform)
6854 {
6855 (void)resourceTracker;
6856 (void)toTransform;
6857 if (toTransform->pNext)
6858 {
6859 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6860 }
6861 }
6862
6863 #endif
6864 #ifdef VK_NVX_device_generated_commands
transform_tohost_VkDeviceGeneratedCommandsFeaturesNVX(ResourceTracker * resourceTracker,VkDeviceGeneratedCommandsFeaturesNVX * toTransform)6865 void transform_tohost_VkDeviceGeneratedCommandsFeaturesNVX(
6866 ResourceTracker* resourceTracker,
6867 VkDeviceGeneratedCommandsFeaturesNVX* toTransform)
6868 {
6869 (void)resourceTracker;
6870 (void)toTransform;
6871 if (toTransform->pNext)
6872 {
6873 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6874 }
6875 }
6876
transform_fromhost_VkDeviceGeneratedCommandsFeaturesNVX(ResourceTracker * resourceTracker,VkDeviceGeneratedCommandsFeaturesNVX * toTransform)6877 void transform_fromhost_VkDeviceGeneratedCommandsFeaturesNVX(
6878 ResourceTracker* resourceTracker,
6879 VkDeviceGeneratedCommandsFeaturesNVX* toTransform)
6880 {
6881 (void)resourceTracker;
6882 (void)toTransform;
6883 if (toTransform->pNext)
6884 {
6885 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6886 }
6887 }
6888
transform_tohost_VkDeviceGeneratedCommandsLimitsNVX(ResourceTracker * resourceTracker,VkDeviceGeneratedCommandsLimitsNVX * toTransform)6889 void transform_tohost_VkDeviceGeneratedCommandsLimitsNVX(
6890 ResourceTracker* resourceTracker,
6891 VkDeviceGeneratedCommandsLimitsNVX* toTransform)
6892 {
6893 (void)resourceTracker;
6894 (void)toTransform;
6895 if (toTransform->pNext)
6896 {
6897 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6898 }
6899 }
6900
transform_fromhost_VkDeviceGeneratedCommandsLimitsNVX(ResourceTracker * resourceTracker,VkDeviceGeneratedCommandsLimitsNVX * toTransform)6901 void transform_fromhost_VkDeviceGeneratedCommandsLimitsNVX(
6902 ResourceTracker* resourceTracker,
6903 VkDeviceGeneratedCommandsLimitsNVX* toTransform)
6904 {
6905 (void)resourceTracker;
6906 (void)toTransform;
6907 if (toTransform->pNext)
6908 {
6909 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6910 }
6911 }
6912
transform_tohost_VkIndirectCommandsTokenNVX(ResourceTracker * resourceTracker,VkIndirectCommandsTokenNVX * toTransform)6913 void transform_tohost_VkIndirectCommandsTokenNVX(
6914 ResourceTracker* resourceTracker,
6915 VkIndirectCommandsTokenNVX* toTransform)
6916 {
6917 (void)resourceTracker;
6918 (void)toTransform;
6919 }
6920
transform_fromhost_VkIndirectCommandsTokenNVX(ResourceTracker * resourceTracker,VkIndirectCommandsTokenNVX * toTransform)6921 void transform_fromhost_VkIndirectCommandsTokenNVX(
6922 ResourceTracker* resourceTracker,
6923 VkIndirectCommandsTokenNVX* toTransform)
6924 {
6925 (void)resourceTracker;
6926 (void)toTransform;
6927 }
6928
transform_tohost_VkIndirectCommandsLayoutTokenNVX(ResourceTracker * resourceTracker,VkIndirectCommandsLayoutTokenNVX * toTransform)6929 void transform_tohost_VkIndirectCommandsLayoutTokenNVX(
6930 ResourceTracker* resourceTracker,
6931 VkIndirectCommandsLayoutTokenNVX* toTransform)
6932 {
6933 (void)resourceTracker;
6934 (void)toTransform;
6935 }
6936
transform_fromhost_VkIndirectCommandsLayoutTokenNVX(ResourceTracker * resourceTracker,VkIndirectCommandsLayoutTokenNVX * toTransform)6937 void transform_fromhost_VkIndirectCommandsLayoutTokenNVX(
6938 ResourceTracker* resourceTracker,
6939 VkIndirectCommandsLayoutTokenNVX* toTransform)
6940 {
6941 (void)resourceTracker;
6942 (void)toTransform;
6943 }
6944
transform_tohost_VkIndirectCommandsLayoutCreateInfoNVX(ResourceTracker * resourceTracker,VkIndirectCommandsLayoutCreateInfoNVX * toTransform)6945 void transform_tohost_VkIndirectCommandsLayoutCreateInfoNVX(
6946 ResourceTracker* resourceTracker,
6947 VkIndirectCommandsLayoutCreateInfoNVX* toTransform)
6948 {
6949 (void)resourceTracker;
6950 (void)toTransform;
6951 if (toTransform->pNext)
6952 {
6953 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6954 }
6955 if (toTransform->pTokens)
6956 {
6957 for (uint32_t i = 0; i < (uint32_t)toTransform->tokenCount; ++i)
6958 {
6959 transform_tohost_VkIndirectCommandsLayoutTokenNVX(resourceTracker, (VkIndirectCommandsLayoutTokenNVX*)(toTransform->pTokens + i));
6960 }
6961 }
6962 }
6963
transform_fromhost_VkIndirectCommandsLayoutCreateInfoNVX(ResourceTracker * resourceTracker,VkIndirectCommandsLayoutCreateInfoNVX * toTransform)6964 void transform_fromhost_VkIndirectCommandsLayoutCreateInfoNVX(
6965 ResourceTracker* resourceTracker,
6966 VkIndirectCommandsLayoutCreateInfoNVX* toTransform)
6967 {
6968 (void)resourceTracker;
6969 (void)toTransform;
6970 if (toTransform->pNext)
6971 {
6972 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6973 }
6974 if (toTransform->pTokens)
6975 {
6976 for (uint32_t i = 0; i < (uint32_t)toTransform->tokenCount; ++i)
6977 {
6978 transform_fromhost_VkIndirectCommandsLayoutTokenNVX(resourceTracker, (VkIndirectCommandsLayoutTokenNVX*)(toTransform->pTokens + i));
6979 }
6980 }
6981 }
6982
transform_tohost_VkCmdProcessCommandsInfoNVX(ResourceTracker * resourceTracker,VkCmdProcessCommandsInfoNVX * toTransform)6983 void transform_tohost_VkCmdProcessCommandsInfoNVX(
6984 ResourceTracker* resourceTracker,
6985 VkCmdProcessCommandsInfoNVX* toTransform)
6986 {
6987 (void)resourceTracker;
6988 (void)toTransform;
6989 if (toTransform->pNext)
6990 {
6991 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6992 }
6993 if (toTransform->pIndirectCommandsTokens)
6994 {
6995 for (uint32_t i = 0; i < (uint32_t)toTransform->indirectCommandsTokenCount; ++i)
6996 {
6997 transform_tohost_VkIndirectCommandsTokenNVX(resourceTracker, (VkIndirectCommandsTokenNVX*)(toTransform->pIndirectCommandsTokens + i));
6998 }
6999 }
7000 }
7001
transform_fromhost_VkCmdProcessCommandsInfoNVX(ResourceTracker * resourceTracker,VkCmdProcessCommandsInfoNVX * toTransform)7002 void transform_fromhost_VkCmdProcessCommandsInfoNVX(
7003 ResourceTracker* resourceTracker,
7004 VkCmdProcessCommandsInfoNVX* toTransform)
7005 {
7006 (void)resourceTracker;
7007 (void)toTransform;
7008 if (toTransform->pNext)
7009 {
7010 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7011 }
7012 if (toTransform->pIndirectCommandsTokens)
7013 {
7014 for (uint32_t i = 0; i < (uint32_t)toTransform->indirectCommandsTokenCount; ++i)
7015 {
7016 transform_fromhost_VkIndirectCommandsTokenNVX(resourceTracker, (VkIndirectCommandsTokenNVX*)(toTransform->pIndirectCommandsTokens + i));
7017 }
7018 }
7019 }
7020
transform_tohost_VkCmdReserveSpaceForCommandsInfoNVX(ResourceTracker * resourceTracker,VkCmdReserveSpaceForCommandsInfoNVX * toTransform)7021 void transform_tohost_VkCmdReserveSpaceForCommandsInfoNVX(
7022 ResourceTracker* resourceTracker,
7023 VkCmdReserveSpaceForCommandsInfoNVX* toTransform)
7024 {
7025 (void)resourceTracker;
7026 (void)toTransform;
7027 if (toTransform->pNext)
7028 {
7029 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7030 }
7031 }
7032
transform_fromhost_VkCmdReserveSpaceForCommandsInfoNVX(ResourceTracker * resourceTracker,VkCmdReserveSpaceForCommandsInfoNVX * toTransform)7033 void transform_fromhost_VkCmdReserveSpaceForCommandsInfoNVX(
7034 ResourceTracker* resourceTracker,
7035 VkCmdReserveSpaceForCommandsInfoNVX* toTransform)
7036 {
7037 (void)resourceTracker;
7038 (void)toTransform;
7039 if (toTransform->pNext)
7040 {
7041 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7042 }
7043 }
7044
transform_tohost_VkObjectTableCreateInfoNVX(ResourceTracker * resourceTracker,VkObjectTableCreateInfoNVX * toTransform)7045 void transform_tohost_VkObjectTableCreateInfoNVX(
7046 ResourceTracker* resourceTracker,
7047 VkObjectTableCreateInfoNVX* toTransform)
7048 {
7049 (void)resourceTracker;
7050 (void)toTransform;
7051 if (toTransform->pNext)
7052 {
7053 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7054 }
7055 }
7056
transform_fromhost_VkObjectTableCreateInfoNVX(ResourceTracker * resourceTracker,VkObjectTableCreateInfoNVX * toTransform)7057 void transform_fromhost_VkObjectTableCreateInfoNVX(
7058 ResourceTracker* resourceTracker,
7059 VkObjectTableCreateInfoNVX* toTransform)
7060 {
7061 (void)resourceTracker;
7062 (void)toTransform;
7063 if (toTransform->pNext)
7064 {
7065 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7066 }
7067 }
7068
transform_tohost_VkObjectTableEntryNVX(ResourceTracker * resourceTracker,VkObjectTableEntryNVX * toTransform)7069 void transform_tohost_VkObjectTableEntryNVX(
7070 ResourceTracker* resourceTracker,
7071 VkObjectTableEntryNVX* toTransform)
7072 {
7073 (void)resourceTracker;
7074 (void)toTransform;
7075 }
7076
transform_fromhost_VkObjectTableEntryNVX(ResourceTracker * resourceTracker,VkObjectTableEntryNVX * toTransform)7077 void transform_fromhost_VkObjectTableEntryNVX(
7078 ResourceTracker* resourceTracker,
7079 VkObjectTableEntryNVX* toTransform)
7080 {
7081 (void)resourceTracker;
7082 (void)toTransform;
7083 }
7084
transform_tohost_VkObjectTablePipelineEntryNVX(ResourceTracker * resourceTracker,VkObjectTablePipelineEntryNVX * toTransform)7085 void transform_tohost_VkObjectTablePipelineEntryNVX(
7086 ResourceTracker* resourceTracker,
7087 VkObjectTablePipelineEntryNVX* toTransform)
7088 {
7089 (void)resourceTracker;
7090 (void)toTransform;
7091 }
7092
transform_fromhost_VkObjectTablePipelineEntryNVX(ResourceTracker * resourceTracker,VkObjectTablePipelineEntryNVX * toTransform)7093 void transform_fromhost_VkObjectTablePipelineEntryNVX(
7094 ResourceTracker* resourceTracker,
7095 VkObjectTablePipelineEntryNVX* toTransform)
7096 {
7097 (void)resourceTracker;
7098 (void)toTransform;
7099 }
7100
transform_tohost_VkObjectTableDescriptorSetEntryNVX(ResourceTracker * resourceTracker,VkObjectTableDescriptorSetEntryNVX * toTransform)7101 void transform_tohost_VkObjectTableDescriptorSetEntryNVX(
7102 ResourceTracker* resourceTracker,
7103 VkObjectTableDescriptorSetEntryNVX* toTransform)
7104 {
7105 (void)resourceTracker;
7106 (void)toTransform;
7107 }
7108
transform_fromhost_VkObjectTableDescriptorSetEntryNVX(ResourceTracker * resourceTracker,VkObjectTableDescriptorSetEntryNVX * toTransform)7109 void transform_fromhost_VkObjectTableDescriptorSetEntryNVX(
7110 ResourceTracker* resourceTracker,
7111 VkObjectTableDescriptorSetEntryNVX* toTransform)
7112 {
7113 (void)resourceTracker;
7114 (void)toTransform;
7115 }
7116
transform_tohost_VkObjectTableVertexBufferEntryNVX(ResourceTracker * resourceTracker,VkObjectTableVertexBufferEntryNVX * toTransform)7117 void transform_tohost_VkObjectTableVertexBufferEntryNVX(
7118 ResourceTracker* resourceTracker,
7119 VkObjectTableVertexBufferEntryNVX* toTransform)
7120 {
7121 (void)resourceTracker;
7122 (void)toTransform;
7123 }
7124
transform_fromhost_VkObjectTableVertexBufferEntryNVX(ResourceTracker * resourceTracker,VkObjectTableVertexBufferEntryNVX * toTransform)7125 void transform_fromhost_VkObjectTableVertexBufferEntryNVX(
7126 ResourceTracker* resourceTracker,
7127 VkObjectTableVertexBufferEntryNVX* toTransform)
7128 {
7129 (void)resourceTracker;
7130 (void)toTransform;
7131 }
7132
transform_tohost_VkObjectTableIndexBufferEntryNVX(ResourceTracker * resourceTracker,VkObjectTableIndexBufferEntryNVX * toTransform)7133 void transform_tohost_VkObjectTableIndexBufferEntryNVX(
7134 ResourceTracker* resourceTracker,
7135 VkObjectTableIndexBufferEntryNVX* toTransform)
7136 {
7137 (void)resourceTracker;
7138 (void)toTransform;
7139 }
7140
transform_fromhost_VkObjectTableIndexBufferEntryNVX(ResourceTracker * resourceTracker,VkObjectTableIndexBufferEntryNVX * toTransform)7141 void transform_fromhost_VkObjectTableIndexBufferEntryNVX(
7142 ResourceTracker* resourceTracker,
7143 VkObjectTableIndexBufferEntryNVX* toTransform)
7144 {
7145 (void)resourceTracker;
7146 (void)toTransform;
7147 }
7148
transform_tohost_VkObjectTablePushConstantEntryNVX(ResourceTracker * resourceTracker,VkObjectTablePushConstantEntryNVX * toTransform)7149 void transform_tohost_VkObjectTablePushConstantEntryNVX(
7150 ResourceTracker* resourceTracker,
7151 VkObjectTablePushConstantEntryNVX* toTransform)
7152 {
7153 (void)resourceTracker;
7154 (void)toTransform;
7155 }
7156
transform_fromhost_VkObjectTablePushConstantEntryNVX(ResourceTracker * resourceTracker,VkObjectTablePushConstantEntryNVX * toTransform)7157 void transform_fromhost_VkObjectTablePushConstantEntryNVX(
7158 ResourceTracker* resourceTracker,
7159 VkObjectTablePushConstantEntryNVX* toTransform)
7160 {
7161 (void)resourceTracker;
7162 (void)toTransform;
7163 }
7164
7165 #endif
7166 #ifdef VK_NV_clip_space_w_scaling
transform_tohost_VkViewportWScalingNV(ResourceTracker * resourceTracker,VkViewportWScalingNV * toTransform)7167 void transform_tohost_VkViewportWScalingNV(
7168 ResourceTracker* resourceTracker,
7169 VkViewportWScalingNV* toTransform)
7170 {
7171 (void)resourceTracker;
7172 (void)toTransform;
7173 }
7174
transform_fromhost_VkViewportWScalingNV(ResourceTracker * resourceTracker,VkViewportWScalingNV * toTransform)7175 void transform_fromhost_VkViewportWScalingNV(
7176 ResourceTracker* resourceTracker,
7177 VkViewportWScalingNV* toTransform)
7178 {
7179 (void)resourceTracker;
7180 (void)toTransform;
7181 }
7182
transform_tohost_VkPipelineViewportWScalingStateCreateInfoNV(ResourceTracker * resourceTracker,VkPipelineViewportWScalingStateCreateInfoNV * toTransform)7183 void transform_tohost_VkPipelineViewportWScalingStateCreateInfoNV(
7184 ResourceTracker* resourceTracker,
7185 VkPipelineViewportWScalingStateCreateInfoNV* toTransform)
7186 {
7187 (void)resourceTracker;
7188 (void)toTransform;
7189 if (toTransform->pNext)
7190 {
7191 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7192 }
7193 if (toTransform->pViewportWScalings)
7194 {
7195 for (uint32_t i = 0; i < (uint32_t)toTransform->viewportCount; ++i)
7196 {
7197 transform_tohost_VkViewportWScalingNV(resourceTracker, (VkViewportWScalingNV*)(toTransform->pViewportWScalings + i));
7198 }
7199 }
7200 }
7201
transform_fromhost_VkPipelineViewportWScalingStateCreateInfoNV(ResourceTracker * resourceTracker,VkPipelineViewportWScalingStateCreateInfoNV * toTransform)7202 void transform_fromhost_VkPipelineViewportWScalingStateCreateInfoNV(
7203 ResourceTracker* resourceTracker,
7204 VkPipelineViewportWScalingStateCreateInfoNV* toTransform)
7205 {
7206 (void)resourceTracker;
7207 (void)toTransform;
7208 if (toTransform->pNext)
7209 {
7210 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7211 }
7212 if (toTransform->pViewportWScalings)
7213 {
7214 for (uint32_t i = 0; i < (uint32_t)toTransform->viewportCount; ++i)
7215 {
7216 transform_fromhost_VkViewportWScalingNV(resourceTracker, (VkViewportWScalingNV*)(toTransform->pViewportWScalings + i));
7217 }
7218 }
7219 }
7220
7221 #endif
7222 #ifdef VK_EXT_direct_mode_display
7223 #endif
7224 #ifdef VK_EXT_acquire_xlib_display
7225 #endif
7226 #ifdef VK_EXT_display_surface_counter
transform_tohost_VkSurfaceCapabilities2EXT(ResourceTracker * resourceTracker,VkSurfaceCapabilities2EXT * toTransform)7227 void transform_tohost_VkSurfaceCapabilities2EXT(
7228 ResourceTracker* resourceTracker,
7229 VkSurfaceCapabilities2EXT* toTransform)
7230 {
7231 (void)resourceTracker;
7232 (void)toTransform;
7233 if (toTransform->pNext)
7234 {
7235 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7236 }
7237 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->currentExtent));
7238 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->minImageExtent));
7239 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxImageExtent));
7240 }
7241
transform_fromhost_VkSurfaceCapabilities2EXT(ResourceTracker * resourceTracker,VkSurfaceCapabilities2EXT * toTransform)7242 void transform_fromhost_VkSurfaceCapabilities2EXT(
7243 ResourceTracker* resourceTracker,
7244 VkSurfaceCapabilities2EXT* toTransform)
7245 {
7246 (void)resourceTracker;
7247 (void)toTransform;
7248 if (toTransform->pNext)
7249 {
7250 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7251 }
7252 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->currentExtent));
7253 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->minImageExtent));
7254 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxImageExtent));
7255 }
7256
7257 #endif
7258 #ifdef VK_EXT_display_control
transform_tohost_VkDisplayPowerInfoEXT(ResourceTracker * resourceTracker,VkDisplayPowerInfoEXT * toTransform)7259 void transform_tohost_VkDisplayPowerInfoEXT(
7260 ResourceTracker* resourceTracker,
7261 VkDisplayPowerInfoEXT* toTransform)
7262 {
7263 (void)resourceTracker;
7264 (void)toTransform;
7265 if (toTransform->pNext)
7266 {
7267 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7268 }
7269 }
7270
transform_fromhost_VkDisplayPowerInfoEXT(ResourceTracker * resourceTracker,VkDisplayPowerInfoEXT * toTransform)7271 void transform_fromhost_VkDisplayPowerInfoEXT(
7272 ResourceTracker* resourceTracker,
7273 VkDisplayPowerInfoEXT* toTransform)
7274 {
7275 (void)resourceTracker;
7276 (void)toTransform;
7277 if (toTransform->pNext)
7278 {
7279 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7280 }
7281 }
7282
transform_tohost_VkDeviceEventInfoEXT(ResourceTracker * resourceTracker,VkDeviceEventInfoEXT * toTransform)7283 void transform_tohost_VkDeviceEventInfoEXT(
7284 ResourceTracker* resourceTracker,
7285 VkDeviceEventInfoEXT* toTransform)
7286 {
7287 (void)resourceTracker;
7288 (void)toTransform;
7289 if (toTransform->pNext)
7290 {
7291 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7292 }
7293 }
7294
transform_fromhost_VkDeviceEventInfoEXT(ResourceTracker * resourceTracker,VkDeviceEventInfoEXT * toTransform)7295 void transform_fromhost_VkDeviceEventInfoEXT(
7296 ResourceTracker* resourceTracker,
7297 VkDeviceEventInfoEXT* toTransform)
7298 {
7299 (void)resourceTracker;
7300 (void)toTransform;
7301 if (toTransform->pNext)
7302 {
7303 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7304 }
7305 }
7306
transform_tohost_VkDisplayEventInfoEXT(ResourceTracker * resourceTracker,VkDisplayEventInfoEXT * toTransform)7307 void transform_tohost_VkDisplayEventInfoEXT(
7308 ResourceTracker* resourceTracker,
7309 VkDisplayEventInfoEXT* toTransform)
7310 {
7311 (void)resourceTracker;
7312 (void)toTransform;
7313 if (toTransform->pNext)
7314 {
7315 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7316 }
7317 }
7318
transform_fromhost_VkDisplayEventInfoEXT(ResourceTracker * resourceTracker,VkDisplayEventInfoEXT * toTransform)7319 void transform_fromhost_VkDisplayEventInfoEXT(
7320 ResourceTracker* resourceTracker,
7321 VkDisplayEventInfoEXT* toTransform)
7322 {
7323 (void)resourceTracker;
7324 (void)toTransform;
7325 if (toTransform->pNext)
7326 {
7327 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7328 }
7329 }
7330
transform_tohost_VkSwapchainCounterCreateInfoEXT(ResourceTracker * resourceTracker,VkSwapchainCounterCreateInfoEXT * toTransform)7331 void transform_tohost_VkSwapchainCounterCreateInfoEXT(
7332 ResourceTracker* resourceTracker,
7333 VkSwapchainCounterCreateInfoEXT* toTransform)
7334 {
7335 (void)resourceTracker;
7336 (void)toTransform;
7337 if (toTransform->pNext)
7338 {
7339 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7340 }
7341 }
7342
transform_fromhost_VkSwapchainCounterCreateInfoEXT(ResourceTracker * resourceTracker,VkSwapchainCounterCreateInfoEXT * toTransform)7343 void transform_fromhost_VkSwapchainCounterCreateInfoEXT(
7344 ResourceTracker* resourceTracker,
7345 VkSwapchainCounterCreateInfoEXT* toTransform)
7346 {
7347 (void)resourceTracker;
7348 (void)toTransform;
7349 if (toTransform->pNext)
7350 {
7351 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7352 }
7353 }
7354
7355 #endif
7356 #ifdef VK_GOOGLE_display_timing
transform_tohost_VkRefreshCycleDurationGOOGLE(ResourceTracker * resourceTracker,VkRefreshCycleDurationGOOGLE * toTransform)7357 void transform_tohost_VkRefreshCycleDurationGOOGLE(
7358 ResourceTracker* resourceTracker,
7359 VkRefreshCycleDurationGOOGLE* toTransform)
7360 {
7361 (void)resourceTracker;
7362 (void)toTransform;
7363 }
7364
transform_fromhost_VkRefreshCycleDurationGOOGLE(ResourceTracker * resourceTracker,VkRefreshCycleDurationGOOGLE * toTransform)7365 void transform_fromhost_VkRefreshCycleDurationGOOGLE(
7366 ResourceTracker* resourceTracker,
7367 VkRefreshCycleDurationGOOGLE* toTransform)
7368 {
7369 (void)resourceTracker;
7370 (void)toTransform;
7371 }
7372
transform_tohost_VkPastPresentationTimingGOOGLE(ResourceTracker * resourceTracker,VkPastPresentationTimingGOOGLE * toTransform)7373 void transform_tohost_VkPastPresentationTimingGOOGLE(
7374 ResourceTracker* resourceTracker,
7375 VkPastPresentationTimingGOOGLE* toTransform)
7376 {
7377 (void)resourceTracker;
7378 (void)toTransform;
7379 }
7380
transform_fromhost_VkPastPresentationTimingGOOGLE(ResourceTracker * resourceTracker,VkPastPresentationTimingGOOGLE * toTransform)7381 void transform_fromhost_VkPastPresentationTimingGOOGLE(
7382 ResourceTracker* resourceTracker,
7383 VkPastPresentationTimingGOOGLE* toTransform)
7384 {
7385 (void)resourceTracker;
7386 (void)toTransform;
7387 }
7388
transform_tohost_VkPresentTimeGOOGLE(ResourceTracker * resourceTracker,VkPresentTimeGOOGLE * toTransform)7389 void transform_tohost_VkPresentTimeGOOGLE(
7390 ResourceTracker* resourceTracker,
7391 VkPresentTimeGOOGLE* toTransform)
7392 {
7393 (void)resourceTracker;
7394 (void)toTransform;
7395 }
7396
transform_fromhost_VkPresentTimeGOOGLE(ResourceTracker * resourceTracker,VkPresentTimeGOOGLE * toTransform)7397 void transform_fromhost_VkPresentTimeGOOGLE(
7398 ResourceTracker* resourceTracker,
7399 VkPresentTimeGOOGLE* toTransform)
7400 {
7401 (void)resourceTracker;
7402 (void)toTransform;
7403 }
7404
transform_tohost_VkPresentTimesInfoGOOGLE(ResourceTracker * resourceTracker,VkPresentTimesInfoGOOGLE * toTransform)7405 void transform_tohost_VkPresentTimesInfoGOOGLE(
7406 ResourceTracker* resourceTracker,
7407 VkPresentTimesInfoGOOGLE* toTransform)
7408 {
7409 (void)resourceTracker;
7410 (void)toTransform;
7411 if (toTransform->pNext)
7412 {
7413 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7414 }
7415 if (toTransform->pTimes)
7416 {
7417 for (uint32_t i = 0; i < (uint32_t)toTransform->swapchainCount; ++i)
7418 {
7419 transform_tohost_VkPresentTimeGOOGLE(resourceTracker, (VkPresentTimeGOOGLE*)(toTransform->pTimes + i));
7420 }
7421 }
7422 }
7423
transform_fromhost_VkPresentTimesInfoGOOGLE(ResourceTracker * resourceTracker,VkPresentTimesInfoGOOGLE * toTransform)7424 void transform_fromhost_VkPresentTimesInfoGOOGLE(
7425 ResourceTracker* resourceTracker,
7426 VkPresentTimesInfoGOOGLE* toTransform)
7427 {
7428 (void)resourceTracker;
7429 (void)toTransform;
7430 if (toTransform->pNext)
7431 {
7432 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7433 }
7434 if (toTransform->pTimes)
7435 {
7436 for (uint32_t i = 0; i < (uint32_t)toTransform->swapchainCount; ++i)
7437 {
7438 transform_fromhost_VkPresentTimeGOOGLE(resourceTracker, (VkPresentTimeGOOGLE*)(toTransform->pTimes + i));
7439 }
7440 }
7441 }
7442
7443 #endif
7444 #ifdef VK_NV_sample_mask_override_coverage
7445 #endif
7446 #ifdef VK_NV_geometry_shader_passthrough
7447 #endif
7448 #ifdef VK_NV_viewport_array2
7449 #endif
7450 #ifdef VK_NVX_multiview_per_view_attributes
transform_tohost_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(ResourceTracker * resourceTracker,VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX * toTransform)7451 void transform_tohost_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(
7452 ResourceTracker* resourceTracker,
7453 VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* toTransform)
7454 {
7455 (void)resourceTracker;
7456 (void)toTransform;
7457 if (toTransform->pNext)
7458 {
7459 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7460 }
7461 }
7462
transform_fromhost_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(ResourceTracker * resourceTracker,VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX * toTransform)7463 void transform_fromhost_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(
7464 ResourceTracker* resourceTracker,
7465 VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* toTransform)
7466 {
7467 (void)resourceTracker;
7468 (void)toTransform;
7469 if (toTransform->pNext)
7470 {
7471 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7472 }
7473 }
7474
7475 #endif
7476 #ifdef VK_NV_viewport_swizzle
transform_tohost_VkViewportSwizzleNV(ResourceTracker * resourceTracker,VkViewportSwizzleNV * toTransform)7477 void transform_tohost_VkViewportSwizzleNV(
7478 ResourceTracker* resourceTracker,
7479 VkViewportSwizzleNV* toTransform)
7480 {
7481 (void)resourceTracker;
7482 (void)toTransform;
7483 }
7484
transform_fromhost_VkViewportSwizzleNV(ResourceTracker * resourceTracker,VkViewportSwizzleNV * toTransform)7485 void transform_fromhost_VkViewportSwizzleNV(
7486 ResourceTracker* resourceTracker,
7487 VkViewportSwizzleNV* toTransform)
7488 {
7489 (void)resourceTracker;
7490 (void)toTransform;
7491 }
7492
transform_tohost_VkPipelineViewportSwizzleStateCreateInfoNV(ResourceTracker * resourceTracker,VkPipelineViewportSwizzleStateCreateInfoNV * toTransform)7493 void transform_tohost_VkPipelineViewportSwizzleStateCreateInfoNV(
7494 ResourceTracker* resourceTracker,
7495 VkPipelineViewportSwizzleStateCreateInfoNV* toTransform)
7496 {
7497 (void)resourceTracker;
7498 (void)toTransform;
7499 if (toTransform->pNext)
7500 {
7501 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7502 }
7503 if (toTransform->pViewportSwizzles)
7504 {
7505 for (uint32_t i = 0; i < (uint32_t)toTransform->viewportCount; ++i)
7506 {
7507 transform_tohost_VkViewportSwizzleNV(resourceTracker, (VkViewportSwizzleNV*)(toTransform->pViewportSwizzles + i));
7508 }
7509 }
7510 }
7511
transform_fromhost_VkPipelineViewportSwizzleStateCreateInfoNV(ResourceTracker * resourceTracker,VkPipelineViewportSwizzleStateCreateInfoNV * toTransform)7512 void transform_fromhost_VkPipelineViewportSwizzleStateCreateInfoNV(
7513 ResourceTracker* resourceTracker,
7514 VkPipelineViewportSwizzleStateCreateInfoNV* toTransform)
7515 {
7516 (void)resourceTracker;
7517 (void)toTransform;
7518 if (toTransform->pNext)
7519 {
7520 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7521 }
7522 if (toTransform->pViewportSwizzles)
7523 {
7524 for (uint32_t i = 0; i < (uint32_t)toTransform->viewportCount; ++i)
7525 {
7526 transform_fromhost_VkViewportSwizzleNV(resourceTracker, (VkViewportSwizzleNV*)(toTransform->pViewportSwizzles + i));
7527 }
7528 }
7529 }
7530
7531 #endif
7532 #ifdef VK_EXT_discard_rectangles
transform_tohost_VkPhysicalDeviceDiscardRectanglePropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceDiscardRectanglePropertiesEXT * toTransform)7533 void transform_tohost_VkPhysicalDeviceDiscardRectanglePropertiesEXT(
7534 ResourceTracker* resourceTracker,
7535 VkPhysicalDeviceDiscardRectanglePropertiesEXT* toTransform)
7536 {
7537 (void)resourceTracker;
7538 (void)toTransform;
7539 if (toTransform->pNext)
7540 {
7541 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7542 }
7543 }
7544
transform_fromhost_VkPhysicalDeviceDiscardRectanglePropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceDiscardRectanglePropertiesEXT * toTransform)7545 void transform_fromhost_VkPhysicalDeviceDiscardRectanglePropertiesEXT(
7546 ResourceTracker* resourceTracker,
7547 VkPhysicalDeviceDiscardRectanglePropertiesEXT* toTransform)
7548 {
7549 (void)resourceTracker;
7550 (void)toTransform;
7551 if (toTransform->pNext)
7552 {
7553 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7554 }
7555 }
7556
transform_tohost_VkPipelineDiscardRectangleStateCreateInfoEXT(ResourceTracker * resourceTracker,VkPipelineDiscardRectangleStateCreateInfoEXT * toTransform)7557 void transform_tohost_VkPipelineDiscardRectangleStateCreateInfoEXT(
7558 ResourceTracker* resourceTracker,
7559 VkPipelineDiscardRectangleStateCreateInfoEXT* toTransform)
7560 {
7561 (void)resourceTracker;
7562 (void)toTransform;
7563 if (toTransform->pNext)
7564 {
7565 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7566 }
7567 if (toTransform->pDiscardRectangles)
7568 {
7569 for (uint32_t i = 0; i < (uint32_t)toTransform->discardRectangleCount; ++i)
7570 {
7571 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pDiscardRectangles + i));
7572 }
7573 }
7574 }
7575
transform_fromhost_VkPipelineDiscardRectangleStateCreateInfoEXT(ResourceTracker * resourceTracker,VkPipelineDiscardRectangleStateCreateInfoEXT * toTransform)7576 void transform_fromhost_VkPipelineDiscardRectangleStateCreateInfoEXT(
7577 ResourceTracker* resourceTracker,
7578 VkPipelineDiscardRectangleStateCreateInfoEXT* toTransform)
7579 {
7580 (void)resourceTracker;
7581 (void)toTransform;
7582 if (toTransform->pNext)
7583 {
7584 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7585 }
7586 if (toTransform->pDiscardRectangles)
7587 {
7588 for (uint32_t i = 0; i < (uint32_t)toTransform->discardRectangleCount; ++i)
7589 {
7590 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pDiscardRectangles + i));
7591 }
7592 }
7593 }
7594
7595 #endif
7596 #ifdef VK_EXT_conservative_rasterization
transform_tohost_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceConservativeRasterizationPropertiesEXT * toTransform)7597 void transform_tohost_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(
7598 ResourceTracker* resourceTracker,
7599 VkPhysicalDeviceConservativeRasterizationPropertiesEXT* toTransform)
7600 {
7601 (void)resourceTracker;
7602 (void)toTransform;
7603 if (toTransform->pNext)
7604 {
7605 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7606 }
7607 }
7608
transform_fromhost_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceConservativeRasterizationPropertiesEXT * toTransform)7609 void transform_fromhost_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(
7610 ResourceTracker* resourceTracker,
7611 VkPhysicalDeviceConservativeRasterizationPropertiesEXT* toTransform)
7612 {
7613 (void)resourceTracker;
7614 (void)toTransform;
7615 if (toTransform->pNext)
7616 {
7617 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7618 }
7619 }
7620
transform_tohost_VkPipelineRasterizationConservativeStateCreateInfoEXT(ResourceTracker * resourceTracker,VkPipelineRasterizationConservativeStateCreateInfoEXT * toTransform)7621 void transform_tohost_VkPipelineRasterizationConservativeStateCreateInfoEXT(
7622 ResourceTracker* resourceTracker,
7623 VkPipelineRasterizationConservativeStateCreateInfoEXT* toTransform)
7624 {
7625 (void)resourceTracker;
7626 (void)toTransform;
7627 if (toTransform->pNext)
7628 {
7629 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7630 }
7631 }
7632
transform_fromhost_VkPipelineRasterizationConservativeStateCreateInfoEXT(ResourceTracker * resourceTracker,VkPipelineRasterizationConservativeStateCreateInfoEXT * toTransform)7633 void transform_fromhost_VkPipelineRasterizationConservativeStateCreateInfoEXT(
7634 ResourceTracker* resourceTracker,
7635 VkPipelineRasterizationConservativeStateCreateInfoEXT* toTransform)
7636 {
7637 (void)resourceTracker;
7638 (void)toTransform;
7639 if (toTransform->pNext)
7640 {
7641 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7642 }
7643 }
7644
7645 #endif
7646 #ifdef VK_EXT_swapchain_colorspace
7647 #endif
7648 #ifdef VK_EXT_hdr_metadata
transform_tohost_VkXYColorEXT(ResourceTracker * resourceTracker,VkXYColorEXT * toTransform)7649 void transform_tohost_VkXYColorEXT(
7650 ResourceTracker* resourceTracker,
7651 VkXYColorEXT* toTransform)
7652 {
7653 (void)resourceTracker;
7654 (void)toTransform;
7655 }
7656
transform_fromhost_VkXYColorEXT(ResourceTracker * resourceTracker,VkXYColorEXT * toTransform)7657 void transform_fromhost_VkXYColorEXT(
7658 ResourceTracker* resourceTracker,
7659 VkXYColorEXT* toTransform)
7660 {
7661 (void)resourceTracker;
7662 (void)toTransform;
7663 }
7664
transform_tohost_VkHdrMetadataEXT(ResourceTracker * resourceTracker,VkHdrMetadataEXT * toTransform)7665 void transform_tohost_VkHdrMetadataEXT(
7666 ResourceTracker* resourceTracker,
7667 VkHdrMetadataEXT* toTransform)
7668 {
7669 (void)resourceTracker;
7670 (void)toTransform;
7671 if (toTransform->pNext)
7672 {
7673 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7674 }
7675 transform_tohost_VkXYColorEXT(resourceTracker, (VkXYColorEXT*)(&toTransform->displayPrimaryRed));
7676 transform_tohost_VkXYColorEXT(resourceTracker, (VkXYColorEXT*)(&toTransform->displayPrimaryGreen));
7677 transform_tohost_VkXYColorEXT(resourceTracker, (VkXYColorEXT*)(&toTransform->displayPrimaryBlue));
7678 transform_tohost_VkXYColorEXT(resourceTracker, (VkXYColorEXT*)(&toTransform->whitePoint));
7679 }
7680
transform_fromhost_VkHdrMetadataEXT(ResourceTracker * resourceTracker,VkHdrMetadataEXT * toTransform)7681 void transform_fromhost_VkHdrMetadataEXT(
7682 ResourceTracker* resourceTracker,
7683 VkHdrMetadataEXT* toTransform)
7684 {
7685 (void)resourceTracker;
7686 (void)toTransform;
7687 if (toTransform->pNext)
7688 {
7689 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7690 }
7691 transform_fromhost_VkXYColorEXT(resourceTracker, (VkXYColorEXT*)(&toTransform->displayPrimaryRed));
7692 transform_fromhost_VkXYColorEXT(resourceTracker, (VkXYColorEXT*)(&toTransform->displayPrimaryGreen));
7693 transform_fromhost_VkXYColorEXT(resourceTracker, (VkXYColorEXT*)(&toTransform->displayPrimaryBlue));
7694 transform_fromhost_VkXYColorEXT(resourceTracker, (VkXYColorEXT*)(&toTransform->whitePoint));
7695 }
7696
7697 #endif
7698 #ifdef VK_MVK_ios_surface
transform_tohost_VkIOSSurfaceCreateInfoMVK(ResourceTracker * resourceTracker,VkIOSSurfaceCreateInfoMVK * toTransform)7699 void transform_tohost_VkIOSSurfaceCreateInfoMVK(
7700 ResourceTracker* resourceTracker,
7701 VkIOSSurfaceCreateInfoMVK* toTransform)
7702 {
7703 (void)resourceTracker;
7704 (void)toTransform;
7705 if (toTransform->pNext)
7706 {
7707 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7708 }
7709 }
7710
transform_fromhost_VkIOSSurfaceCreateInfoMVK(ResourceTracker * resourceTracker,VkIOSSurfaceCreateInfoMVK * toTransform)7711 void transform_fromhost_VkIOSSurfaceCreateInfoMVK(
7712 ResourceTracker* resourceTracker,
7713 VkIOSSurfaceCreateInfoMVK* toTransform)
7714 {
7715 (void)resourceTracker;
7716 (void)toTransform;
7717 if (toTransform->pNext)
7718 {
7719 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7720 }
7721 }
7722
7723 #endif
7724 #ifdef VK_MVK_macos_surface
transform_tohost_VkMacOSSurfaceCreateInfoMVK(ResourceTracker * resourceTracker,VkMacOSSurfaceCreateInfoMVK * toTransform)7725 void transform_tohost_VkMacOSSurfaceCreateInfoMVK(
7726 ResourceTracker* resourceTracker,
7727 VkMacOSSurfaceCreateInfoMVK* toTransform)
7728 {
7729 (void)resourceTracker;
7730 (void)toTransform;
7731 if (toTransform->pNext)
7732 {
7733 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7734 }
7735 }
7736
transform_fromhost_VkMacOSSurfaceCreateInfoMVK(ResourceTracker * resourceTracker,VkMacOSSurfaceCreateInfoMVK * toTransform)7737 void transform_fromhost_VkMacOSSurfaceCreateInfoMVK(
7738 ResourceTracker* resourceTracker,
7739 VkMacOSSurfaceCreateInfoMVK* toTransform)
7740 {
7741 (void)resourceTracker;
7742 (void)toTransform;
7743 if (toTransform->pNext)
7744 {
7745 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7746 }
7747 }
7748
7749 #endif
7750 #ifdef VK_EXT_external_memory_dma_buf
7751 #endif
7752 #ifdef VK_EXT_queue_family_foreign
7753 #endif
7754 #ifdef VK_EXT_debug_utils
transform_tohost_VkDebugUtilsObjectNameInfoEXT(ResourceTracker * resourceTracker,VkDebugUtilsObjectNameInfoEXT * toTransform)7755 void transform_tohost_VkDebugUtilsObjectNameInfoEXT(
7756 ResourceTracker* resourceTracker,
7757 VkDebugUtilsObjectNameInfoEXT* toTransform)
7758 {
7759 (void)resourceTracker;
7760 (void)toTransform;
7761 if (toTransform->pNext)
7762 {
7763 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7764 }
7765 }
7766
transform_fromhost_VkDebugUtilsObjectNameInfoEXT(ResourceTracker * resourceTracker,VkDebugUtilsObjectNameInfoEXT * toTransform)7767 void transform_fromhost_VkDebugUtilsObjectNameInfoEXT(
7768 ResourceTracker* resourceTracker,
7769 VkDebugUtilsObjectNameInfoEXT* toTransform)
7770 {
7771 (void)resourceTracker;
7772 (void)toTransform;
7773 if (toTransform->pNext)
7774 {
7775 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7776 }
7777 }
7778
transform_tohost_VkDebugUtilsObjectTagInfoEXT(ResourceTracker * resourceTracker,VkDebugUtilsObjectTagInfoEXT * toTransform)7779 void transform_tohost_VkDebugUtilsObjectTagInfoEXT(
7780 ResourceTracker* resourceTracker,
7781 VkDebugUtilsObjectTagInfoEXT* toTransform)
7782 {
7783 (void)resourceTracker;
7784 (void)toTransform;
7785 if (toTransform->pNext)
7786 {
7787 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7788 }
7789 }
7790
transform_fromhost_VkDebugUtilsObjectTagInfoEXT(ResourceTracker * resourceTracker,VkDebugUtilsObjectTagInfoEXT * toTransform)7791 void transform_fromhost_VkDebugUtilsObjectTagInfoEXT(
7792 ResourceTracker* resourceTracker,
7793 VkDebugUtilsObjectTagInfoEXT* toTransform)
7794 {
7795 (void)resourceTracker;
7796 (void)toTransform;
7797 if (toTransform->pNext)
7798 {
7799 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7800 }
7801 }
7802
transform_tohost_VkDebugUtilsLabelEXT(ResourceTracker * resourceTracker,VkDebugUtilsLabelEXT * toTransform)7803 void transform_tohost_VkDebugUtilsLabelEXT(
7804 ResourceTracker* resourceTracker,
7805 VkDebugUtilsLabelEXT* toTransform)
7806 {
7807 (void)resourceTracker;
7808 (void)toTransform;
7809 if (toTransform->pNext)
7810 {
7811 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7812 }
7813 }
7814
transform_fromhost_VkDebugUtilsLabelEXT(ResourceTracker * resourceTracker,VkDebugUtilsLabelEXT * toTransform)7815 void transform_fromhost_VkDebugUtilsLabelEXT(
7816 ResourceTracker* resourceTracker,
7817 VkDebugUtilsLabelEXT* toTransform)
7818 {
7819 (void)resourceTracker;
7820 (void)toTransform;
7821 if (toTransform->pNext)
7822 {
7823 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7824 }
7825 }
7826
transform_tohost_VkDebugUtilsMessengerCallbackDataEXT(ResourceTracker * resourceTracker,VkDebugUtilsMessengerCallbackDataEXT * toTransform)7827 void transform_tohost_VkDebugUtilsMessengerCallbackDataEXT(
7828 ResourceTracker* resourceTracker,
7829 VkDebugUtilsMessengerCallbackDataEXT* toTransform)
7830 {
7831 (void)resourceTracker;
7832 (void)toTransform;
7833 if (toTransform->pNext)
7834 {
7835 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7836 }
7837 if (toTransform->pQueueLabels)
7838 {
7839 for (uint32_t i = 0; i < (uint32_t)toTransform->queueLabelCount; ++i)
7840 {
7841 transform_tohost_VkDebugUtilsLabelEXT(resourceTracker, (VkDebugUtilsLabelEXT*)(toTransform->pQueueLabels + i));
7842 }
7843 }
7844 if (toTransform->pCmdBufLabels)
7845 {
7846 for (uint32_t i = 0; i < (uint32_t)toTransform->cmdBufLabelCount; ++i)
7847 {
7848 transform_tohost_VkDebugUtilsLabelEXT(resourceTracker, (VkDebugUtilsLabelEXT*)(toTransform->pCmdBufLabels + i));
7849 }
7850 }
7851 if (toTransform->pObjects)
7852 {
7853 for (uint32_t i = 0; i < (uint32_t)toTransform->objectCount; ++i)
7854 {
7855 transform_tohost_VkDebugUtilsObjectNameInfoEXT(resourceTracker, (VkDebugUtilsObjectNameInfoEXT*)(toTransform->pObjects + i));
7856 }
7857 }
7858 }
7859
transform_fromhost_VkDebugUtilsMessengerCallbackDataEXT(ResourceTracker * resourceTracker,VkDebugUtilsMessengerCallbackDataEXT * toTransform)7860 void transform_fromhost_VkDebugUtilsMessengerCallbackDataEXT(
7861 ResourceTracker* resourceTracker,
7862 VkDebugUtilsMessengerCallbackDataEXT* toTransform)
7863 {
7864 (void)resourceTracker;
7865 (void)toTransform;
7866 if (toTransform->pNext)
7867 {
7868 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7869 }
7870 if (toTransform->pQueueLabels)
7871 {
7872 for (uint32_t i = 0; i < (uint32_t)toTransform->queueLabelCount; ++i)
7873 {
7874 transform_fromhost_VkDebugUtilsLabelEXT(resourceTracker, (VkDebugUtilsLabelEXT*)(toTransform->pQueueLabels + i));
7875 }
7876 }
7877 if (toTransform->pCmdBufLabels)
7878 {
7879 for (uint32_t i = 0; i < (uint32_t)toTransform->cmdBufLabelCount; ++i)
7880 {
7881 transform_fromhost_VkDebugUtilsLabelEXT(resourceTracker, (VkDebugUtilsLabelEXT*)(toTransform->pCmdBufLabels + i));
7882 }
7883 }
7884 if (toTransform->pObjects)
7885 {
7886 for (uint32_t i = 0; i < (uint32_t)toTransform->objectCount; ++i)
7887 {
7888 transform_fromhost_VkDebugUtilsObjectNameInfoEXT(resourceTracker, (VkDebugUtilsObjectNameInfoEXT*)(toTransform->pObjects + i));
7889 }
7890 }
7891 }
7892
transform_tohost_VkDebugUtilsMessengerCreateInfoEXT(ResourceTracker * resourceTracker,VkDebugUtilsMessengerCreateInfoEXT * toTransform)7893 void transform_tohost_VkDebugUtilsMessengerCreateInfoEXT(
7894 ResourceTracker* resourceTracker,
7895 VkDebugUtilsMessengerCreateInfoEXT* toTransform)
7896 {
7897 (void)resourceTracker;
7898 (void)toTransform;
7899 if (toTransform->pNext)
7900 {
7901 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7902 }
7903 }
7904
transform_fromhost_VkDebugUtilsMessengerCreateInfoEXT(ResourceTracker * resourceTracker,VkDebugUtilsMessengerCreateInfoEXT * toTransform)7905 void transform_fromhost_VkDebugUtilsMessengerCreateInfoEXT(
7906 ResourceTracker* resourceTracker,
7907 VkDebugUtilsMessengerCreateInfoEXT* toTransform)
7908 {
7909 (void)resourceTracker;
7910 (void)toTransform;
7911 if (toTransform->pNext)
7912 {
7913 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7914 }
7915 }
7916
7917 #endif
7918 #ifdef VK_ANDROID_external_memory_android_hardware_buffer
transform_tohost_VkAndroidHardwareBufferUsageANDROID(ResourceTracker * resourceTracker,VkAndroidHardwareBufferUsageANDROID * toTransform)7919 void transform_tohost_VkAndroidHardwareBufferUsageANDROID(
7920 ResourceTracker* resourceTracker,
7921 VkAndroidHardwareBufferUsageANDROID* toTransform)
7922 {
7923 (void)resourceTracker;
7924 (void)toTransform;
7925 if (toTransform->pNext)
7926 {
7927 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7928 }
7929 }
7930
transform_fromhost_VkAndroidHardwareBufferUsageANDROID(ResourceTracker * resourceTracker,VkAndroidHardwareBufferUsageANDROID * toTransform)7931 void transform_fromhost_VkAndroidHardwareBufferUsageANDROID(
7932 ResourceTracker* resourceTracker,
7933 VkAndroidHardwareBufferUsageANDROID* toTransform)
7934 {
7935 (void)resourceTracker;
7936 (void)toTransform;
7937 if (toTransform->pNext)
7938 {
7939 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7940 }
7941 }
7942
transform_tohost_VkAndroidHardwareBufferPropertiesANDROID(ResourceTracker * resourceTracker,VkAndroidHardwareBufferPropertiesANDROID * toTransform)7943 void transform_tohost_VkAndroidHardwareBufferPropertiesANDROID(
7944 ResourceTracker* resourceTracker,
7945 VkAndroidHardwareBufferPropertiesANDROID* toTransform)
7946 {
7947 (void)resourceTracker;
7948 (void)toTransform;
7949 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
7950 if (toTransform->pNext)
7951 {
7952 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7953 }
7954 }
7955
transform_fromhost_VkAndroidHardwareBufferPropertiesANDROID(ResourceTracker * resourceTracker,VkAndroidHardwareBufferPropertiesANDROID * toTransform)7956 void transform_fromhost_VkAndroidHardwareBufferPropertiesANDROID(
7957 ResourceTracker* resourceTracker,
7958 VkAndroidHardwareBufferPropertiesANDROID* toTransform)
7959 {
7960 (void)resourceTracker;
7961 (void)toTransform;
7962 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
7963 if (toTransform->pNext)
7964 {
7965 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7966 }
7967 }
7968
transform_tohost_VkAndroidHardwareBufferFormatPropertiesANDROID(ResourceTracker * resourceTracker,VkAndroidHardwareBufferFormatPropertiesANDROID * toTransform)7969 void transform_tohost_VkAndroidHardwareBufferFormatPropertiesANDROID(
7970 ResourceTracker* resourceTracker,
7971 VkAndroidHardwareBufferFormatPropertiesANDROID* toTransform)
7972 {
7973 (void)resourceTracker;
7974 (void)toTransform;
7975 if (toTransform->pNext)
7976 {
7977 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7978 }
7979 transform_tohost_VkComponentMapping(resourceTracker, (VkComponentMapping*)(&toTransform->samplerYcbcrConversionComponents));
7980 }
7981
transform_fromhost_VkAndroidHardwareBufferFormatPropertiesANDROID(ResourceTracker * resourceTracker,VkAndroidHardwareBufferFormatPropertiesANDROID * toTransform)7982 void transform_fromhost_VkAndroidHardwareBufferFormatPropertiesANDROID(
7983 ResourceTracker* resourceTracker,
7984 VkAndroidHardwareBufferFormatPropertiesANDROID* toTransform)
7985 {
7986 (void)resourceTracker;
7987 (void)toTransform;
7988 if (toTransform->pNext)
7989 {
7990 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7991 }
7992 transform_fromhost_VkComponentMapping(resourceTracker, (VkComponentMapping*)(&toTransform->samplerYcbcrConversionComponents));
7993 }
7994
transform_tohost_VkImportAndroidHardwareBufferInfoANDROID(ResourceTracker * resourceTracker,VkImportAndroidHardwareBufferInfoANDROID * toTransform)7995 void transform_tohost_VkImportAndroidHardwareBufferInfoANDROID(
7996 ResourceTracker* resourceTracker,
7997 VkImportAndroidHardwareBufferInfoANDROID* toTransform)
7998 {
7999 (void)resourceTracker;
8000 (void)toTransform;
8001 if (toTransform->pNext)
8002 {
8003 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8004 }
8005 }
8006
transform_fromhost_VkImportAndroidHardwareBufferInfoANDROID(ResourceTracker * resourceTracker,VkImportAndroidHardwareBufferInfoANDROID * toTransform)8007 void transform_fromhost_VkImportAndroidHardwareBufferInfoANDROID(
8008 ResourceTracker* resourceTracker,
8009 VkImportAndroidHardwareBufferInfoANDROID* toTransform)
8010 {
8011 (void)resourceTracker;
8012 (void)toTransform;
8013 if (toTransform->pNext)
8014 {
8015 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8016 }
8017 }
8018
transform_tohost_VkMemoryGetAndroidHardwareBufferInfoANDROID(ResourceTracker * resourceTracker,VkMemoryGetAndroidHardwareBufferInfoANDROID * toTransform)8019 void transform_tohost_VkMemoryGetAndroidHardwareBufferInfoANDROID(
8020 ResourceTracker* resourceTracker,
8021 VkMemoryGetAndroidHardwareBufferInfoANDROID* toTransform)
8022 {
8023 (void)resourceTracker;
8024 (void)toTransform;
8025 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
8026 if (toTransform->pNext)
8027 {
8028 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8029 }
8030 }
8031
transform_fromhost_VkMemoryGetAndroidHardwareBufferInfoANDROID(ResourceTracker * resourceTracker,VkMemoryGetAndroidHardwareBufferInfoANDROID * toTransform)8032 void transform_fromhost_VkMemoryGetAndroidHardwareBufferInfoANDROID(
8033 ResourceTracker* resourceTracker,
8034 VkMemoryGetAndroidHardwareBufferInfoANDROID* toTransform)
8035 {
8036 (void)resourceTracker;
8037 (void)toTransform;
8038 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
8039 if (toTransform->pNext)
8040 {
8041 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8042 }
8043 }
8044
transform_tohost_VkExternalFormatANDROID(ResourceTracker * resourceTracker,VkExternalFormatANDROID * toTransform)8045 void transform_tohost_VkExternalFormatANDROID(
8046 ResourceTracker* resourceTracker,
8047 VkExternalFormatANDROID* toTransform)
8048 {
8049 (void)resourceTracker;
8050 (void)toTransform;
8051 if (toTransform->pNext)
8052 {
8053 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8054 }
8055 }
8056
transform_fromhost_VkExternalFormatANDROID(ResourceTracker * resourceTracker,VkExternalFormatANDROID * toTransform)8057 void transform_fromhost_VkExternalFormatANDROID(
8058 ResourceTracker* resourceTracker,
8059 VkExternalFormatANDROID* toTransform)
8060 {
8061 (void)resourceTracker;
8062 (void)toTransform;
8063 if (toTransform->pNext)
8064 {
8065 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8066 }
8067 }
8068
8069 #endif
8070 #ifdef VK_EXT_sampler_filter_minmax
transform_tohost_VkSamplerReductionModeCreateInfoEXT(ResourceTracker * resourceTracker,VkSamplerReductionModeCreateInfoEXT * toTransform)8071 void transform_tohost_VkSamplerReductionModeCreateInfoEXT(
8072 ResourceTracker* resourceTracker,
8073 VkSamplerReductionModeCreateInfoEXT* toTransform)
8074 {
8075 (void)resourceTracker;
8076 (void)toTransform;
8077 if (toTransform->pNext)
8078 {
8079 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8080 }
8081 }
8082
transform_fromhost_VkSamplerReductionModeCreateInfoEXT(ResourceTracker * resourceTracker,VkSamplerReductionModeCreateInfoEXT * toTransform)8083 void transform_fromhost_VkSamplerReductionModeCreateInfoEXT(
8084 ResourceTracker* resourceTracker,
8085 VkSamplerReductionModeCreateInfoEXT* toTransform)
8086 {
8087 (void)resourceTracker;
8088 (void)toTransform;
8089 if (toTransform->pNext)
8090 {
8091 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8092 }
8093 }
8094
transform_tohost_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT * toTransform)8095 void transform_tohost_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(
8096 ResourceTracker* resourceTracker,
8097 VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* toTransform)
8098 {
8099 (void)resourceTracker;
8100 (void)toTransform;
8101 if (toTransform->pNext)
8102 {
8103 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8104 }
8105 }
8106
transform_fromhost_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT * toTransform)8107 void transform_fromhost_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(
8108 ResourceTracker* resourceTracker,
8109 VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* toTransform)
8110 {
8111 (void)resourceTracker;
8112 (void)toTransform;
8113 if (toTransform->pNext)
8114 {
8115 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8116 }
8117 }
8118
8119 #endif
8120 #ifdef VK_AMD_gpu_shader_int16
8121 #endif
8122 #ifdef VK_AMD_mixed_attachment_samples
8123 #endif
8124 #ifdef VK_AMD_shader_fragment_mask
8125 #endif
8126 #ifdef VK_EXT_shader_stencil_export
8127 #endif
8128 #ifdef VK_EXT_sample_locations
transform_tohost_VkSampleLocationEXT(ResourceTracker * resourceTracker,VkSampleLocationEXT * toTransform)8129 void transform_tohost_VkSampleLocationEXT(
8130 ResourceTracker* resourceTracker,
8131 VkSampleLocationEXT* toTransform)
8132 {
8133 (void)resourceTracker;
8134 (void)toTransform;
8135 }
8136
transform_fromhost_VkSampleLocationEXT(ResourceTracker * resourceTracker,VkSampleLocationEXT * toTransform)8137 void transform_fromhost_VkSampleLocationEXT(
8138 ResourceTracker* resourceTracker,
8139 VkSampleLocationEXT* toTransform)
8140 {
8141 (void)resourceTracker;
8142 (void)toTransform;
8143 }
8144
transform_tohost_VkSampleLocationsInfoEXT(ResourceTracker * resourceTracker,VkSampleLocationsInfoEXT * toTransform)8145 void transform_tohost_VkSampleLocationsInfoEXT(
8146 ResourceTracker* resourceTracker,
8147 VkSampleLocationsInfoEXT* toTransform)
8148 {
8149 (void)resourceTracker;
8150 (void)toTransform;
8151 if (toTransform->pNext)
8152 {
8153 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8154 }
8155 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->sampleLocationGridSize));
8156 if (toTransform->pSampleLocations)
8157 {
8158 for (uint32_t i = 0; i < (uint32_t)toTransform->sampleLocationsCount; ++i)
8159 {
8160 transform_tohost_VkSampleLocationEXT(resourceTracker, (VkSampleLocationEXT*)(toTransform->pSampleLocations + i));
8161 }
8162 }
8163 }
8164
transform_fromhost_VkSampleLocationsInfoEXT(ResourceTracker * resourceTracker,VkSampleLocationsInfoEXT * toTransform)8165 void transform_fromhost_VkSampleLocationsInfoEXT(
8166 ResourceTracker* resourceTracker,
8167 VkSampleLocationsInfoEXT* toTransform)
8168 {
8169 (void)resourceTracker;
8170 (void)toTransform;
8171 if (toTransform->pNext)
8172 {
8173 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8174 }
8175 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->sampleLocationGridSize));
8176 if (toTransform->pSampleLocations)
8177 {
8178 for (uint32_t i = 0; i < (uint32_t)toTransform->sampleLocationsCount; ++i)
8179 {
8180 transform_fromhost_VkSampleLocationEXT(resourceTracker, (VkSampleLocationEXT*)(toTransform->pSampleLocations + i));
8181 }
8182 }
8183 }
8184
transform_tohost_VkAttachmentSampleLocationsEXT(ResourceTracker * resourceTracker,VkAttachmentSampleLocationsEXT * toTransform)8185 void transform_tohost_VkAttachmentSampleLocationsEXT(
8186 ResourceTracker* resourceTracker,
8187 VkAttachmentSampleLocationsEXT* toTransform)
8188 {
8189 (void)resourceTracker;
8190 (void)toTransform;
8191 transform_tohost_VkSampleLocationsInfoEXT(resourceTracker, (VkSampleLocationsInfoEXT*)(&toTransform->sampleLocationsInfo));
8192 }
8193
transform_fromhost_VkAttachmentSampleLocationsEXT(ResourceTracker * resourceTracker,VkAttachmentSampleLocationsEXT * toTransform)8194 void transform_fromhost_VkAttachmentSampleLocationsEXT(
8195 ResourceTracker* resourceTracker,
8196 VkAttachmentSampleLocationsEXT* toTransform)
8197 {
8198 (void)resourceTracker;
8199 (void)toTransform;
8200 transform_fromhost_VkSampleLocationsInfoEXT(resourceTracker, (VkSampleLocationsInfoEXT*)(&toTransform->sampleLocationsInfo));
8201 }
8202
transform_tohost_VkSubpassSampleLocationsEXT(ResourceTracker * resourceTracker,VkSubpassSampleLocationsEXT * toTransform)8203 void transform_tohost_VkSubpassSampleLocationsEXT(
8204 ResourceTracker* resourceTracker,
8205 VkSubpassSampleLocationsEXT* toTransform)
8206 {
8207 (void)resourceTracker;
8208 (void)toTransform;
8209 transform_tohost_VkSampleLocationsInfoEXT(resourceTracker, (VkSampleLocationsInfoEXT*)(&toTransform->sampleLocationsInfo));
8210 }
8211
transform_fromhost_VkSubpassSampleLocationsEXT(ResourceTracker * resourceTracker,VkSubpassSampleLocationsEXT * toTransform)8212 void transform_fromhost_VkSubpassSampleLocationsEXT(
8213 ResourceTracker* resourceTracker,
8214 VkSubpassSampleLocationsEXT* toTransform)
8215 {
8216 (void)resourceTracker;
8217 (void)toTransform;
8218 transform_fromhost_VkSampleLocationsInfoEXT(resourceTracker, (VkSampleLocationsInfoEXT*)(&toTransform->sampleLocationsInfo));
8219 }
8220
transform_tohost_VkRenderPassSampleLocationsBeginInfoEXT(ResourceTracker * resourceTracker,VkRenderPassSampleLocationsBeginInfoEXT * toTransform)8221 void transform_tohost_VkRenderPassSampleLocationsBeginInfoEXT(
8222 ResourceTracker* resourceTracker,
8223 VkRenderPassSampleLocationsBeginInfoEXT* toTransform)
8224 {
8225 (void)resourceTracker;
8226 (void)toTransform;
8227 if (toTransform->pNext)
8228 {
8229 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8230 }
8231 if (toTransform->pAttachmentInitialSampleLocations)
8232 {
8233 for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentInitialSampleLocationsCount; ++i)
8234 {
8235 transform_tohost_VkAttachmentSampleLocationsEXT(resourceTracker, (VkAttachmentSampleLocationsEXT*)(toTransform->pAttachmentInitialSampleLocations + i));
8236 }
8237 }
8238 if (toTransform->pPostSubpassSampleLocations)
8239 {
8240 for (uint32_t i = 0; i < (uint32_t)toTransform->postSubpassSampleLocationsCount; ++i)
8241 {
8242 transform_tohost_VkSubpassSampleLocationsEXT(resourceTracker, (VkSubpassSampleLocationsEXT*)(toTransform->pPostSubpassSampleLocations + i));
8243 }
8244 }
8245 }
8246
transform_fromhost_VkRenderPassSampleLocationsBeginInfoEXT(ResourceTracker * resourceTracker,VkRenderPassSampleLocationsBeginInfoEXT * toTransform)8247 void transform_fromhost_VkRenderPassSampleLocationsBeginInfoEXT(
8248 ResourceTracker* resourceTracker,
8249 VkRenderPassSampleLocationsBeginInfoEXT* toTransform)
8250 {
8251 (void)resourceTracker;
8252 (void)toTransform;
8253 if (toTransform->pNext)
8254 {
8255 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8256 }
8257 if (toTransform->pAttachmentInitialSampleLocations)
8258 {
8259 for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentInitialSampleLocationsCount; ++i)
8260 {
8261 transform_fromhost_VkAttachmentSampleLocationsEXT(resourceTracker, (VkAttachmentSampleLocationsEXT*)(toTransform->pAttachmentInitialSampleLocations + i));
8262 }
8263 }
8264 if (toTransform->pPostSubpassSampleLocations)
8265 {
8266 for (uint32_t i = 0; i < (uint32_t)toTransform->postSubpassSampleLocationsCount; ++i)
8267 {
8268 transform_fromhost_VkSubpassSampleLocationsEXT(resourceTracker, (VkSubpassSampleLocationsEXT*)(toTransform->pPostSubpassSampleLocations + i));
8269 }
8270 }
8271 }
8272
transform_tohost_VkPipelineSampleLocationsStateCreateInfoEXT(ResourceTracker * resourceTracker,VkPipelineSampleLocationsStateCreateInfoEXT * toTransform)8273 void transform_tohost_VkPipelineSampleLocationsStateCreateInfoEXT(
8274 ResourceTracker* resourceTracker,
8275 VkPipelineSampleLocationsStateCreateInfoEXT* toTransform)
8276 {
8277 (void)resourceTracker;
8278 (void)toTransform;
8279 if (toTransform->pNext)
8280 {
8281 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8282 }
8283 transform_tohost_VkSampleLocationsInfoEXT(resourceTracker, (VkSampleLocationsInfoEXT*)(&toTransform->sampleLocationsInfo));
8284 }
8285
transform_fromhost_VkPipelineSampleLocationsStateCreateInfoEXT(ResourceTracker * resourceTracker,VkPipelineSampleLocationsStateCreateInfoEXT * toTransform)8286 void transform_fromhost_VkPipelineSampleLocationsStateCreateInfoEXT(
8287 ResourceTracker* resourceTracker,
8288 VkPipelineSampleLocationsStateCreateInfoEXT* toTransform)
8289 {
8290 (void)resourceTracker;
8291 (void)toTransform;
8292 if (toTransform->pNext)
8293 {
8294 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8295 }
8296 transform_fromhost_VkSampleLocationsInfoEXT(resourceTracker, (VkSampleLocationsInfoEXT*)(&toTransform->sampleLocationsInfo));
8297 }
8298
transform_tohost_VkPhysicalDeviceSampleLocationsPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceSampleLocationsPropertiesEXT * toTransform)8299 void transform_tohost_VkPhysicalDeviceSampleLocationsPropertiesEXT(
8300 ResourceTracker* resourceTracker,
8301 VkPhysicalDeviceSampleLocationsPropertiesEXT* toTransform)
8302 {
8303 (void)resourceTracker;
8304 (void)toTransform;
8305 if (toTransform->pNext)
8306 {
8307 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8308 }
8309 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxSampleLocationGridSize));
8310 }
8311
transform_fromhost_VkPhysicalDeviceSampleLocationsPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceSampleLocationsPropertiesEXT * toTransform)8312 void transform_fromhost_VkPhysicalDeviceSampleLocationsPropertiesEXT(
8313 ResourceTracker* resourceTracker,
8314 VkPhysicalDeviceSampleLocationsPropertiesEXT* toTransform)
8315 {
8316 (void)resourceTracker;
8317 (void)toTransform;
8318 if (toTransform->pNext)
8319 {
8320 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8321 }
8322 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxSampleLocationGridSize));
8323 }
8324
transform_tohost_VkMultisamplePropertiesEXT(ResourceTracker * resourceTracker,VkMultisamplePropertiesEXT * toTransform)8325 void transform_tohost_VkMultisamplePropertiesEXT(
8326 ResourceTracker* resourceTracker,
8327 VkMultisamplePropertiesEXT* toTransform)
8328 {
8329 (void)resourceTracker;
8330 (void)toTransform;
8331 if (toTransform->pNext)
8332 {
8333 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8334 }
8335 transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxSampleLocationGridSize));
8336 }
8337
transform_fromhost_VkMultisamplePropertiesEXT(ResourceTracker * resourceTracker,VkMultisamplePropertiesEXT * toTransform)8338 void transform_fromhost_VkMultisamplePropertiesEXT(
8339 ResourceTracker* resourceTracker,
8340 VkMultisamplePropertiesEXT* toTransform)
8341 {
8342 (void)resourceTracker;
8343 (void)toTransform;
8344 if (toTransform->pNext)
8345 {
8346 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8347 }
8348 transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->maxSampleLocationGridSize));
8349 }
8350
8351 #endif
8352 #ifdef VK_EXT_blend_operation_advanced
transform_tohost_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT * toTransform)8353 void transform_tohost_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(
8354 ResourceTracker* resourceTracker,
8355 VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* toTransform)
8356 {
8357 (void)resourceTracker;
8358 (void)toTransform;
8359 if (toTransform->pNext)
8360 {
8361 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8362 }
8363 }
8364
transform_fromhost_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT * toTransform)8365 void transform_fromhost_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(
8366 ResourceTracker* resourceTracker,
8367 VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* toTransform)
8368 {
8369 (void)resourceTracker;
8370 (void)toTransform;
8371 if (toTransform->pNext)
8372 {
8373 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8374 }
8375 }
8376
transform_tohost_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT * toTransform)8377 void transform_tohost_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(
8378 ResourceTracker* resourceTracker,
8379 VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* toTransform)
8380 {
8381 (void)resourceTracker;
8382 (void)toTransform;
8383 if (toTransform->pNext)
8384 {
8385 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8386 }
8387 }
8388
transform_fromhost_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT * toTransform)8389 void transform_fromhost_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(
8390 ResourceTracker* resourceTracker,
8391 VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* toTransform)
8392 {
8393 (void)resourceTracker;
8394 (void)toTransform;
8395 if (toTransform->pNext)
8396 {
8397 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8398 }
8399 }
8400
transform_tohost_VkPipelineColorBlendAdvancedStateCreateInfoEXT(ResourceTracker * resourceTracker,VkPipelineColorBlendAdvancedStateCreateInfoEXT * toTransform)8401 void transform_tohost_VkPipelineColorBlendAdvancedStateCreateInfoEXT(
8402 ResourceTracker* resourceTracker,
8403 VkPipelineColorBlendAdvancedStateCreateInfoEXT* toTransform)
8404 {
8405 (void)resourceTracker;
8406 (void)toTransform;
8407 if (toTransform->pNext)
8408 {
8409 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8410 }
8411 }
8412
transform_fromhost_VkPipelineColorBlendAdvancedStateCreateInfoEXT(ResourceTracker * resourceTracker,VkPipelineColorBlendAdvancedStateCreateInfoEXT * toTransform)8413 void transform_fromhost_VkPipelineColorBlendAdvancedStateCreateInfoEXT(
8414 ResourceTracker* resourceTracker,
8415 VkPipelineColorBlendAdvancedStateCreateInfoEXT* toTransform)
8416 {
8417 (void)resourceTracker;
8418 (void)toTransform;
8419 if (toTransform->pNext)
8420 {
8421 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8422 }
8423 }
8424
8425 #endif
8426 #ifdef VK_NV_fragment_coverage_to_color
transform_tohost_VkPipelineCoverageToColorStateCreateInfoNV(ResourceTracker * resourceTracker,VkPipelineCoverageToColorStateCreateInfoNV * toTransform)8427 void transform_tohost_VkPipelineCoverageToColorStateCreateInfoNV(
8428 ResourceTracker* resourceTracker,
8429 VkPipelineCoverageToColorStateCreateInfoNV* toTransform)
8430 {
8431 (void)resourceTracker;
8432 (void)toTransform;
8433 if (toTransform->pNext)
8434 {
8435 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8436 }
8437 }
8438
transform_fromhost_VkPipelineCoverageToColorStateCreateInfoNV(ResourceTracker * resourceTracker,VkPipelineCoverageToColorStateCreateInfoNV * toTransform)8439 void transform_fromhost_VkPipelineCoverageToColorStateCreateInfoNV(
8440 ResourceTracker* resourceTracker,
8441 VkPipelineCoverageToColorStateCreateInfoNV* toTransform)
8442 {
8443 (void)resourceTracker;
8444 (void)toTransform;
8445 if (toTransform->pNext)
8446 {
8447 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8448 }
8449 }
8450
8451 #endif
8452 #ifdef VK_NV_framebuffer_mixed_samples
transform_tohost_VkPipelineCoverageModulationStateCreateInfoNV(ResourceTracker * resourceTracker,VkPipelineCoverageModulationStateCreateInfoNV * toTransform)8453 void transform_tohost_VkPipelineCoverageModulationStateCreateInfoNV(
8454 ResourceTracker* resourceTracker,
8455 VkPipelineCoverageModulationStateCreateInfoNV* toTransform)
8456 {
8457 (void)resourceTracker;
8458 (void)toTransform;
8459 if (toTransform->pNext)
8460 {
8461 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8462 }
8463 }
8464
transform_fromhost_VkPipelineCoverageModulationStateCreateInfoNV(ResourceTracker * resourceTracker,VkPipelineCoverageModulationStateCreateInfoNV * toTransform)8465 void transform_fromhost_VkPipelineCoverageModulationStateCreateInfoNV(
8466 ResourceTracker* resourceTracker,
8467 VkPipelineCoverageModulationStateCreateInfoNV* toTransform)
8468 {
8469 (void)resourceTracker;
8470 (void)toTransform;
8471 if (toTransform->pNext)
8472 {
8473 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8474 }
8475 }
8476
8477 #endif
8478 #ifdef VK_NV_fill_rectangle
8479 #endif
8480 #ifdef VK_EXT_post_depth_coverage
8481 #endif
8482 #ifdef VK_EXT_validation_cache
transform_tohost_VkValidationCacheCreateInfoEXT(ResourceTracker * resourceTracker,VkValidationCacheCreateInfoEXT * toTransform)8483 void transform_tohost_VkValidationCacheCreateInfoEXT(
8484 ResourceTracker* resourceTracker,
8485 VkValidationCacheCreateInfoEXT* toTransform)
8486 {
8487 (void)resourceTracker;
8488 (void)toTransform;
8489 if (toTransform->pNext)
8490 {
8491 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8492 }
8493 }
8494
transform_fromhost_VkValidationCacheCreateInfoEXT(ResourceTracker * resourceTracker,VkValidationCacheCreateInfoEXT * toTransform)8495 void transform_fromhost_VkValidationCacheCreateInfoEXT(
8496 ResourceTracker* resourceTracker,
8497 VkValidationCacheCreateInfoEXT* toTransform)
8498 {
8499 (void)resourceTracker;
8500 (void)toTransform;
8501 if (toTransform->pNext)
8502 {
8503 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8504 }
8505 }
8506
transform_tohost_VkShaderModuleValidationCacheCreateInfoEXT(ResourceTracker * resourceTracker,VkShaderModuleValidationCacheCreateInfoEXT * toTransform)8507 void transform_tohost_VkShaderModuleValidationCacheCreateInfoEXT(
8508 ResourceTracker* resourceTracker,
8509 VkShaderModuleValidationCacheCreateInfoEXT* toTransform)
8510 {
8511 (void)resourceTracker;
8512 (void)toTransform;
8513 if (toTransform->pNext)
8514 {
8515 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8516 }
8517 }
8518
transform_fromhost_VkShaderModuleValidationCacheCreateInfoEXT(ResourceTracker * resourceTracker,VkShaderModuleValidationCacheCreateInfoEXT * toTransform)8519 void transform_fromhost_VkShaderModuleValidationCacheCreateInfoEXT(
8520 ResourceTracker* resourceTracker,
8521 VkShaderModuleValidationCacheCreateInfoEXT* toTransform)
8522 {
8523 (void)resourceTracker;
8524 (void)toTransform;
8525 if (toTransform->pNext)
8526 {
8527 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8528 }
8529 }
8530
8531 #endif
8532 #ifdef VK_EXT_descriptor_indexing
transform_tohost_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(ResourceTracker * resourceTracker,VkDescriptorSetLayoutBindingFlagsCreateInfoEXT * toTransform)8533 void transform_tohost_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(
8534 ResourceTracker* resourceTracker,
8535 VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* toTransform)
8536 {
8537 (void)resourceTracker;
8538 (void)toTransform;
8539 if (toTransform->pNext)
8540 {
8541 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8542 }
8543 }
8544
transform_fromhost_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(ResourceTracker * resourceTracker,VkDescriptorSetLayoutBindingFlagsCreateInfoEXT * toTransform)8545 void transform_fromhost_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(
8546 ResourceTracker* resourceTracker,
8547 VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* toTransform)
8548 {
8549 (void)resourceTracker;
8550 (void)toTransform;
8551 if (toTransform->pNext)
8552 {
8553 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8554 }
8555 }
8556
transform_tohost_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceDescriptorIndexingFeaturesEXT * toTransform)8557 void transform_tohost_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(
8558 ResourceTracker* resourceTracker,
8559 VkPhysicalDeviceDescriptorIndexingFeaturesEXT* toTransform)
8560 {
8561 (void)resourceTracker;
8562 (void)toTransform;
8563 if (toTransform->pNext)
8564 {
8565 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8566 }
8567 }
8568
transform_fromhost_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceDescriptorIndexingFeaturesEXT * toTransform)8569 void transform_fromhost_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(
8570 ResourceTracker* resourceTracker,
8571 VkPhysicalDeviceDescriptorIndexingFeaturesEXT* toTransform)
8572 {
8573 (void)resourceTracker;
8574 (void)toTransform;
8575 if (toTransform->pNext)
8576 {
8577 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8578 }
8579 }
8580
transform_tohost_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceDescriptorIndexingPropertiesEXT * toTransform)8581 void transform_tohost_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(
8582 ResourceTracker* resourceTracker,
8583 VkPhysicalDeviceDescriptorIndexingPropertiesEXT* toTransform)
8584 {
8585 (void)resourceTracker;
8586 (void)toTransform;
8587 if (toTransform->pNext)
8588 {
8589 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8590 }
8591 }
8592
transform_fromhost_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceDescriptorIndexingPropertiesEXT * toTransform)8593 void transform_fromhost_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(
8594 ResourceTracker* resourceTracker,
8595 VkPhysicalDeviceDescriptorIndexingPropertiesEXT* toTransform)
8596 {
8597 (void)resourceTracker;
8598 (void)toTransform;
8599 if (toTransform->pNext)
8600 {
8601 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8602 }
8603 }
8604
transform_tohost_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(ResourceTracker * resourceTracker,VkDescriptorSetVariableDescriptorCountAllocateInfoEXT * toTransform)8605 void transform_tohost_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(
8606 ResourceTracker* resourceTracker,
8607 VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* toTransform)
8608 {
8609 (void)resourceTracker;
8610 (void)toTransform;
8611 if (toTransform->pNext)
8612 {
8613 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8614 }
8615 }
8616
transform_fromhost_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(ResourceTracker * resourceTracker,VkDescriptorSetVariableDescriptorCountAllocateInfoEXT * toTransform)8617 void transform_fromhost_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(
8618 ResourceTracker* resourceTracker,
8619 VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* toTransform)
8620 {
8621 (void)resourceTracker;
8622 (void)toTransform;
8623 if (toTransform->pNext)
8624 {
8625 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8626 }
8627 }
8628
transform_tohost_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(ResourceTracker * resourceTracker,VkDescriptorSetVariableDescriptorCountLayoutSupportEXT * toTransform)8629 void transform_tohost_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(
8630 ResourceTracker* resourceTracker,
8631 VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* toTransform)
8632 {
8633 (void)resourceTracker;
8634 (void)toTransform;
8635 if (toTransform->pNext)
8636 {
8637 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8638 }
8639 }
8640
transform_fromhost_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(ResourceTracker * resourceTracker,VkDescriptorSetVariableDescriptorCountLayoutSupportEXT * toTransform)8641 void transform_fromhost_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(
8642 ResourceTracker* resourceTracker,
8643 VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* toTransform)
8644 {
8645 (void)resourceTracker;
8646 (void)toTransform;
8647 if (toTransform->pNext)
8648 {
8649 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8650 }
8651 }
8652
8653 #endif
8654 #ifdef VK_EXT_shader_viewport_index_layer
8655 #endif
8656 #ifdef VK_EXT_global_priority
transform_tohost_VkDeviceQueueGlobalPriorityCreateInfoEXT(ResourceTracker * resourceTracker,VkDeviceQueueGlobalPriorityCreateInfoEXT * toTransform)8657 void transform_tohost_VkDeviceQueueGlobalPriorityCreateInfoEXT(
8658 ResourceTracker* resourceTracker,
8659 VkDeviceQueueGlobalPriorityCreateInfoEXT* toTransform)
8660 {
8661 (void)resourceTracker;
8662 (void)toTransform;
8663 if (toTransform->pNext)
8664 {
8665 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8666 }
8667 }
8668
transform_fromhost_VkDeviceQueueGlobalPriorityCreateInfoEXT(ResourceTracker * resourceTracker,VkDeviceQueueGlobalPriorityCreateInfoEXT * toTransform)8669 void transform_fromhost_VkDeviceQueueGlobalPriorityCreateInfoEXT(
8670 ResourceTracker* resourceTracker,
8671 VkDeviceQueueGlobalPriorityCreateInfoEXT* toTransform)
8672 {
8673 (void)resourceTracker;
8674 (void)toTransform;
8675 if (toTransform->pNext)
8676 {
8677 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8678 }
8679 }
8680
8681 #endif
8682 #ifdef VK_EXT_external_memory_host
transform_tohost_VkImportMemoryHostPointerInfoEXT(ResourceTracker * resourceTracker,VkImportMemoryHostPointerInfoEXT * toTransform)8683 void transform_tohost_VkImportMemoryHostPointerInfoEXT(
8684 ResourceTracker* resourceTracker,
8685 VkImportMemoryHostPointerInfoEXT* toTransform)
8686 {
8687 (void)resourceTracker;
8688 (void)toTransform;
8689 if (toTransform->pNext)
8690 {
8691 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8692 }
8693 }
8694
transform_fromhost_VkImportMemoryHostPointerInfoEXT(ResourceTracker * resourceTracker,VkImportMemoryHostPointerInfoEXT * toTransform)8695 void transform_fromhost_VkImportMemoryHostPointerInfoEXT(
8696 ResourceTracker* resourceTracker,
8697 VkImportMemoryHostPointerInfoEXT* toTransform)
8698 {
8699 (void)resourceTracker;
8700 (void)toTransform;
8701 if (toTransform->pNext)
8702 {
8703 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8704 }
8705 }
8706
transform_tohost_VkMemoryHostPointerPropertiesEXT(ResourceTracker * resourceTracker,VkMemoryHostPointerPropertiesEXT * toTransform)8707 void transform_tohost_VkMemoryHostPointerPropertiesEXT(
8708 ResourceTracker* resourceTracker,
8709 VkMemoryHostPointerPropertiesEXT* toTransform)
8710 {
8711 (void)resourceTracker;
8712 (void)toTransform;
8713 resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
8714 if (toTransform->pNext)
8715 {
8716 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8717 }
8718 }
8719
transform_fromhost_VkMemoryHostPointerPropertiesEXT(ResourceTracker * resourceTracker,VkMemoryHostPointerPropertiesEXT * toTransform)8720 void transform_fromhost_VkMemoryHostPointerPropertiesEXT(
8721 ResourceTracker* resourceTracker,
8722 VkMemoryHostPointerPropertiesEXT* toTransform)
8723 {
8724 (void)resourceTracker;
8725 (void)toTransform;
8726 resourceTracker->deviceMemoryTransform_fromhost((VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
8727 if (toTransform->pNext)
8728 {
8729 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8730 }
8731 }
8732
transform_tohost_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceExternalMemoryHostPropertiesEXT * toTransform)8733 void transform_tohost_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(
8734 ResourceTracker* resourceTracker,
8735 VkPhysicalDeviceExternalMemoryHostPropertiesEXT* toTransform)
8736 {
8737 (void)resourceTracker;
8738 (void)toTransform;
8739 if (toTransform->pNext)
8740 {
8741 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8742 }
8743 }
8744
transform_fromhost_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceExternalMemoryHostPropertiesEXT * toTransform)8745 void transform_fromhost_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(
8746 ResourceTracker* resourceTracker,
8747 VkPhysicalDeviceExternalMemoryHostPropertiesEXT* toTransform)
8748 {
8749 (void)resourceTracker;
8750 (void)toTransform;
8751 if (toTransform->pNext)
8752 {
8753 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8754 }
8755 }
8756
8757 #endif
8758 #ifdef VK_AMD_buffer_marker
8759 #endif
8760 #ifdef VK_AMD_shader_core_properties
transform_tohost_VkPhysicalDeviceShaderCorePropertiesAMD(ResourceTracker * resourceTracker,VkPhysicalDeviceShaderCorePropertiesAMD * toTransform)8761 void transform_tohost_VkPhysicalDeviceShaderCorePropertiesAMD(
8762 ResourceTracker* resourceTracker,
8763 VkPhysicalDeviceShaderCorePropertiesAMD* toTransform)
8764 {
8765 (void)resourceTracker;
8766 (void)toTransform;
8767 if (toTransform->pNext)
8768 {
8769 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8770 }
8771 }
8772
transform_fromhost_VkPhysicalDeviceShaderCorePropertiesAMD(ResourceTracker * resourceTracker,VkPhysicalDeviceShaderCorePropertiesAMD * toTransform)8773 void transform_fromhost_VkPhysicalDeviceShaderCorePropertiesAMD(
8774 ResourceTracker* resourceTracker,
8775 VkPhysicalDeviceShaderCorePropertiesAMD* toTransform)
8776 {
8777 (void)resourceTracker;
8778 (void)toTransform;
8779 if (toTransform->pNext)
8780 {
8781 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8782 }
8783 }
8784
8785 #endif
8786 #ifdef VK_EXT_vertex_attribute_divisor
transform_tohost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT * toTransform)8787 void transform_tohost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(
8788 ResourceTracker* resourceTracker,
8789 VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* toTransform)
8790 {
8791 (void)resourceTracker;
8792 (void)toTransform;
8793 if (toTransform->pNext)
8794 {
8795 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8796 }
8797 }
8798
transform_fromhost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(ResourceTracker * resourceTracker,VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT * toTransform)8799 void transform_fromhost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(
8800 ResourceTracker* resourceTracker,
8801 VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* toTransform)
8802 {
8803 (void)resourceTracker;
8804 (void)toTransform;
8805 if (toTransform->pNext)
8806 {
8807 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8808 }
8809 }
8810
transform_tohost_VkVertexInputBindingDivisorDescriptionEXT(ResourceTracker * resourceTracker,VkVertexInputBindingDivisorDescriptionEXT * toTransform)8811 void transform_tohost_VkVertexInputBindingDivisorDescriptionEXT(
8812 ResourceTracker* resourceTracker,
8813 VkVertexInputBindingDivisorDescriptionEXT* toTransform)
8814 {
8815 (void)resourceTracker;
8816 (void)toTransform;
8817 }
8818
transform_fromhost_VkVertexInputBindingDivisorDescriptionEXT(ResourceTracker * resourceTracker,VkVertexInputBindingDivisorDescriptionEXT * toTransform)8819 void transform_fromhost_VkVertexInputBindingDivisorDescriptionEXT(
8820 ResourceTracker* resourceTracker,
8821 VkVertexInputBindingDivisorDescriptionEXT* toTransform)
8822 {
8823 (void)resourceTracker;
8824 (void)toTransform;
8825 }
8826
transform_tohost_VkPipelineVertexInputDivisorStateCreateInfoEXT(ResourceTracker * resourceTracker,VkPipelineVertexInputDivisorStateCreateInfoEXT * toTransform)8827 void transform_tohost_VkPipelineVertexInputDivisorStateCreateInfoEXT(
8828 ResourceTracker* resourceTracker,
8829 VkPipelineVertexInputDivisorStateCreateInfoEXT* toTransform)
8830 {
8831 (void)resourceTracker;
8832 (void)toTransform;
8833 if (toTransform->pNext)
8834 {
8835 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8836 }
8837 if (toTransform->pVertexBindingDivisors)
8838 {
8839 for (uint32_t i = 0; i < (uint32_t)toTransform->vertexBindingDivisorCount; ++i)
8840 {
8841 transform_tohost_VkVertexInputBindingDivisorDescriptionEXT(resourceTracker, (VkVertexInputBindingDivisorDescriptionEXT*)(toTransform->pVertexBindingDivisors + i));
8842 }
8843 }
8844 }
8845
transform_fromhost_VkPipelineVertexInputDivisorStateCreateInfoEXT(ResourceTracker * resourceTracker,VkPipelineVertexInputDivisorStateCreateInfoEXT * toTransform)8846 void transform_fromhost_VkPipelineVertexInputDivisorStateCreateInfoEXT(
8847 ResourceTracker* resourceTracker,
8848 VkPipelineVertexInputDivisorStateCreateInfoEXT* toTransform)
8849 {
8850 (void)resourceTracker;
8851 (void)toTransform;
8852 if (toTransform->pNext)
8853 {
8854 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8855 }
8856 if (toTransform->pVertexBindingDivisors)
8857 {
8858 for (uint32_t i = 0; i < (uint32_t)toTransform->vertexBindingDivisorCount; ++i)
8859 {
8860 transform_fromhost_VkVertexInputBindingDivisorDescriptionEXT(resourceTracker, (VkVertexInputBindingDivisorDescriptionEXT*)(toTransform->pVertexBindingDivisors + i));
8861 }
8862 }
8863 }
8864
8865 #endif
8866 #ifdef VK_NV_shader_subgroup_partitioned
8867 #endif
8868 #ifdef VK_NV_device_diagnostic_checkpoints
transform_tohost_VkQueueFamilyCheckpointPropertiesNV(ResourceTracker * resourceTracker,VkQueueFamilyCheckpointPropertiesNV * toTransform)8869 void transform_tohost_VkQueueFamilyCheckpointPropertiesNV(
8870 ResourceTracker* resourceTracker,
8871 VkQueueFamilyCheckpointPropertiesNV* toTransform)
8872 {
8873 (void)resourceTracker;
8874 (void)toTransform;
8875 if (toTransform->pNext)
8876 {
8877 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8878 }
8879 }
8880
transform_fromhost_VkQueueFamilyCheckpointPropertiesNV(ResourceTracker * resourceTracker,VkQueueFamilyCheckpointPropertiesNV * toTransform)8881 void transform_fromhost_VkQueueFamilyCheckpointPropertiesNV(
8882 ResourceTracker* resourceTracker,
8883 VkQueueFamilyCheckpointPropertiesNV* toTransform)
8884 {
8885 (void)resourceTracker;
8886 (void)toTransform;
8887 if (toTransform->pNext)
8888 {
8889 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8890 }
8891 }
8892
transform_tohost_VkCheckpointDataNV(ResourceTracker * resourceTracker,VkCheckpointDataNV * toTransform)8893 void transform_tohost_VkCheckpointDataNV(
8894 ResourceTracker* resourceTracker,
8895 VkCheckpointDataNV* toTransform)
8896 {
8897 (void)resourceTracker;
8898 (void)toTransform;
8899 if (toTransform->pNext)
8900 {
8901 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8902 }
8903 }
8904
transform_fromhost_VkCheckpointDataNV(ResourceTracker * resourceTracker,VkCheckpointDataNV * toTransform)8905 void transform_fromhost_VkCheckpointDataNV(
8906 ResourceTracker* resourceTracker,
8907 VkCheckpointDataNV* toTransform)
8908 {
8909 (void)resourceTracker;
8910 (void)toTransform;
8911 if (toTransform->pNext)
8912 {
8913 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8914 }
8915 }
8916
8917 #endif
8918 #ifdef VK_GOOGLE_address_space
8919 #endif
8920 #ifdef VK_GOOGLE_color_buffer
transform_tohost_VkImportColorBufferGOOGLE(ResourceTracker * resourceTracker,VkImportColorBufferGOOGLE * toTransform)8921 void transform_tohost_VkImportColorBufferGOOGLE(
8922 ResourceTracker* resourceTracker,
8923 VkImportColorBufferGOOGLE* toTransform)
8924 {
8925 (void)resourceTracker;
8926 (void)toTransform;
8927 if (toTransform->pNext)
8928 {
8929 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8930 }
8931 }
8932
transform_fromhost_VkImportColorBufferGOOGLE(ResourceTracker * resourceTracker,VkImportColorBufferGOOGLE * toTransform)8933 void transform_fromhost_VkImportColorBufferGOOGLE(
8934 ResourceTracker* resourceTracker,
8935 VkImportColorBufferGOOGLE* toTransform)
8936 {
8937 (void)resourceTracker;
8938 (void)toTransform;
8939 if (toTransform->pNext)
8940 {
8941 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8942 }
8943 }
8944
transform_tohost_VkImportBufferGOOGLE(ResourceTracker * resourceTracker,VkImportBufferGOOGLE * toTransform)8945 void transform_tohost_VkImportBufferGOOGLE(
8946 ResourceTracker* resourceTracker,
8947 VkImportBufferGOOGLE* toTransform)
8948 {
8949 (void)resourceTracker;
8950 (void)toTransform;
8951 if (toTransform->pNext)
8952 {
8953 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8954 }
8955 }
8956
transform_fromhost_VkImportBufferGOOGLE(ResourceTracker * resourceTracker,VkImportBufferGOOGLE * toTransform)8957 void transform_fromhost_VkImportBufferGOOGLE(
8958 ResourceTracker* resourceTracker,
8959 VkImportBufferGOOGLE* toTransform)
8960 {
8961 (void)resourceTracker;
8962 (void)toTransform;
8963 if (toTransform->pNext)
8964 {
8965 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8966 }
8967 }
8968
transform_tohost_VkImportPhysicalAddressGOOGLE(ResourceTracker * resourceTracker,VkImportPhysicalAddressGOOGLE * toTransform)8969 void transform_tohost_VkImportPhysicalAddressGOOGLE(
8970 ResourceTracker* resourceTracker,
8971 VkImportPhysicalAddressGOOGLE* toTransform)
8972 {
8973 (void)resourceTracker;
8974 (void)toTransform;
8975 if (toTransform->pNext)
8976 {
8977 transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8978 }
8979 }
8980
transform_fromhost_VkImportPhysicalAddressGOOGLE(ResourceTracker * resourceTracker,VkImportPhysicalAddressGOOGLE * toTransform)8981 void transform_fromhost_VkImportPhysicalAddressGOOGLE(
8982 ResourceTracker* resourceTracker,
8983 VkImportPhysicalAddressGOOGLE* toTransform)
8984 {
8985 (void)resourceTracker;
8986 (void)toTransform;
8987 if (toTransform->pNext)
8988 {
8989 transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8990 }
8991 }
8992
8993 #endif
8994 #ifdef VK_GOOGLE_sized_descriptor_update_template
8995 #endif
8996 #ifdef VK_GOOGLE_async_command_buffers
8997 #endif
8998 #ifdef VK_GOOGLE_create_resources_with_requirements
8999 #endif
9000 #ifdef VK_GOOGLE_address_space_info
9001 #endif
9002 #ifdef VK_GOOGLE_free_memory_sync
9003 #endif
9004 #ifdef VK_GOOGLE_async_queue_submit
9005 #endif
transform_tohost_extension_struct(ResourceTracker * resourceTracker,void * structExtension_out)9006 void transform_tohost_extension_struct(
9007 ResourceTracker* resourceTracker,
9008 void* structExtension_out)
9009 {
9010 if (!structExtension_out)
9011 {
9012 return;
9013 }
9014 uint32_t structType = (uint32_t)goldfish_vk_struct_type(structExtension_out);
9015 switch(structType)
9016 {
9017 #ifdef VK_VERSION_1_1
9018 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES:
9019 {
9020 transform_tohost_VkPhysicalDeviceSubgroupProperties(resourceTracker, reinterpret_cast<VkPhysicalDeviceSubgroupProperties*>(structExtension_out));
9021 break;
9022 }
9023 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES:
9024 {
9025 transform_tohost_VkPhysicalDevice16BitStorageFeatures(resourceTracker, reinterpret_cast<VkPhysicalDevice16BitStorageFeatures*>(structExtension_out));
9026 break;
9027 }
9028 case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS:
9029 {
9030 transform_tohost_VkMemoryDedicatedRequirements(resourceTracker, reinterpret_cast<VkMemoryDedicatedRequirements*>(structExtension_out));
9031 break;
9032 }
9033 case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO:
9034 {
9035 transform_tohost_VkMemoryDedicatedAllocateInfo(resourceTracker, reinterpret_cast<VkMemoryDedicatedAllocateInfo*>(structExtension_out));
9036 break;
9037 }
9038 case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO:
9039 {
9040 transform_tohost_VkMemoryAllocateFlagsInfo(resourceTracker, reinterpret_cast<VkMemoryAllocateFlagsInfo*>(structExtension_out));
9041 break;
9042 }
9043 case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO:
9044 {
9045 transform_tohost_VkDeviceGroupRenderPassBeginInfo(resourceTracker, reinterpret_cast<VkDeviceGroupRenderPassBeginInfo*>(structExtension_out));
9046 break;
9047 }
9048 case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO:
9049 {
9050 transform_tohost_VkDeviceGroupCommandBufferBeginInfo(resourceTracker, reinterpret_cast<VkDeviceGroupCommandBufferBeginInfo*>(structExtension_out));
9051 break;
9052 }
9053 case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO:
9054 {
9055 transform_tohost_VkDeviceGroupSubmitInfo(resourceTracker, reinterpret_cast<VkDeviceGroupSubmitInfo*>(structExtension_out));
9056 break;
9057 }
9058 case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO:
9059 {
9060 transform_tohost_VkDeviceGroupBindSparseInfo(resourceTracker, reinterpret_cast<VkDeviceGroupBindSparseInfo*>(structExtension_out));
9061 break;
9062 }
9063 case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO:
9064 {
9065 transform_tohost_VkBindBufferMemoryDeviceGroupInfo(resourceTracker, reinterpret_cast<VkBindBufferMemoryDeviceGroupInfo*>(structExtension_out));
9066 break;
9067 }
9068 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO:
9069 {
9070 transform_tohost_VkBindImageMemoryDeviceGroupInfo(resourceTracker, reinterpret_cast<VkBindImageMemoryDeviceGroupInfo*>(structExtension_out));
9071 break;
9072 }
9073 case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO:
9074 {
9075 transform_tohost_VkDeviceGroupDeviceCreateInfo(resourceTracker, reinterpret_cast<VkDeviceGroupDeviceCreateInfo*>(structExtension_out));
9076 break;
9077 }
9078 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2:
9079 {
9080 transform_tohost_VkPhysicalDeviceFeatures2(resourceTracker, reinterpret_cast<VkPhysicalDeviceFeatures2*>(structExtension_out));
9081 break;
9082 }
9083 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES:
9084 {
9085 transform_tohost_VkPhysicalDevicePointClippingProperties(resourceTracker, reinterpret_cast<VkPhysicalDevicePointClippingProperties*>(structExtension_out));
9086 break;
9087 }
9088 case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO:
9089 {
9090 transform_tohost_VkRenderPassInputAttachmentAspectCreateInfo(resourceTracker, reinterpret_cast<VkRenderPassInputAttachmentAspectCreateInfo*>(structExtension_out));
9091 break;
9092 }
9093 case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO:
9094 {
9095 transform_tohost_VkImageViewUsageCreateInfo(resourceTracker, reinterpret_cast<VkImageViewUsageCreateInfo*>(structExtension_out));
9096 break;
9097 }
9098 case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO:
9099 {
9100 transform_tohost_VkPipelineTessellationDomainOriginStateCreateInfo(resourceTracker, reinterpret_cast<VkPipelineTessellationDomainOriginStateCreateInfo*>(structExtension_out));
9101 break;
9102 }
9103 case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO:
9104 {
9105 transform_tohost_VkRenderPassMultiviewCreateInfo(resourceTracker, reinterpret_cast<VkRenderPassMultiviewCreateInfo*>(structExtension_out));
9106 break;
9107 }
9108 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES:
9109 {
9110 transform_tohost_VkPhysicalDeviceMultiviewFeatures(resourceTracker, reinterpret_cast<VkPhysicalDeviceMultiviewFeatures*>(structExtension_out));
9111 break;
9112 }
9113 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES:
9114 {
9115 transform_tohost_VkPhysicalDeviceMultiviewProperties(resourceTracker, reinterpret_cast<VkPhysicalDeviceMultiviewProperties*>(structExtension_out));
9116 break;
9117 }
9118 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES:
9119 {
9120 transform_tohost_VkPhysicalDeviceVariablePointerFeatures(resourceTracker, reinterpret_cast<VkPhysicalDeviceVariablePointerFeatures*>(structExtension_out));
9121 break;
9122 }
9123 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES:
9124 {
9125 transform_tohost_VkPhysicalDeviceProtectedMemoryFeatures(resourceTracker, reinterpret_cast<VkPhysicalDeviceProtectedMemoryFeatures*>(structExtension_out));
9126 break;
9127 }
9128 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES:
9129 {
9130 transform_tohost_VkPhysicalDeviceProtectedMemoryProperties(resourceTracker, reinterpret_cast<VkPhysicalDeviceProtectedMemoryProperties*>(structExtension_out));
9131 break;
9132 }
9133 case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO:
9134 {
9135 transform_tohost_VkProtectedSubmitInfo(resourceTracker, reinterpret_cast<VkProtectedSubmitInfo*>(structExtension_out));
9136 break;
9137 }
9138 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO:
9139 {
9140 transform_tohost_VkSamplerYcbcrConversionInfo(resourceTracker, reinterpret_cast<VkSamplerYcbcrConversionInfo*>(structExtension_out));
9141 break;
9142 }
9143 case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO:
9144 {
9145 transform_tohost_VkBindImagePlaneMemoryInfo(resourceTracker, reinterpret_cast<VkBindImagePlaneMemoryInfo*>(structExtension_out));
9146 break;
9147 }
9148 case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO:
9149 {
9150 transform_tohost_VkImagePlaneMemoryRequirementsInfo(resourceTracker, reinterpret_cast<VkImagePlaneMemoryRequirementsInfo*>(structExtension_out));
9151 break;
9152 }
9153 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES:
9154 {
9155 transform_tohost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(resourceTracker, reinterpret_cast<VkPhysicalDeviceSamplerYcbcrConversionFeatures*>(structExtension_out));
9156 break;
9157 }
9158 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES:
9159 {
9160 transform_tohost_VkSamplerYcbcrConversionImageFormatProperties(resourceTracker, reinterpret_cast<VkSamplerYcbcrConversionImageFormatProperties*>(structExtension_out));
9161 break;
9162 }
9163 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO:
9164 {
9165 resourceTracker->transformImpl_VkPhysicalDeviceExternalImageFormatInfo_tohost(reinterpret_cast<VkPhysicalDeviceExternalImageFormatInfo*>(structExtension_out), 1);
9166 transform_tohost_VkPhysicalDeviceExternalImageFormatInfo(resourceTracker, reinterpret_cast<VkPhysicalDeviceExternalImageFormatInfo*>(structExtension_out));
9167 break;
9168 }
9169 case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES:
9170 {
9171 resourceTracker->transformImpl_VkExternalImageFormatProperties_tohost(reinterpret_cast<VkExternalImageFormatProperties*>(structExtension_out), 1);
9172 transform_tohost_VkExternalImageFormatProperties(resourceTracker, reinterpret_cast<VkExternalImageFormatProperties*>(structExtension_out));
9173 break;
9174 }
9175 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES:
9176 {
9177 transform_tohost_VkPhysicalDeviceIDProperties(resourceTracker, reinterpret_cast<VkPhysicalDeviceIDProperties*>(structExtension_out));
9178 break;
9179 }
9180 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO:
9181 {
9182 resourceTracker->transformImpl_VkExternalMemoryImageCreateInfo_tohost(reinterpret_cast<VkExternalMemoryImageCreateInfo*>(structExtension_out), 1);
9183 transform_tohost_VkExternalMemoryImageCreateInfo(resourceTracker, reinterpret_cast<VkExternalMemoryImageCreateInfo*>(structExtension_out));
9184 break;
9185 }
9186 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO:
9187 {
9188 resourceTracker->transformImpl_VkExternalMemoryBufferCreateInfo_tohost(reinterpret_cast<VkExternalMemoryBufferCreateInfo*>(structExtension_out), 1);
9189 transform_tohost_VkExternalMemoryBufferCreateInfo(resourceTracker, reinterpret_cast<VkExternalMemoryBufferCreateInfo*>(structExtension_out));
9190 break;
9191 }
9192 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO:
9193 {
9194 resourceTracker->transformImpl_VkExportMemoryAllocateInfo_tohost(reinterpret_cast<VkExportMemoryAllocateInfo*>(structExtension_out), 1);
9195 transform_tohost_VkExportMemoryAllocateInfo(resourceTracker, reinterpret_cast<VkExportMemoryAllocateInfo*>(structExtension_out));
9196 break;
9197 }
9198 case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO:
9199 {
9200 transform_tohost_VkExportFenceCreateInfo(resourceTracker, reinterpret_cast<VkExportFenceCreateInfo*>(structExtension_out));
9201 break;
9202 }
9203 case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO:
9204 {
9205 transform_tohost_VkExportSemaphoreCreateInfo(resourceTracker, reinterpret_cast<VkExportSemaphoreCreateInfo*>(structExtension_out));
9206 break;
9207 }
9208 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES:
9209 {
9210 transform_tohost_VkPhysicalDeviceMaintenance3Properties(resourceTracker, reinterpret_cast<VkPhysicalDeviceMaintenance3Properties*>(structExtension_out));
9211 break;
9212 }
9213 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES:
9214 {
9215 transform_tohost_VkPhysicalDeviceShaderDrawParameterFeatures(resourceTracker, reinterpret_cast<VkPhysicalDeviceShaderDrawParameterFeatures*>(structExtension_out));
9216 break;
9217 }
9218 #endif
9219 #ifdef VK_KHR_swapchain
9220 case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR:
9221 {
9222 transform_tohost_VkImageSwapchainCreateInfoKHR(resourceTracker, reinterpret_cast<VkImageSwapchainCreateInfoKHR*>(structExtension_out));
9223 break;
9224 }
9225 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR:
9226 {
9227 transform_tohost_VkBindImageMemorySwapchainInfoKHR(resourceTracker, reinterpret_cast<VkBindImageMemorySwapchainInfoKHR*>(structExtension_out));
9228 break;
9229 }
9230 case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR:
9231 {
9232 transform_tohost_VkDeviceGroupPresentInfoKHR(resourceTracker, reinterpret_cast<VkDeviceGroupPresentInfoKHR*>(structExtension_out));
9233 break;
9234 }
9235 case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR:
9236 {
9237 transform_tohost_VkDeviceGroupSwapchainCreateInfoKHR(resourceTracker, reinterpret_cast<VkDeviceGroupSwapchainCreateInfoKHR*>(structExtension_out));
9238 break;
9239 }
9240 #endif
9241 #ifdef VK_KHR_display_swapchain
9242 case VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR:
9243 {
9244 transform_tohost_VkDisplayPresentInfoKHR(resourceTracker, reinterpret_cast<VkDisplayPresentInfoKHR*>(structExtension_out));
9245 break;
9246 }
9247 #endif
9248 #ifdef VK_KHR_external_memory_win32
9249 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR:
9250 {
9251 transform_tohost_VkImportMemoryWin32HandleInfoKHR(resourceTracker, reinterpret_cast<VkImportMemoryWin32HandleInfoKHR*>(structExtension_out));
9252 break;
9253 }
9254 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR:
9255 {
9256 transform_tohost_VkExportMemoryWin32HandleInfoKHR(resourceTracker, reinterpret_cast<VkExportMemoryWin32HandleInfoKHR*>(structExtension_out));
9257 break;
9258 }
9259 #endif
9260 #ifdef VK_KHR_external_memory_fd
9261 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR:
9262 {
9263 transform_tohost_VkImportMemoryFdInfoKHR(resourceTracker, reinterpret_cast<VkImportMemoryFdInfoKHR*>(structExtension_out));
9264 break;
9265 }
9266 #endif
9267 #ifdef VK_KHR_win32_keyed_mutex
9268 case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR:
9269 {
9270 transform_tohost_VkWin32KeyedMutexAcquireReleaseInfoKHR(resourceTracker, reinterpret_cast<VkWin32KeyedMutexAcquireReleaseInfoKHR*>(structExtension_out));
9271 break;
9272 }
9273 #endif
9274 #ifdef VK_KHR_external_semaphore_win32
9275 case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR:
9276 {
9277 transform_tohost_VkExportSemaphoreWin32HandleInfoKHR(resourceTracker, reinterpret_cast<VkExportSemaphoreWin32HandleInfoKHR*>(structExtension_out));
9278 break;
9279 }
9280 case VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR:
9281 {
9282 transform_tohost_VkD3D12FenceSubmitInfoKHR(resourceTracker, reinterpret_cast<VkD3D12FenceSubmitInfoKHR*>(structExtension_out));
9283 break;
9284 }
9285 #endif
9286 #ifdef VK_KHR_push_descriptor
9287 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR:
9288 {
9289 transform_tohost_VkPhysicalDevicePushDescriptorPropertiesKHR(resourceTracker, reinterpret_cast<VkPhysicalDevicePushDescriptorPropertiesKHR*>(structExtension_out));
9290 break;
9291 }
9292 #endif
9293 #ifdef VK_KHR_incremental_present
9294 case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR:
9295 {
9296 transform_tohost_VkPresentRegionsKHR(resourceTracker, reinterpret_cast<VkPresentRegionsKHR*>(structExtension_out));
9297 break;
9298 }
9299 #endif
9300 #ifdef VK_KHR_shared_presentable_image
9301 case VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR:
9302 {
9303 transform_tohost_VkSharedPresentSurfaceCapabilitiesKHR(resourceTracker, reinterpret_cast<VkSharedPresentSurfaceCapabilitiesKHR*>(structExtension_out));
9304 break;
9305 }
9306 #endif
9307 #ifdef VK_KHR_external_fence_win32
9308 case VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR:
9309 {
9310 transform_tohost_VkExportFenceWin32HandleInfoKHR(resourceTracker, reinterpret_cast<VkExportFenceWin32HandleInfoKHR*>(structExtension_out));
9311 break;
9312 }
9313 #endif
9314 #ifdef VK_KHR_image_format_list
9315 case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR:
9316 {
9317 transform_tohost_VkImageFormatListCreateInfoKHR(resourceTracker, reinterpret_cast<VkImageFormatListCreateInfoKHR*>(structExtension_out));
9318 break;
9319 }
9320 #endif
9321 #ifdef VK_KHR_8bit_storage
9322 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR:
9323 {
9324 transform_tohost_VkPhysicalDevice8BitStorageFeaturesKHR(resourceTracker, reinterpret_cast<VkPhysicalDevice8BitStorageFeaturesKHR*>(structExtension_out));
9325 break;
9326 }
9327 #endif
9328 #ifdef VK_KHR_shader_float16_int8
9329 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES:
9330 {
9331 transform_tohost_VkPhysicalDeviceShaderFloat16Int8Features(resourceTracker, reinterpret_cast<VkPhysicalDeviceShaderFloat16Int8Features*>(structExtension_out));
9332 break;
9333 }
9334 #endif
9335 #ifdef VK_ANDROID_native_buffer
9336 case VK_STRUCTURE_TYPE_NATIVE_BUFFER_ANDROID:
9337 {
9338 transform_tohost_VkNativeBufferANDROID(resourceTracker, reinterpret_cast<VkNativeBufferANDROID*>(structExtension_out));
9339 break;
9340 }
9341 #endif
9342 #ifdef VK_EXT_debug_report
9343 case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT:
9344 {
9345 transform_tohost_VkDebugReportCallbackCreateInfoEXT(resourceTracker, reinterpret_cast<VkDebugReportCallbackCreateInfoEXT*>(structExtension_out));
9346 break;
9347 }
9348 #endif
9349 #ifdef VK_AMD_rasterization_order
9350 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD:
9351 {
9352 transform_tohost_VkPipelineRasterizationStateRasterizationOrderAMD(resourceTracker, reinterpret_cast<VkPipelineRasterizationStateRasterizationOrderAMD*>(structExtension_out));
9353 break;
9354 }
9355 #endif
9356 #ifdef VK_NV_dedicated_allocation
9357 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV:
9358 {
9359 transform_tohost_VkDedicatedAllocationImageCreateInfoNV(resourceTracker, reinterpret_cast<VkDedicatedAllocationImageCreateInfoNV*>(structExtension_out));
9360 break;
9361 }
9362 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV:
9363 {
9364 transform_tohost_VkDedicatedAllocationBufferCreateInfoNV(resourceTracker, reinterpret_cast<VkDedicatedAllocationBufferCreateInfoNV*>(structExtension_out));
9365 break;
9366 }
9367 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV:
9368 {
9369 transform_tohost_VkDedicatedAllocationMemoryAllocateInfoNV(resourceTracker, reinterpret_cast<VkDedicatedAllocationMemoryAllocateInfoNV*>(structExtension_out));
9370 break;
9371 }
9372 #endif
9373 #ifdef VK_AMD_texture_gather_bias_lod
9374 case VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD:
9375 {
9376 transform_tohost_VkTextureLODGatherFormatPropertiesAMD(resourceTracker, reinterpret_cast<VkTextureLODGatherFormatPropertiesAMD*>(structExtension_out));
9377 break;
9378 }
9379 #endif
9380 #ifdef VK_NV_external_memory
9381 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV:
9382 {
9383 transform_tohost_VkExternalMemoryImageCreateInfoNV(resourceTracker, reinterpret_cast<VkExternalMemoryImageCreateInfoNV*>(structExtension_out));
9384 break;
9385 }
9386 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV:
9387 {
9388 transform_tohost_VkExportMemoryAllocateInfoNV(resourceTracker, reinterpret_cast<VkExportMemoryAllocateInfoNV*>(structExtension_out));
9389 break;
9390 }
9391 #endif
9392 #ifdef VK_NV_external_memory_win32
9393 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV:
9394 {
9395 transform_tohost_VkImportMemoryWin32HandleInfoNV(resourceTracker, reinterpret_cast<VkImportMemoryWin32HandleInfoNV*>(structExtension_out));
9396 break;
9397 }
9398 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV:
9399 {
9400 transform_tohost_VkExportMemoryWin32HandleInfoNV(resourceTracker, reinterpret_cast<VkExportMemoryWin32HandleInfoNV*>(structExtension_out));
9401 break;
9402 }
9403 #endif
9404 #ifdef VK_NV_win32_keyed_mutex
9405 case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV:
9406 {
9407 transform_tohost_VkWin32KeyedMutexAcquireReleaseInfoNV(resourceTracker, reinterpret_cast<VkWin32KeyedMutexAcquireReleaseInfoNV*>(structExtension_out));
9408 break;
9409 }
9410 #endif
9411 #ifdef VK_EXT_validation_flags
9412 case VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT:
9413 {
9414 transform_tohost_VkValidationFlagsEXT(resourceTracker, reinterpret_cast<VkValidationFlagsEXT*>(structExtension_out));
9415 break;
9416 }
9417 #endif
9418 #ifdef VK_EXT_conditional_rendering
9419 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT:
9420 {
9421 transform_tohost_VkPhysicalDeviceConditionalRenderingFeaturesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceConditionalRenderingFeaturesEXT*>(structExtension_out));
9422 break;
9423 }
9424 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT:
9425 {
9426 transform_tohost_VkCommandBufferInheritanceConditionalRenderingInfoEXT(resourceTracker, reinterpret_cast<VkCommandBufferInheritanceConditionalRenderingInfoEXT*>(structExtension_out));
9427 break;
9428 }
9429 #endif
9430 #ifdef VK_NV_clip_space_w_scaling
9431 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV:
9432 {
9433 transform_tohost_VkPipelineViewportWScalingStateCreateInfoNV(resourceTracker, reinterpret_cast<VkPipelineViewportWScalingStateCreateInfoNV*>(structExtension_out));
9434 break;
9435 }
9436 #endif
9437 #ifdef VK_EXT_display_control
9438 case VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT:
9439 {
9440 transform_tohost_VkSwapchainCounterCreateInfoEXT(resourceTracker, reinterpret_cast<VkSwapchainCounterCreateInfoEXT*>(structExtension_out));
9441 break;
9442 }
9443 #endif
9444 #ifdef VK_GOOGLE_display_timing
9445 case VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE:
9446 {
9447 transform_tohost_VkPresentTimesInfoGOOGLE(resourceTracker, reinterpret_cast<VkPresentTimesInfoGOOGLE*>(structExtension_out));
9448 break;
9449 }
9450 #endif
9451 #ifdef VK_NVX_multiview_per_view_attributes
9452 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX:
9453 {
9454 transform_tohost_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(resourceTracker, reinterpret_cast<VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX*>(structExtension_out));
9455 break;
9456 }
9457 #endif
9458 #ifdef VK_NV_viewport_swizzle
9459 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV:
9460 {
9461 transform_tohost_VkPipelineViewportSwizzleStateCreateInfoNV(resourceTracker, reinterpret_cast<VkPipelineViewportSwizzleStateCreateInfoNV*>(structExtension_out));
9462 break;
9463 }
9464 #endif
9465 #ifdef VK_EXT_discard_rectangles
9466 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT:
9467 {
9468 transform_tohost_VkPhysicalDeviceDiscardRectanglePropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceDiscardRectanglePropertiesEXT*>(structExtension_out));
9469 break;
9470 }
9471 case VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT:
9472 {
9473 transform_tohost_VkPipelineDiscardRectangleStateCreateInfoEXT(resourceTracker, reinterpret_cast<VkPipelineDiscardRectangleStateCreateInfoEXT*>(structExtension_out));
9474 break;
9475 }
9476 #endif
9477 #ifdef VK_EXT_conservative_rasterization
9478 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT:
9479 {
9480 transform_tohost_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceConservativeRasterizationPropertiesEXT*>(structExtension_out));
9481 break;
9482 }
9483 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT:
9484 {
9485 transform_tohost_VkPipelineRasterizationConservativeStateCreateInfoEXT(resourceTracker, reinterpret_cast<VkPipelineRasterizationConservativeStateCreateInfoEXT*>(structExtension_out));
9486 break;
9487 }
9488 #endif
9489 #ifdef VK_EXT_debug_utils
9490 case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT:
9491 {
9492 transform_tohost_VkDebugUtilsMessengerCreateInfoEXT(resourceTracker, reinterpret_cast<VkDebugUtilsMessengerCreateInfoEXT*>(structExtension_out));
9493 break;
9494 }
9495 #endif
9496 #ifdef VK_ANDROID_external_memory_android_hardware_buffer
9497 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID:
9498 {
9499 transform_tohost_VkAndroidHardwareBufferUsageANDROID(resourceTracker, reinterpret_cast<VkAndroidHardwareBufferUsageANDROID*>(structExtension_out));
9500 break;
9501 }
9502 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID:
9503 {
9504 transform_tohost_VkAndroidHardwareBufferFormatPropertiesANDROID(resourceTracker, reinterpret_cast<VkAndroidHardwareBufferFormatPropertiesANDROID*>(structExtension_out));
9505 break;
9506 }
9507 case VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID:
9508 {
9509 transform_tohost_VkImportAndroidHardwareBufferInfoANDROID(resourceTracker, reinterpret_cast<VkImportAndroidHardwareBufferInfoANDROID*>(structExtension_out));
9510 break;
9511 }
9512 case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID:
9513 {
9514 transform_tohost_VkExternalFormatANDROID(resourceTracker, reinterpret_cast<VkExternalFormatANDROID*>(structExtension_out));
9515 break;
9516 }
9517 #endif
9518 #ifdef VK_EXT_sampler_filter_minmax
9519 case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT:
9520 {
9521 transform_tohost_VkSamplerReductionModeCreateInfoEXT(resourceTracker, reinterpret_cast<VkSamplerReductionModeCreateInfoEXT*>(structExtension_out));
9522 break;
9523 }
9524 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT:
9525 {
9526 transform_tohost_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT*>(structExtension_out));
9527 break;
9528 }
9529 #endif
9530 #ifdef VK_EXT_sample_locations
9531 case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT:
9532 {
9533 transform_tohost_VkSampleLocationsInfoEXT(resourceTracker, reinterpret_cast<VkSampleLocationsInfoEXT*>(structExtension_out));
9534 break;
9535 }
9536 case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT:
9537 {
9538 transform_tohost_VkRenderPassSampleLocationsBeginInfoEXT(resourceTracker, reinterpret_cast<VkRenderPassSampleLocationsBeginInfoEXT*>(structExtension_out));
9539 break;
9540 }
9541 case VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT:
9542 {
9543 transform_tohost_VkPipelineSampleLocationsStateCreateInfoEXT(resourceTracker, reinterpret_cast<VkPipelineSampleLocationsStateCreateInfoEXT*>(structExtension_out));
9544 break;
9545 }
9546 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT:
9547 {
9548 transform_tohost_VkPhysicalDeviceSampleLocationsPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceSampleLocationsPropertiesEXT*>(structExtension_out));
9549 break;
9550 }
9551 #endif
9552 #ifdef VK_EXT_blend_operation_advanced
9553 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT:
9554 {
9555 transform_tohost_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT*>(structExtension_out));
9556 break;
9557 }
9558 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT:
9559 {
9560 transform_tohost_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT*>(structExtension_out));
9561 break;
9562 }
9563 case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT:
9564 {
9565 transform_tohost_VkPipelineColorBlendAdvancedStateCreateInfoEXT(resourceTracker, reinterpret_cast<VkPipelineColorBlendAdvancedStateCreateInfoEXT*>(structExtension_out));
9566 break;
9567 }
9568 #endif
9569 #ifdef VK_NV_fragment_coverage_to_color
9570 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV:
9571 {
9572 transform_tohost_VkPipelineCoverageToColorStateCreateInfoNV(resourceTracker, reinterpret_cast<VkPipelineCoverageToColorStateCreateInfoNV*>(structExtension_out));
9573 break;
9574 }
9575 #endif
9576 #ifdef VK_NV_framebuffer_mixed_samples
9577 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV:
9578 {
9579 transform_tohost_VkPipelineCoverageModulationStateCreateInfoNV(resourceTracker, reinterpret_cast<VkPipelineCoverageModulationStateCreateInfoNV*>(structExtension_out));
9580 break;
9581 }
9582 #endif
9583 #ifdef VK_EXT_validation_cache
9584 case VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT:
9585 {
9586 transform_tohost_VkShaderModuleValidationCacheCreateInfoEXT(resourceTracker, reinterpret_cast<VkShaderModuleValidationCacheCreateInfoEXT*>(structExtension_out));
9587 break;
9588 }
9589 #endif
9590 #ifdef VK_EXT_descriptor_indexing
9591 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT:
9592 {
9593 transform_tohost_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(resourceTracker, reinterpret_cast<VkDescriptorSetLayoutBindingFlagsCreateInfoEXT*>(structExtension_out));
9594 break;
9595 }
9596 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT:
9597 {
9598 transform_tohost_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceDescriptorIndexingFeaturesEXT*>(structExtension_out));
9599 break;
9600 }
9601 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT:
9602 {
9603 transform_tohost_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceDescriptorIndexingPropertiesEXT*>(structExtension_out));
9604 break;
9605 }
9606 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT:
9607 {
9608 transform_tohost_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(resourceTracker, reinterpret_cast<VkDescriptorSetVariableDescriptorCountAllocateInfoEXT*>(structExtension_out));
9609 break;
9610 }
9611 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT:
9612 {
9613 transform_tohost_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(resourceTracker, reinterpret_cast<VkDescriptorSetVariableDescriptorCountLayoutSupportEXT*>(structExtension_out));
9614 break;
9615 }
9616 #endif
9617 #ifdef VK_EXT_global_priority
9618 case VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT:
9619 {
9620 transform_tohost_VkDeviceQueueGlobalPriorityCreateInfoEXT(resourceTracker, reinterpret_cast<VkDeviceQueueGlobalPriorityCreateInfoEXT*>(structExtension_out));
9621 break;
9622 }
9623 #endif
9624 #ifdef VK_EXT_external_memory_host
9625 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT:
9626 {
9627 transform_tohost_VkImportMemoryHostPointerInfoEXT(resourceTracker, reinterpret_cast<VkImportMemoryHostPointerInfoEXT*>(structExtension_out));
9628 break;
9629 }
9630 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT:
9631 {
9632 transform_tohost_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceExternalMemoryHostPropertiesEXT*>(structExtension_out));
9633 break;
9634 }
9635 #endif
9636 #ifdef VK_AMD_shader_core_properties
9637 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD:
9638 {
9639 transform_tohost_VkPhysicalDeviceShaderCorePropertiesAMD(resourceTracker, reinterpret_cast<VkPhysicalDeviceShaderCorePropertiesAMD*>(structExtension_out));
9640 break;
9641 }
9642 #endif
9643 #ifdef VK_EXT_vertex_attribute_divisor
9644 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT:
9645 {
9646 transform_tohost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT*>(structExtension_out));
9647 break;
9648 }
9649 case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT:
9650 {
9651 transform_tohost_VkPipelineVertexInputDivisorStateCreateInfoEXT(resourceTracker, reinterpret_cast<VkPipelineVertexInputDivisorStateCreateInfoEXT*>(structExtension_out));
9652 break;
9653 }
9654 #endif
9655 #ifdef VK_NV_device_diagnostic_checkpoints
9656 case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV:
9657 {
9658 transform_tohost_VkQueueFamilyCheckpointPropertiesNV(resourceTracker, reinterpret_cast<VkQueueFamilyCheckpointPropertiesNV*>(structExtension_out));
9659 break;
9660 }
9661 #endif
9662 #ifdef VK_GOOGLE_color_buffer
9663 case VK_STRUCTURE_TYPE_IMPORT_COLOR_BUFFER_GOOGLE:
9664 {
9665 transform_tohost_VkImportColorBufferGOOGLE(resourceTracker, reinterpret_cast<VkImportColorBufferGOOGLE*>(structExtension_out));
9666 break;
9667 }
9668 case VK_STRUCTURE_TYPE_IMPORT_BUFFER_GOOGLE:
9669 {
9670 transform_tohost_VkImportBufferGOOGLE(resourceTracker, reinterpret_cast<VkImportBufferGOOGLE*>(structExtension_out));
9671 break;
9672 }
9673 case VK_STRUCTURE_TYPE_IMPORT_PHYSICAL_ADDRESS_GOOGLE:
9674 {
9675 transform_tohost_VkImportPhysicalAddressGOOGLE(resourceTracker, reinterpret_cast<VkImportPhysicalAddressGOOGLE*>(structExtension_out));
9676 break;
9677 }
9678 #endif
9679 default:
9680 {
9681 return;
9682 }
9683 }
9684 }
9685
transform_fromhost_extension_struct(ResourceTracker * resourceTracker,void * structExtension_out)9686 void transform_fromhost_extension_struct(
9687 ResourceTracker* resourceTracker,
9688 void* structExtension_out)
9689 {
9690 if (!structExtension_out)
9691 {
9692 return;
9693 }
9694 uint32_t structType = (uint32_t)goldfish_vk_struct_type(structExtension_out);
9695 switch(structType)
9696 {
9697 #ifdef VK_VERSION_1_1
9698 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES:
9699 {
9700 transform_fromhost_VkPhysicalDeviceSubgroupProperties(resourceTracker, reinterpret_cast<VkPhysicalDeviceSubgroupProperties*>(structExtension_out));
9701 break;
9702 }
9703 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES:
9704 {
9705 transform_fromhost_VkPhysicalDevice16BitStorageFeatures(resourceTracker, reinterpret_cast<VkPhysicalDevice16BitStorageFeatures*>(structExtension_out));
9706 break;
9707 }
9708 case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS:
9709 {
9710 transform_fromhost_VkMemoryDedicatedRequirements(resourceTracker, reinterpret_cast<VkMemoryDedicatedRequirements*>(structExtension_out));
9711 break;
9712 }
9713 case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO:
9714 {
9715 transform_fromhost_VkMemoryDedicatedAllocateInfo(resourceTracker, reinterpret_cast<VkMemoryDedicatedAllocateInfo*>(structExtension_out));
9716 break;
9717 }
9718 case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO:
9719 {
9720 transform_fromhost_VkMemoryAllocateFlagsInfo(resourceTracker, reinterpret_cast<VkMemoryAllocateFlagsInfo*>(structExtension_out));
9721 break;
9722 }
9723 case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO:
9724 {
9725 transform_fromhost_VkDeviceGroupRenderPassBeginInfo(resourceTracker, reinterpret_cast<VkDeviceGroupRenderPassBeginInfo*>(structExtension_out));
9726 break;
9727 }
9728 case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO:
9729 {
9730 transform_fromhost_VkDeviceGroupCommandBufferBeginInfo(resourceTracker, reinterpret_cast<VkDeviceGroupCommandBufferBeginInfo*>(structExtension_out));
9731 break;
9732 }
9733 case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO:
9734 {
9735 transform_fromhost_VkDeviceGroupSubmitInfo(resourceTracker, reinterpret_cast<VkDeviceGroupSubmitInfo*>(structExtension_out));
9736 break;
9737 }
9738 case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO:
9739 {
9740 transform_fromhost_VkDeviceGroupBindSparseInfo(resourceTracker, reinterpret_cast<VkDeviceGroupBindSparseInfo*>(structExtension_out));
9741 break;
9742 }
9743 case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO:
9744 {
9745 transform_fromhost_VkBindBufferMemoryDeviceGroupInfo(resourceTracker, reinterpret_cast<VkBindBufferMemoryDeviceGroupInfo*>(structExtension_out));
9746 break;
9747 }
9748 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO:
9749 {
9750 transform_fromhost_VkBindImageMemoryDeviceGroupInfo(resourceTracker, reinterpret_cast<VkBindImageMemoryDeviceGroupInfo*>(structExtension_out));
9751 break;
9752 }
9753 case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO:
9754 {
9755 transform_fromhost_VkDeviceGroupDeviceCreateInfo(resourceTracker, reinterpret_cast<VkDeviceGroupDeviceCreateInfo*>(structExtension_out));
9756 break;
9757 }
9758 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2:
9759 {
9760 transform_fromhost_VkPhysicalDeviceFeatures2(resourceTracker, reinterpret_cast<VkPhysicalDeviceFeatures2*>(structExtension_out));
9761 break;
9762 }
9763 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES:
9764 {
9765 transform_fromhost_VkPhysicalDevicePointClippingProperties(resourceTracker, reinterpret_cast<VkPhysicalDevicePointClippingProperties*>(structExtension_out));
9766 break;
9767 }
9768 case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO:
9769 {
9770 transform_fromhost_VkRenderPassInputAttachmentAspectCreateInfo(resourceTracker, reinterpret_cast<VkRenderPassInputAttachmentAspectCreateInfo*>(structExtension_out));
9771 break;
9772 }
9773 case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO:
9774 {
9775 transform_fromhost_VkImageViewUsageCreateInfo(resourceTracker, reinterpret_cast<VkImageViewUsageCreateInfo*>(structExtension_out));
9776 break;
9777 }
9778 case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO:
9779 {
9780 transform_fromhost_VkPipelineTessellationDomainOriginStateCreateInfo(resourceTracker, reinterpret_cast<VkPipelineTessellationDomainOriginStateCreateInfo*>(structExtension_out));
9781 break;
9782 }
9783 case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO:
9784 {
9785 transform_fromhost_VkRenderPassMultiviewCreateInfo(resourceTracker, reinterpret_cast<VkRenderPassMultiviewCreateInfo*>(structExtension_out));
9786 break;
9787 }
9788 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES:
9789 {
9790 transform_fromhost_VkPhysicalDeviceMultiviewFeatures(resourceTracker, reinterpret_cast<VkPhysicalDeviceMultiviewFeatures*>(structExtension_out));
9791 break;
9792 }
9793 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES:
9794 {
9795 transform_fromhost_VkPhysicalDeviceMultiviewProperties(resourceTracker, reinterpret_cast<VkPhysicalDeviceMultiviewProperties*>(structExtension_out));
9796 break;
9797 }
9798 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES:
9799 {
9800 transform_fromhost_VkPhysicalDeviceVariablePointerFeatures(resourceTracker, reinterpret_cast<VkPhysicalDeviceVariablePointerFeatures*>(structExtension_out));
9801 break;
9802 }
9803 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES:
9804 {
9805 transform_fromhost_VkPhysicalDeviceProtectedMemoryFeatures(resourceTracker, reinterpret_cast<VkPhysicalDeviceProtectedMemoryFeatures*>(structExtension_out));
9806 break;
9807 }
9808 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES:
9809 {
9810 transform_fromhost_VkPhysicalDeviceProtectedMemoryProperties(resourceTracker, reinterpret_cast<VkPhysicalDeviceProtectedMemoryProperties*>(structExtension_out));
9811 break;
9812 }
9813 case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO:
9814 {
9815 transform_fromhost_VkProtectedSubmitInfo(resourceTracker, reinterpret_cast<VkProtectedSubmitInfo*>(structExtension_out));
9816 break;
9817 }
9818 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO:
9819 {
9820 transform_fromhost_VkSamplerYcbcrConversionInfo(resourceTracker, reinterpret_cast<VkSamplerYcbcrConversionInfo*>(structExtension_out));
9821 break;
9822 }
9823 case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO:
9824 {
9825 transform_fromhost_VkBindImagePlaneMemoryInfo(resourceTracker, reinterpret_cast<VkBindImagePlaneMemoryInfo*>(structExtension_out));
9826 break;
9827 }
9828 case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO:
9829 {
9830 transform_fromhost_VkImagePlaneMemoryRequirementsInfo(resourceTracker, reinterpret_cast<VkImagePlaneMemoryRequirementsInfo*>(structExtension_out));
9831 break;
9832 }
9833 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES:
9834 {
9835 transform_fromhost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(resourceTracker, reinterpret_cast<VkPhysicalDeviceSamplerYcbcrConversionFeatures*>(structExtension_out));
9836 break;
9837 }
9838 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES:
9839 {
9840 transform_fromhost_VkSamplerYcbcrConversionImageFormatProperties(resourceTracker, reinterpret_cast<VkSamplerYcbcrConversionImageFormatProperties*>(structExtension_out));
9841 break;
9842 }
9843 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO:
9844 {
9845 resourceTracker->transformImpl_VkPhysicalDeviceExternalImageFormatInfo_fromhost(reinterpret_cast<VkPhysicalDeviceExternalImageFormatInfo*>(structExtension_out), 1);
9846 transform_fromhost_VkPhysicalDeviceExternalImageFormatInfo(resourceTracker, reinterpret_cast<VkPhysicalDeviceExternalImageFormatInfo*>(structExtension_out));
9847 break;
9848 }
9849 case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES:
9850 {
9851 resourceTracker->transformImpl_VkExternalImageFormatProperties_fromhost(reinterpret_cast<VkExternalImageFormatProperties*>(structExtension_out), 1);
9852 transform_fromhost_VkExternalImageFormatProperties(resourceTracker, reinterpret_cast<VkExternalImageFormatProperties*>(structExtension_out));
9853 break;
9854 }
9855 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES:
9856 {
9857 transform_fromhost_VkPhysicalDeviceIDProperties(resourceTracker, reinterpret_cast<VkPhysicalDeviceIDProperties*>(structExtension_out));
9858 break;
9859 }
9860 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO:
9861 {
9862 resourceTracker->transformImpl_VkExternalMemoryImageCreateInfo_fromhost(reinterpret_cast<VkExternalMemoryImageCreateInfo*>(structExtension_out), 1);
9863 transform_fromhost_VkExternalMemoryImageCreateInfo(resourceTracker, reinterpret_cast<VkExternalMemoryImageCreateInfo*>(structExtension_out));
9864 break;
9865 }
9866 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO:
9867 {
9868 resourceTracker->transformImpl_VkExternalMemoryBufferCreateInfo_fromhost(reinterpret_cast<VkExternalMemoryBufferCreateInfo*>(structExtension_out), 1);
9869 transform_fromhost_VkExternalMemoryBufferCreateInfo(resourceTracker, reinterpret_cast<VkExternalMemoryBufferCreateInfo*>(structExtension_out));
9870 break;
9871 }
9872 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO:
9873 {
9874 resourceTracker->transformImpl_VkExportMemoryAllocateInfo_fromhost(reinterpret_cast<VkExportMemoryAllocateInfo*>(structExtension_out), 1);
9875 transform_fromhost_VkExportMemoryAllocateInfo(resourceTracker, reinterpret_cast<VkExportMemoryAllocateInfo*>(structExtension_out));
9876 break;
9877 }
9878 case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO:
9879 {
9880 transform_fromhost_VkExportFenceCreateInfo(resourceTracker, reinterpret_cast<VkExportFenceCreateInfo*>(structExtension_out));
9881 break;
9882 }
9883 case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO:
9884 {
9885 transform_fromhost_VkExportSemaphoreCreateInfo(resourceTracker, reinterpret_cast<VkExportSemaphoreCreateInfo*>(structExtension_out));
9886 break;
9887 }
9888 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES:
9889 {
9890 transform_fromhost_VkPhysicalDeviceMaintenance3Properties(resourceTracker, reinterpret_cast<VkPhysicalDeviceMaintenance3Properties*>(structExtension_out));
9891 break;
9892 }
9893 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES:
9894 {
9895 transform_fromhost_VkPhysicalDeviceShaderDrawParameterFeatures(resourceTracker, reinterpret_cast<VkPhysicalDeviceShaderDrawParameterFeatures*>(structExtension_out));
9896 break;
9897 }
9898 #endif
9899 #ifdef VK_KHR_swapchain
9900 case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR:
9901 {
9902 transform_fromhost_VkImageSwapchainCreateInfoKHR(resourceTracker, reinterpret_cast<VkImageSwapchainCreateInfoKHR*>(structExtension_out));
9903 break;
9904 }
9905 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR:
9906 {
9907 transform_fromhost_VkBindImageMemorySwapchainInfoKHR(resourceTracker, reinterpret_cast<VkBindImageMemorySwapchainInfoKHR*>(structExtension_out));
9908 break;
9909 }
9910 case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR:
9911 {
9912 transform_fromhost_VkDeviceGroupPresentInfoKHR(resourceTracker, reinterpret_cast<VkDeviceGroupPresentInfoKHR*>(structExtension_out));
9913 break;
9914 }
9915 case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR:
9916 {
9917 transform_fromhost_VkDeviceGroupSwapchainCreateInfoKHR(resourceTracker, reinterpret_cast<VkDeviceGroupSwapchainCreateInfoKHR*>(structExtension_out));
9918 break;
9919 }
9920 #endif
9921 #ifdef VK_KHR_display_swapchain
9922 case VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR:
9923 {
9924 transform_fromhost_VkDisplayPresentInfoKHR(resourceTracker, reinterpret_cast<VkDisplayPresentInfoKHR*>(structExtension_out));
9925 break;
9926 }
9927 #endif
9928 #ifdef VK_KHR_external_memory_win32
9929 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR:
9930 {
9931 transform_fromhost_VkImportMemoryWin32HandleInfoKHR(resourceTracker, reinterpret_cast<VkImportMemoryWin32HandleInfoKHR*>(structExtension_out));
9932 break;
9933 }
9934 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR:
9935 {
9936 transform_fromhost_VkExportMemoryWin32HandleInfoKHR(resourceTracker, reinterpret_cast<VkExportMemoryWin32HandleInfoKHR*>(structExtension_out));
9937 break;
9938 }
9939 #endif
9940 #ifdef VK_KHR_external_memory_fd
9941 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR:
9942 {
9943 transform_fromhost_VkImportMemoryFdInfoKHR(resourceTracker, reinterpret_cast<VkImportMemoryFdInfoKHR*>(structExtension_out));
9944 break;
9945 }
9946 #endif
9947 #ifdef VK_KHR_win32_keyed_mutex
9948 case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR:
9949 {
9950 transform_fromhost_VkWin32KeyedMutexAcquireReleaseInfoKHR(resourceTracker, reinterpret_cast<VkWin32KeyedMutexAcquireReleaseInfoKHR*>(structExtension_out));
9951 break;
9952 }
9953 #endif
9954 #ifdef VK_KHR_external_semaphore_win32
9955 case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR:
9956 {
9957 transform_fromhost_VkExportSemaphoreWin32HandleInfoKHR(resourceTracker, reinterpret_cast<VkExportSemaphoreWin32HandleInfoKHR*>(structExtension_out));
9958 break;
9959 }
9960 case VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR:
9961 {
9962 transform_fromhost_VkD3D12FenceSubmitInfoKHR(resourceTracker, reinterpret_cast<VkD3D12FenceSubmitInfoKHR*>(structExtension_out));
9963 break;
9964 }
9965 #endif
9966 #ifdef VK_KHR_push_descriptor
9967 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR:
9968 {
9969 transform_fromhost_VkPhysicalDevicePushDescriptorPropertiesKHR(resourceTracker, reinterpret_cast<VkPhysicalDevicePushDescriptorPropertiesKHR*>(structExtension_out));
9970 break;
9971 }
9972 #endif
9973 #ifdef VK_KHR_incremental_present
9974 case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR:
9975 {
9976 transform_fromhost_VkPresentRegionsKHR(resourceTracker, reinterpret_cast<VkPresentRegionsKHR*>(structExtension_out));
9977 break;
9978 }
9979 #endif
9980 #ifdef VK_KHR_shared_presentable_image
9981 case VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR:
9982 {
9983 transform_fromhost_VkSharedPresentSurfaceCapabilitiesKHR(resourceTracker, reinterpret_cast<VkSharedPresentSurfaceCapabilitiesKHR*>(structExtension_out));
9984 break;
9985 }
9986 #endif
9987 #ifdef VK_KHR_external_fence_win32
9988 case VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR:
9989 {
9990 transform_fromhost_VkExportFenceWin32HandleInfoKHR(resourceTracker, reinterpret_cast<VkExportFenceWin32HandleInfoKHR*>(structExtension_out));
9991 break;
9992 }
9993 #endif
9994 #ifdef VK_KHR_image_format_list
9995 case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR:
9996 {
9997 transform_fromhost_VkImageFormatListCreateInfoKHR(resourceTracker, reinterpret_cast<VkImageFormatListCreateInfoKHR*>(structExtension_out));
9998 break;
9999 }
10000 #endif
10001 #ifdef VK_KHR_8bit_storage
10002 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR:
10003 {
10004 transform_fromhost_VkPhysicalDevice8BitStorageFeaturesKHR(resourceTracker, reinterpret_cast<VkPhysicalDevice8BitStorageFeaturesKHR*>(structExtension_out));
10005 break;
10006 }
10007 #endif
10008 #ifdef VK_KHR_shader_float16_int8
10009 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES:
10010 {
10011 transform_fromhost_VkPhysicalDeviceShaderFloat16Int8Features(resourceTracker, reinterpret_cast<VkPhysicalDeviceShaderFloat16Int8Features*>(structExtension_out));
10012 break;
10013 }
10014 #endif
10015 #ifdef VK_ANDROID_native_buffer
10016 case VK_STRUCTURE_TYPE_NATIVE_BUFFER_ANDROID:
10017 {
10018 transform_fromhost_VkNativeBufferANDROID(resourceTracker, reinterpret_cast<VkNativeBufferANDROID*>(structExtension_out));
10019 break;
10020 }
10021 #endif
10022 #ifdef VK_EXT_debug_report
10023 case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT:
10024 {
10025 transform_fromhost_VkDebugReportCallbackCreateInfoEXT(resourceTracker, reinterpret_cast<VkDebugReportCallbackCreateInfoEXT*>(structExtension_out));
10026 break;
10027 }
10028 #endif
10029 #ifdef VK_AMD_rasterization_order
10030 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD:
10031 {
10032 transform_fromhost_VkPipelineRasterizationStateRasterizationOrderAMD(resourceTracker, reinterpret_cast<VkPipelineRasterizationStateRasterizationOrderAMD*>(structExtension_out));
10033 break;
10034 }
10035 #endif
10036 #ifdef VK_NV_dedicated_allocation
10037 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV:
10038 {
10039 transform_fromhost_VkDedicatedAllocationImageCreateInfoNV(resourceTracker, reinterpret_cast<VkDedicatedAllocationImageCreateInfoNV*>(structExtension_out));
10040 break;
10041 }
10042 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV:
10043 {
10044 transform_fromhost_VkDedicatedAllocationBufferCreateInfoNV(resourceTracker, reinterpret_cast<VkDedicatedAllocationBufferCreateInfoNV*>(structExtension_out));
10045 break;
10046 }
10047 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV:
10048 {
10049 transform_fromhost_VkDedicatedAllocationMemoryAllocateInfoNV(resourceTracker, reinterpret_cast<VkDedicatedAllocationMemoryAllocateInfoNV*>(structExtension_out));
10050 break;
10051 }
10052 #endif
10053 #ifdef VK_AMD_texture_gather_bias_lod
10054 case VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD:
10055 {
10056 transform_fromhost_VkTextureLODGatherFormatPropertiesAMD(resourceTracker, reinterpret_cast<VkTextureLODGatherFormatPropertiesAMD*>(structExtension_out));
10057 break;
10058 }
10059 #endif
10060 #ifdef VK_NV_external_memory
10061 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV:
10062 {
10063 transform_fromhost_VkExternalMemoryImageCreateInfoNV(resourceTracker, reinterpret_cast<VkExternalMemoryImageCreateInfoNV*>(structExtension_out));
10064 break;
10065 }
10066 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV:
10067 {
10068 transform_fromhost_VkExportMemoryAllocateInfoNV(resourceTracker, reinterpret_cast<VkExportMemoryAllocateInfoNV*>(structExtension_out));
10069 break;
10070 }
10071 #endif
10072 #ifdef VK_NV_external_memory_win32
10073 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV:
10074 {
10075 transform_fromhost_VkImportMemoryWin32HandleInfoNV(resourceTracker, reinterpret_cast<VkImportMemoryWin32HandleInfoNV*>(structExtension_out));
10076 break;
10077 }
10078 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV:
10079 {
10080 transform_fromhost_VkExportMemoryWin32HandleInfoNV(resourceTracker, reinterpret_cast<VkExportMemoryWin32HandleInfoNV*>(structExtension_out));
10081 break;
10082 }
10083 #endif
10084 #ifdef VK_NV_win32_keyed_mutex
10085 case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV:
10086 {
10087 transform_fromhost_VkWin32KeyedMutexAcquireReleaseInfoNV(resourceTracker, reinterpret_cast<VkWin32KeyedMutexAcquireReleaseInfoNV*>(structExtension_out));
10088 break;
10089 }
10090 #endif
10091 #ifdef VK_EXT_validation_flags
10092 case VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT:
10093 {
10094 transform_fromhost_VkValidationFlagsEXT(resourceTracker, reinterpret_cast<VkValidationFlagsEXT*>(structExtension_out));
10095 break;
10096 }
10097 #endif
10098 #ifdef VK_EXT_conditional_rendering
10099 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT:
10100 {
10101 transform_fromhost_VkPhysicalDeviceConditionalRenderingFeaturesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceConditionalRenderingFeaturesEXT*>(structExtension_out));
10102 break;
10103 }
10104 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT:
10105 {
10106 transform_fromhost_VkCommandBufferInheritanceConditionalRenderingInfoEXT(resourceTracker, reinterpret_cast<VkCommandBufferInheritanceConditionalRenderingInfoEXT*>(structExtension_out));
10107 break;
10108 }
10109 #endif
10110 #ifdef VK_NV_clip_space_w_scaling
10111 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV:
10112 {
10113 transform_fromhost_VkPipelineViewportWScalingStateCreateInfoNV(resourceTracker, reinterpret_cast<VkPipelineViewportWScalingStateCreateInfoNV*>(structExtension_out));
10114 break;
10115 }
10116 #endif
10117 #ifdef VK_EXT_display_control
10118 case VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT:
10119 {
10120 transform_fromhost_VkSwapchainCounterCreateInfoEXT(resourceTracker, reinterpret_cast<VkSwapchainCounterCreateInfoEXT*>(structExtension_out));
10121 break;
10122 }
10123 #endif
10124 #ifdef VK_GOOGLE_display_timing
10125 case VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE:
10126 {
10127 transform_fromhost_VkPresentTimesInfoGOOGLE(resourceTracker, reinterpret_cast<VkPresentTimesInfoGOOGLE*>(structExtension_out));
10128 break;
10129 }
10130 #endif
10131 #ifdef VK_NVX_multiview_per_view_attributes
10132 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX:
10133 {
10134 transform_fromhost_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(resourceTracker, reinterpret_cast<VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX*>(structExtension_out));
10135 break;
10136 }
10137 #endif
10138 #ifdef VK_NV_viewport_swizzle
10139 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV:
10140 {
10141 transform_fromhost_VkPipelineViewportSwizzleStateCreateInfoNV(resourceTracker, reinterpret_cast<VkPipelineViewportSwizzleStateCreateInfoNV*>(structExtension_out));
10142 break;
10143 }
10144 #endif
10145 #ifdef VK_EXT_discard_rectangles
10146 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT:
10147 {
10148 transform_fromhost_VkPhysicalDeviceDiscardRectanglePropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceDiscardRectanglePropertiesEXT*>(structExtension_out));
10149 break;
10150 }
10151 case VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT:
10152 {
10153 transform_fromhost_VkPipelineDiscardRectangleStateCreateInfoEXT(resourceTracker, reinterpret_cast<VkPipelineDiscardRectangleStateCreateInfoEXT*>(structExtension_out));
10154 break;
10155 }
10156 #endif
10157 #ifdef VK_EXT_conservative_rasterization
10158 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT:
10159 {
10160 transform_fromhost_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceConservativeRasterizationPropertiesEXT*>(structExtension_out));
10161 break;
10162 }
10163 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT:
10164 {
10165 transform_fromhost_VkPipelineRasterizationConservativeStateCreateInfoEXT(resourceTracker, reinterpret_cast<VkPipelineRasterizationConservativeStateCreateInfoEXT*>(structExtension_out));
10166 break;
10167 }
10168 #endif
10169 #ifdef VK_EXT_debug_utils
10170 case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT:
10171 {
10172 transform_fromhost_VkDebugUtilsMessengerCreateInfoEXT(resourceTracker, reinterpret_cast<VkDebugUtilsMessengerCreateInfoEXT*>(structExtension_out));
10173 break;
10174 }
10175 #endif
10176 #ifdef VK_ANDROID_external_memory_android_hardware_buffer
10177 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID:
10178 {
10179 transform_fromhost_VkAndroidHardwareBufferUsageANDROID(resourceTracker, reinterpret_cast<VkAndroidHardwareBufferUsageANDROID*>(structExtension_out));
10180 break;
10181 }
10182 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID:
10183 {
10184 transform_fromhost_VkAndroidHardwareBufferFormatPropertiesANDROID(resourceTracker, reinterpret_cast<VkAndroidHardwareBufferFormatPropertiesANDROID*>(structExtension_out));
10185 break;
10186 }
10187 case VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID:
10188 {
10189 transform_fromhost_VkImportAndroidHardwareBufferInfoANDROID(resourceTracker, reinterpret_cast<VkImportAndroidHardwareBufferInfoANDROID*>(structExtension_out));
10190 break;
10191 }
10192 case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID:
10193 {
10194 transform_fromhost_VkExternalFormatANDROID(resourceTracker, reinterpret_cast<VkExternalFormatANDROID*>(structExtension_out));
10195 break;
10196 }
10197 #endif
10198 #ifdef VK_EXT_sampler_filter_minmax
10199 case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT:
10200 {
10201 transform_fromhost_VkSamplerReductionModeCreateInfoEXT(resourceTracker, reinterpret_cast<VkSamplerReductionModeCreateInfoEXT*>(structExtension_out));
10202 break;
10203 }
10204 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT:
10205 {
10206 transform_fromhost_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT*>(structExtension_out));
10207 break;
10208 }
10209 #endif
10210 #ifdef VK_EXT_sample_locations
10211 case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT:
10212 {
10213 transform_fromhost_VkSampleLocationsInfoEXT(resourceTracker, reinterpret_cast<VkSampleLocationsInfoEXT*>(structExtension_out));
10214 break;
10215 }
10216 case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT:
10217 {
10218 transform_fromhost_VkRenderPassSampleLocationsBeginInfoEXT(resourceTracker, reinterpret_cast<VkRenderPassSampleLocationsBeginInfoEXT*>(structExtension_out));
10219 break;
10220 }
10221 case VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT:
10222 {
10223 transform_fromhost_VkPipelineSampleLocationsStateCreateInfoEXT(resourceTracker, reinterpret_cast<VkPipelineSampleLocationsStateCreateInfoEXT*>(structExtension_out));
10224 break;
10225 }
10226 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT:
10227 {
10228 transform_fromhost_VkPhysicalDeviceSampleLocationsPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceSampleLocationsPropertiesEXT*>(structExtension_out));
10229 break;
10230 }
10231 #endif
10232 #ifdef VK_EXT_blend_operation_advanced
10233 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT:
10234 {
10235 transform_fromhost_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT*>(structExtension_out));
10236 break;
10237 }
10238 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT:
10239 {
10240 transform_fromhost_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT*>(structExtension_out));
10241 break;
10242 }
10243 case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT:
10244 {
10245 transform_fromhost_VkPipelineColorBlendAdvancedStateCreateInfoEXT(resourceTracker, reinterpret_cast<VkPipelineColorBlendAdvancedStateCreateInfoEXT*>(structExtension_out));
10246 break;
10247 }
10248 #endif
10249 #ifdef VK_NV_fragment_coverage_to_color
10250 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV:
10251 {
10252 transform_fromhost_VkPipelineCoverageToColorStateCreateInfoNV(resourceTracker, reinterpret_cast<VkPipelineCoverageToColorStateCreateInfoNV*>(structExtension_out));
10253 break;
10254 }
10255 #endif
10256 #ifdef VK_NV_framebuffer_mixed_samples
10257 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV:
10258 {
10259 transform_fromhost_VkPipelineCoverageModulationStateCreateInfoNV(resourceTracker, reinterpret_cast<VkPipelineCoverageModulationStateCreateInfoNV*>(structExtension_out));
10260 break;
10261 }
10262 #endif
10263 #ifdef VK_EXT_validation_cache
10264 case VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT:
10265 {
10266 transform_fromhost_VkShaderModuleValidationCacheCreateInfoEXT(resourceTracker, reinterpret_cast<VkShaderModuleValidationCacheCreateInfoEXT*>(structExtension_out));
10267 break;
10268 }
10269 #endif
10270 #ifdef VK_EXT_descriptor_indexing
10271 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT:
10272 {
10273 transform_fromhost_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(resourceTracker, reinterpret_cast<VkDescriptorSetLayoutBindingFlagsCreateInfoEXT*>(structExtension_out));
10274 break;
10275 }
10276 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT:
10277 {
10278 transform_fromhost_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceDescriptorIndexingFeaturesEXT*>(structExtension_out));
10279 break;
10280 }
10281 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT:
10282 {
10283 transform_fromhost_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceDescriptorIndexingPropertiesEXT*>(structExtension_out));
10284 break;
10285 }
10286 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT:
10287 {
10288 transform_fromhost_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(resourceTracker, reinterpret_cast<VkDescriptorSetVariableDescriptorCountAllocateInfoEXT*>(structExtension_out));
10289 break;
10290 }
10291 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT:
10292 {
10293 transform_fromhost_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(resourceTracker, reinterpret_cast<VkDescriptorSetVariableDescriptorCountLayoutSupportEXT*>(structExtension_out));
10294 break;
10295 }
10296 #endif
10297 #ifdef VK_EXT_global_priority
10298 case VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT:
10299 {
10300 transform_fromhost_VkDeviceQueueGlobalPriorityCreateInfoEXT(resourceTracker, reinterpret_cast<VkDeviceQueueGlobalPriorityCreateInfoEXT*>(structExtension_out));
10301 break;
10302 }
10303 #endif
10304 #ifdef VK_EXT_external_memory_host
10305 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT:
10306 {
10307 transform_fromhost_VkImportMemoryHostPointerInfoEXT(resourceTracker, reinterpret_cast<VkImportMemoryHostPointerInfoEXT*>(structExtension_out));
10308 break;
10309 }
10310 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT:
10311 {
10312 transform_fromhost_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceExternalMemoryHostPropertiesEXT*>(structExtension_out));
10313 break;
10314 }
10315 #endif
10316 #ifdef VK_AMD_shader_core_properties
10317 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD:
10318 {
10319 transform_fromhost_VkPhysicalDeviceShaderCorePropertiesAMD(resourceTracker, reinterpret_cast<VkPhysicalDeviceShaderCorePropertiesAMD*>(structExtension_out));
10320 break;
10321 }
10322 #endif
10323 #ifdef VK_EXT_vertex_attribute_divisor
10324 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT:
10325 {
10326 transform_fromhost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(resourceTracker, reinterpret_cast<VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT*>(structExtension_out));
10327 break;
10328 }
10329 case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT:
10330 {
10331 transform_fromhost_VkPipelineVertexInputDivisorStateCreateInfoEXT(resourceTracker, reinterpret_cast<VkPipelineVertexInputDivisorStateCreateInfoEXT*>(structExtension_out));
10332 break;
10333 }
10334 #endif
10335 #ifdef VK_NV_device_diagnostic_checkpoints
10336 case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV:
10337 {
10338 transform_fromhost_VkQueueFamilyCheckpointPropertiesNV(resourceTracker, reinterpret_cast<VkQueueFamilyCheckpointPropertiesNV*>(structExtension_out));
10339 break;
10340 }
10341 #endif
10342 #ifdef VK_GOOGLE_color_buffer
10343 case VK_STRUCTURE_TYPE_IMPORT_COLOR_BUFFER_GOOGLE:
10344 {
10345 transform_fromhost_VkImportColorBufferGOOGLE(resourceTracker, reinterpret_cast<VkImportColorBufferGOOGLE*>(structExtension_out));
10346 break;
10347 }
10348 case VK_STRUCTURE_TYPE_IMPORT_BUFFER_GOOGLE:
10349 {
10350 transform_fromhost_VkImportBufferGOOGLE(resourceTracker, reinterpret_cast<VkImportBufferGOOGLE*>(structExtension_out));
10351 break;
10352 }
10353 case VK_STRUCTURE_TYPE_IMPORT_PHYSICAL_ADDRESS_GOOGLE:
10354 {
10355 transform_fromhost_VkImportPhysicalAddressGOOGLE(resourceTracker, reinterpret_cast<VkImportPhysicalAddressGOOGLE*>(structExtension_out));
10356 break;
10357 }
10358 #endif
10359 default:
10360 {
10361 return;
10362 }
10363 }
10364 }
10365
10366
10367 } // namespace goldfish_vk
10368